diff options
| author | jem-odoo <jem@openerp.com> | 2018-01-30 09:20:41 +0100 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-01-30 09:20:41 +0100 |
| commit | 8f94e542e319cf818abc74aa579fc171c60c7ef0 (patch) | |
| tree | cb6153bc38178491d73f53288a36f52848475491 /addons/web/static/src/less | |
| parent | 2f7593761c1ea432e2e58045150150356816f868 (diff) | |
| parent | 5b42cf64b3fc5ae05791156d99d8a3a1efad15d4 (diff) | |
[MERGE] sale,sale_*: computation of delivered quantity on sale line
This commit refactors the computation of the delivered quantity
on sale order line, using a computed field and a manual field.
This quantity is automatically computed when using stock moves,
timsheet or expenses (through analytic line).
This simplify code, avoid having trigger in `create` and `write`
method of many models, ...
Once this big clean done, we wanted to go futher and clean the
reinvoice flow for analytic line (vendor bills and hr expenses)
by :
- using the reinvoice policy has it should be
- flagging sale order line generated from expenses
- clarify 'reinvoice policy' and 'can be expensed' fields usage
- erase some usability issues (with onchanges and views reoganization)
This commit also add tests suites for reinvoice flow, and
delivered quantity computation.
See sub commits for more details.
Thanks @rco-odoo for the onchange fix, and @tde-banana-odoo for its
review.
Task 40226
Diffstat (limited to 'addons/web/static/src/less')
0 files changed, 0 insertions, 0 deletions
