Skip to content

Commit

Permalink
Merge PR #1514 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by moylop260
  • Loading branch information
OCA-git-bot committed Dec 1, 2022
2 parents f1272f5 + d091f3a commit 9e92168
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions account_move_name_sequence/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@ def _compute_name_by_sequence(self):
# We must by-pass this constraint of sequence.mixin
def _constrains_date_sequence(self):
return True

def _post(self, soft=True):
self.flush()
return super()._post(soft=soft)

0 comments on commit 9e92168

Please sign in to comment.