diff options
| author | jem-odoo <jem@openerp.com> | 2018-04-27 11:51:38 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-05-22 11:52:37 +0200 |
| commit | 13a9e4d93ad72beffbd165a2220b2c2ae9be6135 (patch) | |
| tree | 638929ea2c9e3141172c4114e82ddd19959b6f2b /addons/mail/data/mail_data.xml | |
| parent | c71ee8e2d2b701a36bff594a4a3ac0f7847addca (diff) | |
[FIX] sale: missing triggers on invoice_ids
As 'invoice_ids' on sale.order is a computed field, creating
a refund should invalidate this field as 'invoice_ids'
should contain invoices, refunds, ...
When using the refund wizard, the credit note will be linked
to the SO lines (see `_refund_cleanup_lines` override in sale).
Without the new trigger, invoice_ids will not be recomputed, and
executing 'sale_order.invoice_ids[1]' will not return the refund
account.invoice.
This commit fixes it.
Diffstat (limited to 'addons/mail/data/mail_data.xml')
0 files changed, 0 insertions, 0 deletions
