Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
5a7e7df5 by Nicolas Évrard at 2023-08-02T22:05:22+02:00
Return period end date as default date for account move
When period is before today, the default date of the account move must be set
with the period end date.
Closes #12408
- - - - -
1 changed file:
- modules/account/move.py
Changes:
=====================================
modules/account/move.py
=====================================
@@ -157,7 +157,7 @@
elif start_date >= today:
return start_date
else:
- end_date
+ return end_date
@fields.depends('date', 'period', 'company', 'lines')
def on_change_date(self):
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/5a7e7df5b604992006bc8d6d05d9bd077ed0ab13
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/5a7e7df5b604992006bc8d6d05d9bd077ed0ab13
You're receiving this email because of your account on foss.heptapod.net.