summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-04-11 08:11:11 +0000
committerNans Lefebvre <len@odoo.com>2019-04-11 08:11:17 +0000
commita441e89c9fdeed9dfe92da10689c3cc981fead50 (patch)
treed57c84c6744a2b4f10f68663abdeb648d8b11538 /addons/web/static/src/js/fields/basic_fields.js
parent309f152ca47ee98349eb90de6aba1bb33dded528 (diff)
[FIX] purchase: update reference onchange of purchase_id
Commit 1be873d 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 (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#32656 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions