diff options
| author | William Henrotin <whe@odoo.com> | 2018-11-30 08:47:34 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2018-11-30 08:47:34 +0000 |
| commit | a226723e5255fa9344244dab536c0d9b320758a7 (patch) | |
| tree | 41955b31721f779356a255fc58978e309ccec698 /addons/website_payment | |
| parent | 25d63eee7c2be719fecd17b769c1ee1872367f9e (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
