Commit Graph

11 Commits

Author SHA1 Message Date
Víctor Martínez
fc3f358f18 [MIG] contract_sale: Migration to 13.0 2021-04-05 17:04:59 +05:30
Víctor Martínez
0e178e28f8 [IMP] contract_sale: black, isort, prettier 2021-04-05 17:04:59 +05:30
Ernesto Tejeda
dc344b0635 [IMP] contract: add section and notes in contract line 2021-04-05 17:04:59 +05:30
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
sbejaoui
a8d674d2c6 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2021-04-05 17:04:59 +05:30
Thomas Binsfeld
1511959bc7 [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2021-04-05 17:04:59 +05:30
sbejaoui
8e4eb91f63 [IMP] - Adapt contract sale to contract new views 2021-04-05 17:04:59 +05:30
sbejaoui
824be699a7 [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2021-04-05 17:04:59 +05:30
Pedro M. Baeza
2cd5ec5c49 [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2021-04-05 17:04:59 +05:30
Levent Karakaş
2bf54d83ec [MIG] contract_sale: Migration to 11.0 2021-04-05 17:04:59 +05:30
Luis M. Ontalba
c20981cc67 [ADD] contract_sale (#104) 2021-04-05 17:04:59 +05:30