-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
[16.0][MIG] contract_sale #949
Conversation
8b59103
to
c3cd14a
Compare
@CRogos reduce commits from OCA bots: https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate And check the migration guide: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0 |
c3cd14a
to
a316d7c
Compare
@JesusValdez96 could give a short comment if this is the right way or what could be improved (next time)? |
* README by fragments * Adjusted dependency * Changed root menu XML-ID
[REF] Contract Sale: update translations
The lowest model access for contract.contract model is group_account_invoice group. However the addon adds two smart buttons to res.partner view without any security restrictions and without compute_sudo attribute on computed fields. This causes the view to crash when a user without the proper permissions tries to access the res.partner form view. The solution adds groups_id to the partner form views in which the buttons are added, so the only loads when the user has proper permissions. Other way to solve it would be to add compute_sudo attribute to the relevant fields, but this causes an access error when the user clicks on the smart buttons.
Currently translated at 100.0% (1 of 1 strings) Translation: contract-12.0/contract-12.0-contract_sale Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_sale/es_CL/
…ce: from contract_sale to contract
a316d7c
to
159e7c5
Compare
@CRogos LGTM could you announce this PR in Migration to version 16.0? |
LGTM |
/ocabot migration contract_sale |
@JesusValdez96 would you add a review approval? |
This PR has the |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 31cc423. Thanks a lot for contributing to OCA. ❤️ |
Migration using oca-port tool
replacing #915