[FIX] account_edi_facturx: wrong ID
To be compliant with the facturx, the name of invoice should be the sequence given by Odoo (ex : INV/2021/04/0001) and not the ref. closes odoo/odoo#69663 X-original-commit: 41d323c5ca665098fe2e54a40bc11a8f26ce463a Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
|
||||
<!-- Document Headers. -->
|
||||
<rsm:ExchangedDocument>
|
||||
<ram:ID t-esc="record.ref"/>
|
||||
<ram:ID t-esc="record.name"/>
|
||||
<ram:TypeCode t-esc="'381' if 'refund' in record.move_type else '380'"/>
|
||||
<ram:IssueDateTime>
|
||||
<udt:DateTimeString format="102" t-esc="format_date(record.invoice_date)"/>
|
||||
|
||||
@@ -66,6 +66,7 @@ class TestAccountEdiFacturx(AccountEdiTestCommon):
|
||||
</GuidelineSpecifiedDocumentContextParameter>
|
||||
</ExchangedDocumentContext>
|
||||
<ExchangedDocument>
|
||||
<ID>INV/2017/01/0001</ID>
|
||||
<TypeCode>380</TypeCode>
|
||||
<IssueDateTime>
|
||||
<DateTimeString format="102">20170101</DateTimeString>
|
||||
|
||||
Reference in New Issue
Block a user