Commit Graph
60271 Commits
Author SHA1 Message Date
Nicolas Évrard 299dd6b1c9 Update to Psycopg 3
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier 7fb5a4a3de Do not use Literal to count in SQL
The * is not actually a parameter of the aggregate function so it is better to
let python-sql manage it with its default value.
2025-12-25 09:47:23 +01:00
Nicolas Évrard 4ab7069dab Delegate the notifications handling to the backend 2025-11-25 13:27:24 +01:00
Cédric Krier dada23bcb5 Do not install mrml on Python version greater than 3.14
See https://github.com/jdrouet/mrml/issues/597
2026-03-21 12:07:21 +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
Nicolas Évrard d6dc19b523 Skip the reconciliation of already reconciled lines with debit == credit == 0
Closes #14679
2026-03-16 12:28:56 +01:00
Cédric Krier a49ee526d2 Order Account Parties of General Ledger by party before id by default
Closes #14669
2026-03-11 16:03:00 +01:00
Cédric Krier 9821476565 Show account parties in ledgers when they contain lines 2026-03-11 15:20:41 +01:00
Cédric Krier 4c7f871e60 Generate an Account Party entry also for party having a move line in a children account
Closes #14668
2026-03-11 15:59:05 +01:00
Cédric Krier 82e08446fc Define Typless fields per document type
Closes #14648
2026-03-19 16:41:35 +01:00
Cédric Krier df3fd82299 Do not show empty web shop URL for product
Closes #14650
2026-03-05 10:49:11 +01:00
Cédric Krier 199408510a Store column widths per occurrence
Closes #14645
2026-03-03 19:48:24 +01:00
Cédric Krier efaaf3513b Do not use attribute width as computed width and restore computed width on reset
If the attribute width (which is the user width) is used as computed width, on
reset of the widths the custom widths are still in used.
2026-03-03 18:50:22 +01:00
Cédric Krier 4c0eb9d4a9 Clear fields_view_get cache after resetting column widths 2026-03-03 18:37:56 +01:00
Cédric Krier 5b27ff2acd Get custom column width using column attribute name
Closes #14643
2026-03-03 18:33:24 +01:00
Cédric Krier 2eafdd5564 Explicitly close sqlite connection
The context manage on Connection only commit the connection but it should still
be explicitly closed.

Closes #13859
2026-03-05 08:10:46 +01:00
Cédric Krier b9f12197bf Add tests for calculating tax rule pattern for countries 2026-03-18 12:03:50 +01:00
Maxime Richez f7081450f1 Use the first non-invoice line origin to calculate tax pattern for countries
Closes #14388
2026-03-18 12:01:17 +01:00
Cédric Krier b58049e47e Use flat balance for general ledger
Closes #14294
2026-03-11 12:51:12 +01:00
Nicolas Évrard 4eca86d8e7 Use DOMElement methods in set_empty
eb3e557996f0 changed the type of the element passed to set_empty to use
directly the DOMElement. Thus we should use directly the equivalent methods
provided by this interface as it's more efficient anyway.

Closes #14686
2026-03-17 16:25:14 +01:00
Cédric Krier e8c0047fca Sort statement lines per origin before creating moves
Closes #13941
2026-02-28 15:26:23 +01:00
Cédric Krier b7a8ad390f Use compact SIRET code for legal ids in UNCEFACT Invoice
Since 06e183433933 the identifier code is formatted and not the compact code.
2026-03-16 10:22:14 +01:00
Cédric Krier e9c1da7197 Set a default undefined payment mean in UNCEFACT/CII invoice
Chorus-pro requires to have a SpecifiedTradeSettlementPaymentMeans.
2026-03-16 10:20:09 +01:00
Cédric Krier 3594517396 Avoid redirection in documentation links 2026-03-02 10:58:40 +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 f48a5b156a Use compact identifier code for Spanish identifier code
Since 06e183433933 the identifier code is formatted and not the compact code.
2026-03-15 16:18:06 +01:00
Cédric Krier 33856ac2a1 Add model attribute to table handler 2026-03-14 18:12:02 +01:00
Cédric Krier 2b626f1708 Document history attribute of table handler 2026-03-14 18:11:34 +01:00
Maxime Richez 72efd7a9de Rename also columns in history table when renaming columns
Closes #14561
2026-03-14 18:09:29 +01:00
Adrià Tarroja Caubet f34cbbcbc6 Do not re-number sales from a point of sale once they have been reopened
Closes #14568
2026-03-14 17:35:17 +01:00
Cédric Krier 709832c16b Use currency rounding when currency has no cash rounding set
Closes #14638
2026-03-02 15:23:13 +01:00
Cédric Krier 549f37c82f Test consolidation company selection on invoice numbering 2026-03-09 10:55:14 +01:00
Cédric Krier fb0ff9c7de Do not select the invoice company as consolidation company
Closes #14662
2026-03-09 10:54:45 +01:00
Cédric Krier 22df2b5490 Use integer to set invisible attribute on payment means of invoice
The attribute must be an integer according to the RNG schema and not a string.
2026-03-14 10:36:13 +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 cd48d51cce Use python3 in shebang 2026-03-04 12:36:33 +01:00
Nicolas Évrard 8cd44a1130 Replace jQuery's css by accessing directly the element style
jQuery's css method will call window.getComputedStyle() which will force style
recomputation and often force a layout reflow (e.g. when dealing with grid
properties)
2026-02-02 20:18:18 +01:00
Nicolas Évrard 69265a2d3e Replace jQuery's hide and show by our own implementation
jQuery's implementation triggers forced reflows and style recomputation which
hinders performances. Given that we only care about the node on which the call
is done we can use a simpler and more efficient implementation.

Closes #14330
2025-11-21 16:09:28 +01:00
Nicolas Évrard b9368f8c59 Replace d3 by billboard.js
Close #14313
2026-03-13 15:14:09 +01:00
José Antonio Díaz Miralles 6bbf39afb4 Replace bower by nodejs to handle dependencies
Closes #13566
2024-10-04 20:54:56 +02:00
Maxime Richez f5d77c5420 Move purchase lines in a specific tab in production form
Closes #14663
2026-03-13 09:43:36 +01:00
Adrià Tarroja Caubet 96b876a14d Normalize Sao language codes to BCP 47 format
Normalize lang and locale values to use BCP 47 tags.

Closes #14653
2026-03-05 17:26:35 +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 8607d60cf8 Always allow manual method on sale
Since 77cbf0a1abbe the manual methods can be triggered with a button so it does
not prevent to trigger other methods.

Closes #14622
2026-02-23 18:24:15 +01:00
Cédric Krier 00c723b0eb Manage payment terms from Shopify
The sale is always confirmed when the Shopify order has payment terms.

Closes #14619
2026-02-20 17:50:02 +01:00
Cédric Krier a3493a3f2f Fill payment means when parsing UBL invoice 2026-02-16 10:49:41 +01:00
Cédric Krier 7cb548f280 Add iban compact property to bank account 2026-02-16 13:18:22 +01:00
Cédric Krier 8c36eefc69 Support getting bank from BIC string 2026-02-16 10:48:14 +01:00