summaryrefslogtreecommitdiff
path: root/addons/hr_expense
diff options
context:
space:
mode:
authorAnh Thao Pham (pta) <pta@odoo.com>2021-03-09 14:19:49 +0000
committerAnh Thao Pham (pta) <pta@odoo.com>2021-03-10 07:34:41 +0000
commit3c082b9a47be35579a454f13edc230ac3029922d (patch)
treee9ab0db77004e6797c996b421f18bdd0c3052a4b /addons/hr_expense
parent5e367616dac74d54942adaa2c07b640c0c0d06da (diff)
[FIX] purchase_product_matrix: fix product onchange on PO form
- Install purchase_product_matrix - Go to Purchase and create a PO - In PO Line, type a text (i.e. test) in product field and use quick create option Description and UoM fields should be updated following product creation, but they are not. "onchange_product_id" is not triggered. "purchase_product_matrix" module overrides "purchase.order" form view by replacing product_id field by product_template_id field. "_onFieldChanged" function should execute "_onTemplateChange" when product_template_id is changed and if id is set, which would trigger "field_changed" on product_id, but it cannot be done after a quick create as id is false. opw-2462538 closes odoo/odoo#67544 Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'addons/hr_expense')
0 files changed, 0 insertions, 0 deletions