2
0

Merge PR #1742 into 16.0

Signed-off-by moylop260
This commit is contained in:
OCA-git-bot 2023-10-18 15:43:46 +00:00
commit ccde76bd3e

View File

@ -54,6 +54,7 @@ class AccountMove(models.Model):
# which applies on ir.sequence.date_range selection AND prefix
name = seq.with_context(ir_sequence_date=move.date).next_by_id()
move.name = name
self._inverse_name()
# We must by-pass this constraint of sequence.mixin
def _constrains_date_sequence(self):