Daily updates from Odoo
Wednesday, May 5, 2021
2 changes
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
This update adds broader automated JavaScript checks across several Odoo apps and corrects issues such as undeclared variables. It helps reduce future errors during development without changing day-to-day user workflows.
Original PR description
[IMP] *: configuration of ESLint for specific files This commit will add the needed ESLint configurations on the JS files. These configurations are added if the JS file uses a different environment (serviceworker, node, etc) or if it uses a specific global (google, ace, etc). ------------------------- [FIX] *: undeclared variables and restricted globals