Store document number of AEB43 as char

This commit is contained in:
Cédric Krier
2024-10-23 13:30:46 +02:00
parent 95cc30b9e3
commit 0125b704de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class ImportStatement(metaclass=PoolMeta):
return {
'aeb43_operation_date': transaction.transaction_date,
'aeb43_record_type': transaction.shared_item,
'aeb43_document_number': int(transaction.document),
'aeb43_document_number': transaction.document,
'aeb43_first_reference': transaction.reference1,
'aeb43_second_reference': transaction.reference2,
}
@@ -38,7 +38,7 @@ this repository contains the full copyright notices and license terms. -->
id="information_document_number">
<field name="name">aeb43_document_number</field>
<field name="string">Document Number</field>
<field name="type_">integer</field>
<field name="type_">char</field>
</record>
<record model="account.statement.origin.information"
id="information_first_reference">