Enrique 06573dcc95 [12.0][FIX] contract & contract_sale - security fix
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.
2021-04-05 17:04:59 +05:30
2021-04-05 07:04:53 +00:00
2021-04-05 07:04:38 +00:00
2021-04-05 07:04:38 +00:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-11-01 21:45:52 +01:00
2020-12-11 19:36:37 +01:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2021-04-05 07:04:37 +00:00

Runbot Status Build Status codecov Translation Status

contract

TODO: add repo description.

Available addons

addon version summary
agreement 14.0.1.0.0 Adds an agreement object
contract 14.0.1.0.0 Recurring - Contracts Management

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
No description provided
Readme 66 MiB
Languages
Python 60.4%
HTML 39%
JavaScript 0.4%
SCSS 0.2%