Backed out changeset 1ac134cf2d55
issue11427 --HG-- branch : 6.0
This commit is contained in:
1 parent
899eb75884
commit
fc31c65eac
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user