Skip to content

Commit

Permalink
Merge PR OCA#1515 into 15.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 0d4b3cc + 86814d3 commit 071a0a7
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 @@ -64,3 +64,7 @@ def _is_end_of_seq_chain(self):
if not invoices_other_sequences and invoices_no_gap_sequences:
return False
return super(AccountMove, invoices_other_sequences)._is_end_of_seq_chain()

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

0 comments on commit 071a0a7

Please sign in to comment.