Backed out changeset 1ac134cf2d55

issue11427

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2022-04-27 17:58:06 +02:00
1 parent 899eb75884
commit fc31c65eac
1 file changed
+1 -1
+1 -1
View File
@@ -102,7 +102,7 @@ class Move(metaclass=PoolMeta):
if self.product.type != 'goods':
return
date = Date.today()
date = self.effective_date or Date.today()
period_id = Period.find(self.company.id, date=date)
period = Period(period_id)
if not period.fiscalyear.account_stock_method: