From c229cec578dd9e938f1cab15376c269245cb1c07 Mon Sep 17 00:00:00 2001 From: Martronic SA Date: Fri, 12 Oct 2018 14:52:10 +0200 Subject: [PATCH] Fix structured communication Adds 'structured' to the invoice_reference_type2communication_type ans the 'structured' type is added by the module itself in account_invoice but breaks the account_move_line.py as explained here: https://github.com/OCA/bank-payment/issues/495 --- account_payment_order/models/account_payment_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/models/account_payment_line.py b/account_payment_order/models/account_payment_line.py index d01d4ff31..125d9881f 100644 --- a/account_payment_order/models/account_payment_line.py +++ b/account_payment_order/models/account_payment_line.py @@ -127,7 +127,7 @@ class AccountPaymentLine(models.Model): localization modules""" # key = value of 'reference_type' field on account_invoice # value = value of 'communication_type' field on account_payment_line - res = {'none': 'normal'} + res = {'none': 'normal', 'structured': 'structured'} return res @api.multi