changeset 1ac134cf2d55 in modules/account_stock_continental:6.0
details: 
https://hg.tryton.org/modules/account_stock_continental?cmd=changeset&node=1ac134cf2d55
description:
        Always book accounting move today

        issue11003
        review393111002
        (grafted from 1c13321a866730a9ef0249601fc65cbc311d2e92)
diffstat:

 stock.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r baa1fb315717 -r 1ac134cf2d55 stock.py
--- a/stock.py  Thu Aug 19 23:22:48 2021 +0200
+++ b/stock.py  Fri Dec 10 22:22:52 2021 +0100
@@ -101,7 +101,7 @@
         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:

Reply via email to