Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from

Conversation

jmo-bmya
Copy link

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

@jmo-bmya
Copy link
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