diff options
| author | jem-odoo <jem@openerp.com> | 2018-07-04 11:32:24 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-08-02 16:12:39 +0200 |
| commit | 46b578784cedccfb5db4d4d69377bd0e3ca4fe01 (patch) | |
| tree | 226c6f9633501a0d9dee20f1e7d2a0128f86d353 /addons/web/static/src/xml/base.xml | |
| parent | 9429a0683d30464748c70652a2551e26f359787d (diff) | |
[IMP] sale_timesheet: invoicing timesheets
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
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
