46b578784cedccfb5db4d4d69377bd0e3ca4fe01
This commit changes the way timesheet are invoiced. An invoiced timesheet is a timesheet line linked to a invoiced (timesheet_invoice_id set). This happens when the sale order line linked to several timesheets is invoiced, but only for the line based on 'delivered quantity' policy. Those timesheets will be linked to the new created invoice. Those timesheets can not be changed as they are considered as invoiced to the customer: quantity, project, SO line, ... are freezed. Those timesheets are now marked as invoiced at the invoice creation, and not at the invoice validation, like before. This only concerned Customer Invoice (and not Vendor Bills, Credit Note, ....). For timesheets linked to a SO line based on 'ordered quantity', they can be modified as their purpose is only to track the time spend on the SO line, and it does not impact the amount or the quantities invoiced to the customer. The timesheet linked to milestone sale line can be modified too, they are now linked to invoiced, as their is goal purely time tracking (as the delivered quantity is manually change on SO line). This commit also adapt the tests accordingly. Task #1857652
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%