Daily updates from Odoo
Wednesday, May 5, 2021
1 change · master
Enhancements to existing features
When a field service task is marked as done, consumable materials added to the task are now counted as delivered even when Inventory is not installed. This helps ensure invoices can be created correctly and avoids confusion or blocked billing for completed work.
Original PR description
Before this commit, when the Inventory app is installed, the DO linked to the SO is automatically validated once the task is marked as done. However, when this app is not installed and some materials are added to the task, these materials are not automatically delivered once the task is marked as done and thus cannot be invoiced. This is frustrating because it can block the creation of the invoice, and it also gives the impression that the invoice was not correctly created. This commit updates the delivered quantity of the consumables added to the task when this task is marked as done. task-2501713