diff options
| author | Goffin Simon <sig@odoo.com> | 2017-03-20 10:25:26 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-03-20 14:41:52 +0100 |
| commit | 348535630b53b96a52af25ce3ee3a01e4275e245 (patch) | |
| tree | 7d1f173fecf2a28740934621870a158e0c246b25 /addons/theme_default/data/theme_default_data.xml | |
| parent | 6b41d59ca8ca044aa8a3a5dc4b0241c6abe40f45 (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/theme_default/data/theme_default_data.xml')
0 files changed, 0 insertions, 0 deletions
