summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2017-03-20 10:25:26 +0100
committerGoffin Simon <sig@odoo.com>2017-03-20 14:41:52 +0100
commit348535630b53b96a52af25ce3ee3a01e4275e245 (patch)
tree7d1f173fecf2a28740934621870a158e0c246b25 /addons/web/static/src/js/views/basic/basic_controller.js
parent6b41d59ca8ca044aa8a3a5dc4b0241c6abe40f45 (diff)
[FIX] product: get_names with empty record set
Steps to reproduce: -Go to accounting dashboard -Click on "More" in vendor bills dashboard -Click on "bills analysis" Bug: it opened the account.invoice.report view, which crashed. Reason: The function get_names in addons/product/models/product.py got an empty record set product.category(None,) and returned [False] so when joining " \ " with [False], it crashed. The empty record set was returned when the categ_id of an account.invoice.report() was None. opw:724783
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions