changeset c6a3356106e7 in modules/account_stock_continental:6.2
details: 
https://hg.tryton.org/modules/account_stock_continental?cmd=changeset&node=c6a3356106e7
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 ba1c5c23693a -r c6a3356106e7 stock.py
--- a/stock.py  Mon Nov 01 17:14:03 2021 +0100
+++ 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