diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-04-24 13:51:16 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-04-25 07:30:10 +0000 |
| commit | f2528a6924374ae9d52c6ca3c3e982a01040aeb8 (patch) | |
| tree | 4d14da5ca478665d83b438caa983c655d368df8d /addons/web/static/src | |
| parent | c8fdf32db130c4c452ac402ff37260496185ba41 (diff) | |
[FIX] product: template creation packaging_ids
Create a new product, but don't save it just yet
give it a name,
Add some packagings
Save
Before this commit:
- the form to create the packaging had a mandatory product_id field
which is useless in a x2m context (fixed in v11.5 with a6557a2306859b378c5b2348d396f29879c909c3)
- the packages disappeared after save
This was because at template creation, all "real" fields that are on
its variants must be manually set after the creation, including packaging_ids
OPW 1970589
closes odoo/odoo#32925
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
