From a1db9c3ac0be0168ba30aa94e405d97f8eb547ab Mon Sep 17 00:00:00 2001 From: Raf Ven Date: Wed, 25 Nov 2015 14:26:20 +0100 Subject: [PATCH] [FIX] l10n_be_invoice_bba: constraint _check_communication The constraint checks a non-existant field 'Communication'. Should be 'reference' and 'reference_type' Closes #9739 --- addons/l10n_be_invoice_bba/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_be_invoice_bba/invoice.py b/addons/l10n_be_invoice_bba/invoice.py index 92796d409b9..38187b41e37 100644 --- a/addons/l10n_be_invoice_bba/invoice.py +++ b/addons/l10n_be_invoice_bba/invoice.py @@ -227,7 +227,7 @@ class account_invoice(osv.osv): required=True, readonly=True), } _constraints = [ - (_check_communication, 'Invalid BBA Structured Communication !', ['Communication']), + (_check_communication, 'Invalid BBA Structured Communication !', ['reference', 'reference_type']), ] account_invoice()