Skip to content
Snippets Groups Projects
Commit 5c4da5ee authored by Julien Van Roy's avatar Julien Van Roy
Browse files

[FIX] account_edi_ubl_cii: line id start at 1 in UBL


In Saudi Arabia, the InvoiceLine/ID should not be greater than 6 digits.
Using the move.line_id, this limit can be exceeded.

Simply count the invoice line ids starting from 1 instead.

In master, add a parameter `line_id` to `_get_invoice_line_vals`.

closes odoo/odoo#133640

X-original-commit: 94aac2ed
Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
Signed-off-by: default avatarJulien Van Roy (juvr) <juvr@odoo.com>
parent a3545a87
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment