summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/boot.js
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2016-11-04 12:22:47 +0100
committerJosse Colpaert <jco@odoo.com>2016-11-04 15:51:16 +0100
commit1872b39f921efb883fdaa015c6cab7f03b3c1042 (patch)
treef7fc23ef6a2ae0197271de13ee686c19d08d36e2 /addons/web/static/src/js/boot.js
parent83d1bb8df29451dcb41ac2b22ec022e41d35262d (diff)
[FIX] stock: default value in many2one for lots and package should be set by passing correct parameter in context
In v9, when in the context of the many2one field in the XML of the view you did not put default_ before the field (context={'product_id': product_id} instead of context={'default_product_id': product_id}, this would work. The problem is that in saas-11, this is not the case anymore and so, when you created new lots upon receipt (or another operation), the product_id was not set, so you needed to set it for each lot you create and can even put a different product than foreseen. So, we changed those for the packages and the lots. opw-692679
Diffstat (limited to 'addons/web/static/src/js/boot.js')
0 files changed, 0 insertions, 0 deletions