diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-04-08 13:18:26 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-04-08 13:18:51 +0000 |
| commit | ea1fc124efca316d2a5a0ad9d93ebd75f71c9eb6 (patch) | |
| tree | c7a415f0a372fc8ebd37b33d0834492ff03cf141 /addons/web_editor/static | |
| parent | e524a2500448ff9a1cfcc8765601754f7ae6180c (diff) | |
[FIX] purchase: update reference onchange of vendor_bill_purchase_id
Commit 1be873d4 removed the modification of the reference field
from the _onchange_origin.
The reasoning was that since this is an onchange on invoice_line_ids, it was
applied too often, which annoyed users in the case they overwrote that field.
However when using the "Autocomplete" field (vendor_bill_purchase_id),
then the user expects values to by modified.
Before, it worked by setting the origin field, which trickled down
to the reference.
Since that commit removed this, we re-add it explicitly in that case.
opw 1962364
closes odoo/odoo#32500
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web_editor/static')
0 files changed, 0 insertions, 0 deletions
