Skip to content

Conversation

@TotoFrakenz
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

@TotoFrakenz
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