mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
932d2abf8d939a36934d38b2510a6a61c0fecfb6
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.
Contracts
Odoo Contracts are special types of Analytic Accounts. This repository provides features extending Contracts.
Dependencies on Project features should not be required. For Project related extensions please see the OCA/Project repository.
Translation Status
Description
Languages
Python
60.4%
HTML
39%
JavaScript
0.4%
SCSS
0.2%