diff options
| author | William Henrotin <whe@odoo.com> | 2019-08-05 11:22:00 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-08-05 11:22:00 +0000 |
| commit | 634bdbfa3a316fcaa9323f97bb59f198cd771b27 (patch) | |
| tree | 4f4a805ba33489eed359a9bf5435b8b12374cf23 /addons/test_mail/tests/test_performance.py | |
| parent | ca2aacfd95b8c0d8424d5c8862f6779fe610d840 (diff) | |
[FIX] mrp: blocks default product on bom line
The action called from the product's bom stat button (mrp.product_open_bom)
fill the key 'default_product_id'. This allows, creating a bom from the list view,
to prefilled the product.
This context key will also fill each new bom line as the technical field is
called product_id too.
This commit overrides default_product_id to False for the bom line One2many
in the bom form view in order to only prefill the finished product and not
the components.
Task : 2045485
closes odoo/odoo#35444
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/test_mail/tests/test_performance.py')
0 files changed, 0 insertions, 0 deletions
