Commit Graph

11 Commits

Author SHA1 Message Date
OCA-git-bot
ea1bcdef75 contract_sale 12.0.3.0.0 2020-04-14 12:24:43 +00:00
OCA-git-bot
6603422c08 contract_sale 12.0.2.1.0 2019-10-10 08:05:31 +00:00
Enrique
87600e18bb [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.
2019-10-09 17:03:51 +02:00
Thomas Binsfeld
24f57be03d [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2019-09-14 14:34:02 +02:00
sbejaoui
494892f6b1 [FIX] - default value for active field in contract line
[FIX] - fix flake8
2019-09-14 14:34:02 +02:00
sbejaoui
e9daa5b781 [IMP] - Adapt contract sale to contract new views 2019-09-14 14:34:02 +02:00
sbejaoui
9e89c533bd [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2018-10-29 16:21:05 +01:00
sbejaoui
0703396913 [MIG] contract_sale: Migration to 12.0 2018-10-29 16:21:05 +01:00
Pedro M. Baeza
cf6acee0e6 [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2018-10-29 16:21:05 +01:00
Levent Karakaş
a68da92683 [MIG] contract_sale: Migration to 11.0 2018-10-29 16:21:05 +01:00
Luis M. Ontalba
82868def34 [ADD] contract_sale (#104) 2018-10-29 16:21:05 +01:00