[REF] stock_account: removed duplicated fix in _compute_average_price() from product

closes odoo/odoo#69821

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
This commit is contained in:
Jacky (trj)
2021-04-26 09:03:25 +00:00
parent 9ef6cc2663
commit 174a10c7b8
-3
View File
@@ -657,9 +657,6 @@ class ProductProduct(models.Model):
:rtype: float
"""
self.ensure_one()
if not qty_to_invoice:
return 0.0
if not qty_to_invoice:
return 0