diff --git a/addons/l10n_be_invoice_bba/models/account_invoice.py b/addons/l10n_be_invoice_bba/models/account_invoice.py
index 68bad8964b3..e82f2e9a20b 100644
--- a/addons/l10n_be_invoice_bba/models/account_invoice.py
+++ b/addons/l10n_be_invoice_bba/models/account_invoice.py
@@ -48,7 +48,7 @@ class AccountInvoice(models.Model):
if mod == int(bbacomm[-2:]):
return True
- @api.onchange('partner_id')
+ @api.onchange('partner_id', 'type')
def _onchange_partner_id(self):
result = super(AccountInvoice, self)._onchange_partner_id()
reference = False
diff --git a/addons/l10n_be_invoice_bba/views/account_invoice_view.xml b/addons/l10n_be_invoice_bba/views/account_invoice_view.xml
index 3c4bdc0af8c..9ab348940a1 100644
--- a/addons/l10n_be_invoice_bba/views/account_invoice_view.xml
+++ b/addons/l10n_be_invoice_bba/views/account_invoice_view.xml
@@ -7,8 +7,7 @@
-
+