Always book accounting move today

issue11003
review393111002
This commit is contained in:
Cédric Krier committed 2021-12-10 22:22:52 +01:00
1 parent 60864e4c3a
commit e940fa9072
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ class Move(metaclass=PoolMeta):
if self.product.type != 'goods':
return
date = self.effective_date or Date.today()
date = Date.today()
period_id = Period.find(self.company.id, date=date)
period = Period(period_id)
if not period.fiscalyear.account_stock_method: