Commit Graph
87 Commits
Author SHA1 Message Date
Cédric Krier cdce88ff00 Increase version number
--HG--
branch : 8.0
2026-09-16 23:40:01 +02:00
Cédric Krier 89e5d33b10 Prepare release edocument_ubl-8.0.5
--HG--
branch : 8.0
2026-09-16 23:39:50 +02:00
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 bacd9218f2 Increase version number
--HG--
branch : 8.0
2026-08-15 09:00:18 +02:00
Cédric Krier 40149fe10b Prepare release edocument_ubl-8.0.4
--HG--
branch : 8.0
2026-08-15 09:00:06 +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 d9462cabab Increase version number
--HG--
branch : 8.0
2026-08-04 12:18:37 +02:00
Cédric Krier a1c934e4bc Prepare release edocument_ubl-8.0.3
--HG--
branch : 8.0
2026-08-04 12:18:26 +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 57e8b983b7 Use binary version of psycopg for tests
(grafted from 7868852522d26ff069aebcc03ae73d98abe97879)

--HG--
branch : 8.0
2026-07-17 22:11:32 +02:00
Cédric Krier be62a5c63b Increase version number
--HG--
branch : 8.0
2026-07-15 19:27:04 +02:00
Cédric Krier ae566e50e5 Prepare release edocument_ubl-8.0.2
--HG--
branch : 8.0
2026-07-15 19:26:45 +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 cd3d0a6013 Increase version number
--HG--
branch : 8.0
2026-07-01 23:07:00 +02:00
Cédric Krier bbdab26822 Prepare release edocument_ubl-8.0.1
--HG--
branch : 8.0
2026-07-01 23:06:49 +02:00
Cédric Krier 35291a25e2 Replace getattr by hasattr in report
(grafted from 1a0574d67704d7acbd7c224d906a4be12aaf3423)

--HG--
branch : 8.0
2026-06-09 13:01:23 +02:00
Cédric Krier 35e4dac5d6 Fix computation of documentation series for odd minor version
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)

--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier 045421c749 Increase version number
--HG--
branch : 8.0
2026-04-20 21:01:58 +02:00
Cédric Krier 7f0d38f477 Prepare release 8.0.0 2026-04-20 20:10:13 +02:00
Cédric Krier de1bb5d5d9 Update translations [skip ci] 2026-04-20 10:38:52 +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 39a22ae74f Use python3 to launch build 2026-03-26 00:32:49 +01:00
Cédric Krier 94c4f0a9e6 Rewrite coverage paths
Since tox is running tests on the installed package, the coverage paths are no
more relative to the repository root.
2026-03-25 19:39:52 +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 145ce8f2f8 Make retrieval of metadata via build really quiet 2026-03-22 09:07:23 +01:00
Nicolas Évrard 299dd6b1c9 Update to Psycopg 3
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier d3c8a8e55d Add support for Python 3.14 2026-03-21 09:02:25 +01:00
Cédric Krier 42b0fc7061 Remove support for Python 3.9 2026-03-21 08:48:06 +01:00
Cédric Krier e15c0b7d7a Upgrade to pyproject using hatchling as build-system 2026-03-21 18:46:34 +01:00
Cédric Krier af2e06bb32 Set headers and restrict to 1 worker when checking documentation link
This follows the wikipedia robot policy:
https://wikitech.wikimedia.org/wiki/Robot_policy

Closes #14637
2026-03-02 10:58:19 +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 15878ffbd5 Render invoice payment means in UBL and UNCEFACT 2026-02-13 18:28:24 +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 2b7c3f9f89 Update template to use invoice taxes of lines as invoice tax
Closes #14609
2026-02-16 13:31:03 +01:00
Cédric Krier 7573e8fbfd Set BillingReference to Invoice and Credit Note UBL
Closes #14517
2026-01-19 12:17:43 +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 24a53758fd Use invoice taxes from line to render tax category in UBL Invoice
Closes #14571
2026-02-04 09:53:06 +01:00
Cédric Krier f1eea7c11e Correctly render address streets in UBL invoice for Peppol
Closes #14566
2026-01-30 15:24:46 +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