mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
FIX use of communication type
This commit is contained in:
@@ -305,7 +305,7 @@ class AccountPaymentOrder(models.Model):
|
||||
def generate_remittance_info_block(self, parent_node, line, gen_args):
|
||||
remittance_info_2_91 = etree.SubElement(
|
||||
parent_node, 'RmtInf')
|
||||
if line.state == 'normal':
|
||||
if line.communication_type == 'normal':
|
||||
remittance_info_unstructured_2_99 = etree.SubElement(
|
||||
remittance_info_2_91, 'Ustrd')
|
||||
remittance_info_unstructured_2_99.text = \
|
||||
|
||||
Reference in New Issue
Block a user