diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-06-06 17:52:22 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-06-06 17:56:13 +0200 |
| commit | 1d1debf6ae521d766bec10792d50b4835c0f479f (patch) | |
| tree | 05300a1a32621d7e755d1e332ccedc3baf6693dc /addons/web/static/src/js/framework/session_instance.js | |
| parent | fc8d96d2cb1fb2f8debaf53e5f6d29ab3489cf6e (diff) | |
[FIX] purchase: exclude cancelled invoice for billed qty
The billed quantity field on the purchase order line
must exclude the cancelled invoice, as a cancelled invoice
is not considered as invoiced.
`draft` could be considered as well, but we do not
take the chance now, as this field is used
when creating a new invoice, to determine the
quantity to invoice. Therefore, if there are
draft invoices with some quantities invoiced,
it can make sense to reduce the quantity
in this new invoice. Nevertheless, it must not be the case
for cancelled invoices.
opw-679363
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
