diff --git a/modules/account/move.py b/modules/account/move.py index 699b39e4c1..3e05f521e9 100644 --- a/modules/account/move.py +++ b/modules/account/move.py @@ -157,7 +157,7 @@ class Move(ModelSQL, ModelView): elif start_date >= today: return start_date else: - end_date + return end_date @fields.depends('date', 'period', 'company', 'lines') def on_change_date(self):