[FIX] sale_timesheet: default_service_policy not working in product form
Before this commit: - There is a bug in odoo enterprise. project.project form view > invoicing notebook > services created using create and edit should be configured by default with an 'invoicing policy' set to 'based on timesheets'. Technically, while we're using 'default_service_policy' with the right value, we're getting a different value in the form. After this commit: - The bug is fixed. closes odoo/odoo#134423 X-original-commit: f6869bf2 Signed-off-by:Xavier Bol (xbo) <xbo@odoo.com>
Showing
- addons/sale_project/models/product.py 6 additions, 0 deletionsaddons/sale_project/models/product.py
- addons/sale_timesheet/models/product.py 1 addition, 1 deletionaddons/sale_timesheet/models/product.py
- addons/sale_timesheet/tests/test_project.py 5 additions, 1 deletionaddons/sale_timesheet/tests/test_project.py
Please register or sign in to comment