diff options
| author | Arnold Moyaux <arm@odoo.com> | 2019-07-11 12:45:15 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2019-07-12 11:37:13 +0000 |
| commit | 6b8a0beda65dce688ecd0ee34828097b67a13dab (patch) | |
| tree | 0ee9a2945d2fcbdb84d217c0ed4fedb52b6f503e /addons/gamification | |
| parent | ec02ca91760a9f1bda2eec0c703ddf20d6a4734b (diff) | |
[FIX] stock: access error on stock.quant
Usecase to reproduce:
- Connect on demo user (inventory user)
- Go on product page and click on stat button for 'quantity on hand'
> AccessError on decimal.precision object
due to commit a1eb000c93a5a64b3041c48ed9b1eaf3c03257d3
When the user click on 'report inventory' button it will garbage
collect the remaining quants without quantity. In order to do it,
it needs the precision rounding in order to have a rounding and do
not let quant without significant quantity.
closes odoo/odoo#34780
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/gamification')
0 files changed, 0 insertions, 0 deletions
