summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-10-07 10:57:49 +0000
committerfw-bot <otis@odoo.com>2019-10-08 15:08:04 +0000
commitf53e751433fa66ae2880a6ddefa44ee1fa93bae8 (patch)
tree47fd2b8f24b48dee1431bc1e7c7bdb074ed30808 /addons/web/static/src/js/core
parent8488e6c871eba7c71915ee14a15852834a26c8be (diff)
[FIX] website_sale_digital: find only move line related to products
Before this commit and since beaa30a3d184 it was not possible to download a digital product. The `search_read()` would return move line which does not have any `product_id` which will later crash when accessing `product_id` in the for loop. Search_read result would be: [{'id': 20, 'product_id': (38, 'eBook: Office Renovation for Dummies')}, {'id': 21, 'product_id': False}, {'id': 22, 'product_id': False}, {'id': 23, 'product_id': False}] task-2063307 closes odoo/odoo#38225 X-original-commit: b045be2814cee96c9723f0c9d07462e07cab4773 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/core')
0 files changed, 0 insertions, 0 deletions