diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2015-11-24 15:07:23 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2015-11-24 16:06:42 +0100 |
| commit | 7007cc33d87597068ab089f4330a1793c1e68597 (patch) | |
| tree | db5edfa52bacb3b0299a7f127ed59f33ab3d4c59 /addons/web/static/src/js/framework/session_instance.js | |
| parent | 40a7c177e727530b5b8b36726db4177399005737 (diff) | |
[FIX] product, sale*: procurement needed
In v8.0, a procurement is not created by default. Only sale_stock and
sale_service will create procurements, since they are only used for
physical products or task-related services.
In v9.0, the behavior was changed and a procurement was always created.
This is not necessary, since the procurements are still only used for
physical products and task-related services. This behavior will just
lead to the creation of procurements which will fall into exception
(method `_assign` will return False).
This fix switches back to the previous behavior. The other solution was
to prevent the exception, but it will imply that useless procurements
will pile up.
opw-654363
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
