summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-03-31 11:57:17 +0200
committerNicolas Martinelli <nim@odoo.com>2016-03-31 12:54:49 +0200
commit81748478bc90173490aa7e96b540969a4d4002cf (patch)
treeeedc767fc19f601f24c1b7d83991232c36851ed2 /addons/web/static/src/js/framework
parent41c42e8623be94e9aeaf7729aa95fe79224666d7 (diff)
[FIX] purchase, purchase_requisition: make_po
When a product is set up to generate a purchase tender instead of a purchase order, the associated procurement is set in exception. This is because the result of `make_po` is returned by the method `_run`, and the result of `_run` is used to determine if the procurement is running or in exception. Since a purchase tender does not generate the PO, the method `make_po` returns an empty list, and therefore the procurement is considered as in exception. The fix is to return the procurement_id instead if a purchase order or a purchase tender has been created. opw-672170
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions