Commit Graph

14 Commits

Author SHA1 Message Date
fkantelberg
54353c07a1 [16.0] contract: Show discount lines for users with the group 'Discount on lines' 2024-04-15 12:24:25 -04:00
Christopher Rogos
54356a93a0 [FIX] Update sale menu sequence and remove auto install 2024-04-15 12:24:25 -04:00
Christopher Rogos
404837cfda [MIG] contract_sale: Migration to 16.0 2024-04-15 12:24:25 -04:00
Víctor Martínez
b07ea498e9 [MIG] contract_sale: Migration to 13.0 2024-04-15 09:03:38 -04:00
Víctor Martínez
7a40a32b1a [IMP] contract_sale: black, isort, prettier 2024-04-15 09:03:38 -04:00
Ernesto Tejeda
1af44d5538 [IMP] contract: add section and notes in contract line 2024-04-15 09:03:38 -04:00
Enrique
be5eb15094 [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.
2024-04-15 09:03:38 -04:00
sbejaoui
56338c1031 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2024-04-15 09:03:38 -04:00
Thomas Binsfeld
b6c15d5f1b [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2024-04-15 09:03:38 -04:00
sbejaoui
1bf680aec3 [IMP] - Adapt contract sale to contract new views 2024-04-15 09:03:38 -04:00
sbejaoui
515fa5f788 [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2024-04-15 09:03:38 -04:00
Pedro M. Baeza
c54a40401a [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2024-04-15 09:03:38 -04:00
Levent Karakaş
bdc2ae13ca [MIG] contract_sale: Migration to 11.0 2024-04-15 09:03:38 -04:00
Luis M. Ontalba
2c25851964 [ADD] contract_sale (#104) 2024-04-15 09:03:38 -04:00