[FIX] l10n_latam_invoice_document: onchange needed now after debit note wizard
An error in l10n staging showed a different name for the debit note as foreseen in the XML. Checking in the runbot of that l10n staging, we saw that from the debit note wizard, the document type is recalculated, but the onchange to trigger the name change was not triggered, so we added that and this made it back green. Because of the changes of commit 7edee80 X-original-commit: 3efc6cf1d7a2276a18a4656b4ea4f9e18141bc21 Part-of: odoo/odoo#113302
This commit is contained in:
@@ -12,4 +12,5 @@ class AccountDebitNote(models.TransientModel):
|
||||
if new_move_id:
|
||||
new_move = self.env['account.move'].browse(new_move_id)
|
||||
new_move._compute_l10n_latam_document_type()
|
||||
new_move._onchange_l10n_latam_document_type_id()
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user