Skip to content

[FIX]account_ux: Change currency button also visible for invoicing user#500

Open
TotoFrakenz wants to merge 1 commit into
ingadhoc:15.0from
bmya:15.0-fix-change-currency-visible-for-group-account-invoice
Open

[FIX]account_ux: Change currency button also visible for invoicing user#500
TotoFrakenz wants to merge 1 commit into
ingadhoc:15.0from
bmya:15.0-fix-change-currency-visible-for-group-account-invoice

Conversation

@TotoFrakenz

Copy link
Copy Markdown

Before this commit, users belonging to account.group_account_invoice could not see the change currency button because they didn't have permission to view the div where it was defined, and instead would be able to see the invoice's currency_id field lower in the form, where the button was not added.

This commit defines the button twice and shows one of them to the user depending on their group permissions.

The addressed changes were introduced in
odoo/odoo@afde2bd

Before this commit, users belonging to account.group_account_invoice could
not see the change currency button because they didn't have permission to
view the div where it was defined, and instead would be able to see the
invoice's currency_id field lower in the form, where the button was not added.

This commit defines the button twice and shows one of them to the user
depending on their group permissions.

The addressed changes were introduced in
odoo/odoo@afde2bd
@roboadhoc

Copy link
Copy Markdown
Contributor

@TotoFrakenz

Copy link
Copy Markdown
Author

No sabía si cambiar el número de la versión en el manifest así que no lo hice. Díganme si es preferible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants