Commit Graph

11 Commits

Author SHA1 Message Date
Víctor Martínez
9c3e8a700d [MIG] contract_sale: Migration to 13.0 2022-01-24 13:45:33 +01:00
Víctor Martínez
b7e18494f9 [IMP] contract_sale: black, isort, prettier 2022-01-24 13:45:33 +01:00
Ernesto Tejeda
d06069a2d9 [IMP] contract: add section and notes in contract line 2022-01-24 13:45:33 +01:00
Enrique
1b4e622dac [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.
2022-01-24 13:45:33 +01:00
sbejaoui
e0199ee1f5 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2022-01-24 13:45:33 +01:00
Thomas Binsfeld
fd77179c2e [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2022-01-24 13:45:33 +01:00
sbejaoui
0969b1c4c2 [IMP] - Adapt contract sale to contract new views 2022-01-24 13:45:33 +01:00
sbejaoui
630bfc10cf [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2022-01-24 13:45:33 +01:00
Pedro M. Baeza
c9d76a277e [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2022-01-24 13:45:33 +01:00
Levent Karakaş
e473d67ede [MIG] contract_sale: Migration to 11.0 2022-01-24 13:45:33 +01:00
Luis M. Ontalba
dbcac23b20 [ADD] contract_sale (#104) 2022-01-24 13:45:33 +01:00