Always book accounting move today
issue11003 review393111002
This commit is contained in:
1 parent
60864e4c3a
commit
e940fa9072
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user