diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-09-07 17:57:59 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-09-07 18:04:48 +0200 |
| commit | 49b807d877932ae200be1d219a8ced465af66655 (patch) | |
| tree | 48247d3f274b4267ac0ef50d392b75022edda81e /addons/web/static/src/js/framework/data.js | |
| parent | 05d91ea4e924df0c3e1600bfe9f4d0d9c4a99a79 (diff) | |
[FIX] product: force empty context in product_template_action_all
This revision removes the context from the action:
afd29b277dae14dbe6a8567d917e5503bf93e286
The thing is, in saas-11, the `product.template.type`
no longer has in its selection values `product`,
in the module `product`,
there is only `consu` and `service`.
the type `product` is added in the module `stock`
Therefore, this `product` cannot be used as default value
when only the module `product` is installed and not
`stock`.
We force the empty context for migration purposes,
so bases in ealier releases than saas-11 do not have
`'default_type': 'product'` within this action
when they are upgraded to saas-11.
opw-687986
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
