summaryrefslogtreecommitdiff
path: root/addons/website_payment
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2018-11-30 08:47:34 +0000
committerWilliam Henrotin <whe@odoo.com>2018-11-30 08:47:34 +0000
commita226723e5255fa9344244dab536c0d9b320758a7 (patch)
tree41955b31721f779356a255fc58978e309ccec698 /addons/website_payment
parent25d63eee7c2be719fecd17b769c1ee1872367f9e (diff)
[FIX] mrp: avoid accessing empty data
Once we log an exception via next activity in a production, we search moves that have been updated uphill to write the useful information about the change. The issue is by default, the key 'move_orig_id' is searched while some moves could be linked with 'created_purchase_line_id' key. This commit avoid mapping 'move_orig_id' on empty recordset and so avoid a traceback. opw:1911399 closes odoo/odoo#29087
Diffstat (limited to 'addons/website_payment')
0 files changed, 0 insertions, 0 deletions