changeset 77880be5dbee in modules/account_stock_continental:5.0
details:
https://hg.tryton.org/modules/account_stock_continental?cmd=changeset&node=77880be5dbee
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 bfc33b991440 -r 77880be5dbee stock.py
--- a/stock.py Thu Jun 17 21:50:38 2021 +0200
+++ b/stock.py Fri Dec 10 22:22:52 2021 +0100
@@ -108,7 +108,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: