diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-01-25 18:25:40 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-01-25 18:29:28 +0100 |
| commit | ab245fcaa2338d6fe180c17fca7f6acc131a5a3a (patch) | |
| tree | 19d35fa9b698c04d6ea70b04dcfafcbeaf4e0124 /addons/website_google_map | |
| parent | 11fe2d5b6df99ebcb972a458d7d859865f5f605a (diff) | |
[FIX] stock_account: stock valuation at date total
When performing a stock valuation at date,
the stock valuation total wasn't equal
to the sum of each line of the report.
This is because the domain forcing the
date wasn't passed to the `search` call
when no group by was applied.
Indeed, when calling
`read_group` with a group by, the lines in the results
contains the domain used for each line, but when
there is no group by applied, this is not the case, the domain
is not included in the line dict returned by `read_group`.
In such a case, therefore, we must use the domain that was passed to
the `read_group` call.
opw-667761
Diffstat (limited to 'addons/website_google_map')
0 files changed, 0 insertions, 0 deletions
