diff options
| author | len-odoo <len@odoo.com> | 2018-09-25 15:10:41 +0000 |
|---|---|---|
| committer | len-odoo <len@odoo.com> | 2018-09-25 15:10:44 +0000 |
| commit | 31d2b49a78966d0025594d488d995be91d912797 (patch) | |
| tree | ac683a0c59994802e637063eda082f29673d0236 /doc/reference/javascript_cheatsheet.rst | |
| parent | 9ef7763ecdf4fb102e49ce68ac4ca3ce7557016e (diff) | |
[FIX] stock_account: updating price with negative quantity on hand divide by 0
In the case where the user forces a sale with a negative product quantity on
hand, then the average price update might divide by zero.
We guard against this case.
opw 1886967
closes odoo/odoo#27232
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions
