We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 836a88f commit 4b289abCopy full SHA for 4b289ab
l10n_th_doctype_invoice/models/account.py
@@ -22,5 +22,5 @@ def post(self):
22
# Because we have doctype_id, so we can pass False
23
name = self.env['ir.sequence'].next_by_id(False)
24
move.name = name
25
- invoice.number = name
+ invoice.write({'number': name, 'internal_number': name})
26
return super(AccountMove, self).post()
0 commit comments