diff options
| author | Olivier Dony <odo@openerp.com> | 2012-11-30 17:18:09 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-11-30 17:18:09 +0100 |
| commit | a1d79115e598549944a7cb793d258bfbd814d848 (patch) | |
| tree | e9c6c3501dd8b30a010a708681a35722b8c3e442 /addons/google_docs/google_docs.py | |
| parent | 93a28103dbe4b6575eb9630dfeab611dc2e40195 (diff) | |
| parent | 87821638303a94723eca6f1dc94475cb7464e434 (diff) | |
[MERGE] Fix sale.order.line's `invoiced` flag, as part of forward-port of 6.1 server bugfixes
After forward-porting the 6.1 server bugfixes to trunk, a hidden bug
was revealed in the way sale.order.line's `invoiced` field
is updated. It makes the sale/test/cancel_order.yml test fail,
because the "recreate invoice" action does not work properly
if there are multiple cancelled invoices, due to incorrect
and outdated `invoiced` values on sale.order.lines.
By replacing the invoiced field with a stored fields.function
we simplify the code and fix this incorrect behavior at the
same time.
bzr revid: odo@openerp.com-20121130161809-0sf3z8k2530ze2zl
Diffstat (limited to 'addons/google_docs/google_docs.py')
0 files changed, 0 insertions, 0 deletions
