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
This commit is contained in:
Martronic SA
2018-10-12 14:52:10 +02:00
committed by Pedro M. Baeza
parent cba78716d7
commit 00b52fcd86

View File

@@ -126,7 +126,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