diff --git a/addons/l10n_be_invoice_bba/models/account_invoice.py b/addons/l10n_be_invoice_bba/models/account_invoice.py index 3cf74d36d97..1ec4f3bb63c 100644 --- a/addons/l10n_be_invoice_bba/models/account_invoice.py +++ b/addons/l10n_be_invoice_bba/models/account_invoice.py @@ -181,4 +181,6 @@ class AccountInvoice(models.Model): default['reference_type'] = reference_type if reference_type == 'bba': default['reference'] = self.generate_bbacomm(self.type, reference_type, self.partner_id.id, '')['value']['reference'] + elif self.type in ['in_invoice']: + self.reference_type = 'none' return super(AccountInvoice, self).copy(default)