diff options
| author | Arnaud Baes <arb@odoo.com> | 2019-09-05 12:23:03 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-09-06 09:37:59 +0000 |
| commit | 4903fb6290822bacad2d64328aa4b29747b25432 (patch) | |
| tree | 9c46f21a0df4c3dc542a9dba9542c05c3d674ccc /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 15a5e4376705ceebef0184955720943af05017c1 (diff) | |
[FIX] mrp_plm: Wrong product template written on BoM lines
When trying to update a BoM from an ECO, `default_product_tmpl_id` is set
in the context. This was mismatching whith the product template of any new
BoM lines writen on the new BoM. To fix this we simply add the field
`product_tmpl_id` in the view of the BoM lines with `force_save` set,
to prevent using the product template defined in the context.
closes odoo/odoo#36469
Taskid: BugsLogistics
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
