diff options
| author | Simone Rubino <simone.rubino@agilebg.com> | 2018-10-09 17:18:09 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-10-10 16:33:59 +0200 |
| commit | ba09b8989ebbe10aa336dbf850d075fbcda558d0 (patch) | |
| tree | 0868da709dd4a9a3f6293057804dcf3cc54c1684 /addons/web/static/tests | |
| parent | 80d363cd31ec56b72e38e02571285349b60e428e (diff) | |
[FIX] stock_account: group on empty field
65;5401;1c
Line contains the value returned by a select clause on inventory lines.
postgresql result returns None instead of False when no value is set.
Avoid having a stock_histories_by_group dict with a key to None
Having a None value is problematic as the key is used based on the read_group
result returned by the super call above.
e.g. grouping the inventory history by lot numbers, while some moves have no
inventory, used to produce a KeyError
Closes #27591
Diffstat (limited to 'addons/web/static/tests')
0 files changed, 0 insertions, 0 deletions
