mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
caa5cae7d726ee1ef66851737b6577517a79a854
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.
contract
TODO: add repo description.
Available addons
| addon | version | summary |
|---|---|---|
| agreement | 14.0.1.0.0 | Adds an agreement object |
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to OCA
policy. Consult each module's __manifest__.py file, which contains a license key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Description
Languages
Python
60.4%
HTML
39%
JavaScript
0.4%
SCSS
0.2%