Cédric Krier
366327464b
Set the company on the invoice before assigning the party
...
The party of the invoice must have the invoice's company in the context to
correctly set the account when calling on_change_party.
Closes #15049
(grafted from 9b78bdacf182dfa9e5ab3c5206fb8fb5adfb2868)
--HG--
branch : 8.0
2026-08-31 12:06:40 +02:00
Cédric Krier
d38bb3fea5
Test findtext result as boolean when parsing UBL invoice
...
Closes #15003
(grafted from ebb739d278526b86ec2f4ac31df63388874c2487)
--HG--
branch : 8.0
2026-08-11 12:02:09 +02:00
Cédric Krier
f3f7f0c2cb
Do not set twice the extension in the attachment name for the UBL documents
...
Closes #14982
(grafted from a7bc04a0430d1c0ee7503b1148c611c65659a633)
--HG--
branch : 8.0
2026-08-01 10:49:03 +02:00
Cédric Krier
fcb95aa409
Do not compare to None PaymentDueDate value from findtext
...
It is not necessary because findtext returns a string.
(grafted from e1801f15caaa2bb23d2d8ba38483617977658bd8)
--HG--
branch : 8.0
2026-08-01 00:57:28 +02:00
Cédric Krier
6bf439f496
Use DueDate as fallback for payment term date for UBL without payment terms
...
Closes #14981
(grafted from df7119de4a976b2d12c884c6d3f0a2c5f2a67174)
--HG--
branch : 8.0
2026-08-01 00:56:10 +02:00
Cédric Krier
187fc8a245
Normalize the quantity before calculating the number of digits when parsing UBL
...
Trailing zero in the quantity should not require a bigger precision for the
unit.
Closes #14973
(grafted from 763adbca3986db5acffd5631821fe9647bb5b2f4)
--HG--
branch : 8.0
2026-07-28 19:27:57 +02:00
Cédric Krier
033e35cd88
Format numeric values in XML templates using fixed-point notation
...
Closes #14948
(grafted from 6cb75123ee20de6cf90ff1bbd6189b64e4d1f739)
--HG--
branch : 8.0
2026-07-15 18:07:22 +02:00
Cédric Krier
6c5e1f83d9
Add missing error message when no bank account is found when parsing UBL invoice
...
Closes #14938
(grafted from f26f207f98cf5a0df67124e5677db5b848d52cf5)
--HG--
branch : 8.0
2026-07-08 08:54:37 +02:00
Cédric Krier
4875c428e4
Render prepaid amount in UBL invoice
...
Closes #14766
2026-04-13 17:30:06 +02:00
Cédric Krier
283b4fc0ca
Set direct debit based on party configuration if there is no payment mandate define
...
Closes #14702
2026-03-24 16:36:12 +01:00
Cédric Krier
5db4bb63c8
Fill invoice source amounts instead of checking amounts from UBL
...
Closes #14624
2026-03-14 00:46:13 +01:00
Cédric Krier
794b61b163
Filter the MIME type of the additional documents in UBL allowed by the specification
...
Closes #14708
2026-03-26 08:14:45 +01:00
Cédric Krier
e7294b45c7
Add VAT exemption code on tax
...
Closes #14573
2026-02-04 10:12:56 +01:00
Cédric Krier
7dac232ad3
Do not divide LineExtensionAmount by a quantity of zero from UBL invoice
...
The unit price of such line can be the LineExtensionAmount.
Closes #14673
2026-03-14 09:58:22 +01:00
Cédric Krier
942c3cdb15
Filter out empty references and numbers when joining them from sales for UBL invoice
...
Closes #14652
2026-03-06 01:13:25 +01:00
Cédric Krier
a3493a3f2f
Fill payment means when parsing UBL invoice
2026-02-16 10:49:41 +01:00
Cédric Krier
c636664c17
Use only line extension amount to set unit price of UBL invoice line
...
Closes #14493
2026-02-16 17:22:16 +01:00
Cédric Krier
b0ff152120
Format the party's identifier codes
...
Closes #14485
2026-01-16 16:56:47 +01:00
Cédric Krier
c260313c23
Use the legal notice of tax as tax exemption reason in UBL invoice
...
Closes #14572
2026-02-04 10:03:48 +01:00
Cédric Krier
ce6c415c69
Search unit of measure with enough digits for the quantity in UBL invoice and credit note
...
Closes #14541
2026-01-23 23:49:58 +01:00
Cédric Krier
16dd9ae446
Set product on invoice line base on allowance/charge reason code from UBL invoice
2026-01-28 15:58:01 +01:00
Cédric Krier
19d4b91df2
Render allowance and charge in UBL invoice
2026-01-26 15:38:06 +01:00
Cédric Krier
49bcf51aca
Import UBL allowance/charge as invoice lines
...
Closes #14524
2026-01-26 12:08:41 +01:00
Cédric Krier
7620829d61
Search for similar invoice line with the same category of unit for UBL invoice line
...
Closes #14548
2026-01-23 18:50:42 +01:00
Cédric Krier
daad7943e6
Set the invoice type on invoice line from UBL invoice
...
The invoice type is needed to set the right account from the product.
Closes #14547
2026-01-23 15:29:07 +01:00
Cédric Krier
7c8e7bc23f
Group tax lines per tax having the same UNECE codes in UBL invoice
2026-01-23 13:02:19 +01:00
Cédric Krier
0c503833d3
Do not group taxes by tax group in UBL invoice and credit note
...
The Peppol UBL rules limit to a single TaxTotal.
Closes #14542
2026-01-23 11:05:13 +01:00
Cédric Krier
680344c92b
Format float and computed Decimal using fixed-point notation
...
This avoid the usage of scientific notation.
For float we must convert them to Decimal to get a precision large enough to
show all coefficient digits.
For computed Decimal (which are thus not rounded) we must normalized them first
to avoid trailing 0.
Closes #14522
2026-01-20 09:19:12 +01:00
Cédric Krier
8ae58308ce
Use schemeID to search for identifier of the same type
...
Closes #14516
2026-01-19 11:43:28 +01:00
Cédric Krier
90ef7c822c
Use the company IDs from UBL as identifier
...
Closes #14515
2026-01-19 11:48:55 +01:00
Cédric Krier
451a5b9fc7
Create the party name using the registration name of the legal entity from UBL first
...
Closes #14514
2026-01-19 11:34:14 +01:00
Cédric Krier
b211b58884
Always set a value for invoice line unit from UBL invoice and credit note
...
The search for similar line needs to test if the unit has a value or not.
Closes #14544
2026-01-23 12:12:27 +01:00
Cédric Krier
59e04dbf59
Do not search unit of measure for unit code ZZ and XZZ from UBL
...
The mutually defined unit should let the system choose a default unit.
Closes #14537
2026-01-22 17:39:35 +01:00
Cédric Krier
91c5a087fb
Use root prefix to retrieve the namespace of UBL document
...
Closes #14490
2026-01-14 14:39:08 +01:00
Cédric Krier
c60436c82a
Split the UBL OrderReference field into sale reference and sale number
...
Closes #14452
2025-12-29 12:36:26 +01:00
Cédric Krier
500860c21d
Use unit from similar line if not set yet by the UBL definition
...
Closes #14408
2025-12-05 10:18:23 +01:00
Cédric Krier
8f824d3d2a
Fix typo in super call of _parse_2_line_reference
...
Closes #14407
2025-12-05 10:03:01 +01:00
Cédric Krier
6149c357f2
Add parser for UBL invoice and credit note
2025-11-20 13:08:49 +01:00
Cédric Krier
595c553a56
Add e-documents as reports on invoices
2025-10-29 15:55:04 +01:00
Cédric Krier
6e9981228a
Add edocument_ubl module
2025-11-14 16:36:06 +01:00