Skip to content

Syncing from upstream OCA/contract (19.0) - #1003

Merged
bt-admin merged 51 commits into
brain-tec:19.0from
OCA:19.0
Jul 7, 2026
Merged

Syncing from upstream OCA/contract (19.0)#1003
bt-admin merged 51 commits into
brain-tec:19.0from
OCA:19.0

Conversation

@bt-admin

@bt-admin bt-admin commented Jul 7, 2026

Copy link
Copy Markdown

bt_gitbot

Luis M. Ontalba and others added 30 commits May 29, 2026 15:01
* 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/
[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_sale/
@bt-admin bt-admin added the 19.0 label Jul 7, 2026
@bt-admin
bt-admin merged commit b7a4ad3 into brain-tec:19.0 Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.