Commit Graph

14 Commits

Author SHA1 Message Date
OCA-git-bot
92ee41c202 contract_sale 13.0.1.1.0 2021-10-14 21:05:44 +00:00
Víctor Martínez
eb3ec25699 [MIG] contract_sale: Migration to 13.0 2020-10-26 08:49:47 +01:00
Víctor Martínez
f46d12f4a7 [IMP] contract_sale: black, isort, prettier 2020-10-26 08:06:58 +01:00
OCA-git-bot
7887ef6416 contract_sale 12.0.3.0.0 2020-10-26 08:06:58 +01:00
OCA-git-bot
7f13bc7dca contract_sale 12.0.2.1.0 2020-10-26 08:06:58 +01:00
Enrique
c70ac46216 [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.
2020-10-26 08:06:58 +01:00
Thomas Binsfeld
3d4f28aa2d [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2020-10-26 08:06:58 +01:00
sbejaoui
cc1dcdd451 [FIX] - default value for active field in contract line
[FIX] - fix flake8
2020-10-26 08:06:58 +01:00
sbejaoui
47d44355df [IMP] - Adapt contract sale to contract new views 2020-10-26 08:06:58 +01:00
sbejaoui
acd4cfb602 [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2020-10-26 08:06:58 +01:00
sbejaoui
5c06d73c9f [MIG] contract_sale: Migration to 12.0 2020-10-26 08:06:58 +01:00
Pedro M. Baeza
35030ffad0 [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2020-10-26 08:06:58 +01:00
Levent Karakaş
c8f1a86985 [MIG] contract_sale: Migration to 11.0 2020-10-26 08:06:58 +01:00
Luis M. Ontalba
00dcb98735 [ADD] contract_sale (#104) 2020-10-26 08:06:58 +01:00