Sergi Almacellas Abellana
1d6b88afaa
Test column_ methods in tests_fields_methods
2026-07-06 20:05:23 +02:00
Cédric Krier
907c6a49fe
Remove entry_points_selectable backport
...
Since c0f49db907fc the minimal Python version is 3.10 which supports selectable
entry-points.
2026-07-07 19:19:25 +02:00
Cédric Krier
059a304bc9
Set an UPS account number to the custom agent in test scenario
...
#14876
2026-07-13 17:25:29 +02:00
Cédric Krier
e8d82af6f2
Bill duties and charges to the customs agent for UPS shipment charges
...
Closes #14876
2026-06-03 16:01:25 +02:00
Cédric Krier
7f84a95b00
Remove only lot expiring in the future
...
Closes #13901
2025-03-04 22:05:19 +01:00
Cédric Krier
6af819c289
Do not dumps/loads context domain in URL
...
The context domain must be evaluated only by the screen when doing a domain
search.
Closes #14921
2026-07-08 15:03:35 +02:00
Cédric Krier
278896eac3
Add documentation for DatabaseTimeoutError
2026-07-08 23:01:08 +02:00
Cédric Krier
e317c87911
Return Gateway Timeout instead of Request Timeout for database timeout
...
Closes #14945
2026-07-08 22:12:42 +02:00
Cédric Krier
0c29a67c06
Add missing duration argument to database timeout warning
...
Closes #14944
2026-07-08 22:23:38 +02:00
Cédric Krier
d4252d01f2
Remove unnecessary image definition for check-dist
2026-07-06 23:36:42 +02:00
Cédric Krier
ef965ed384
Center checkbox in editable tree
...
For the auto margin to center the input, it must be displayed as block without
float.
Closes #14942
2026-07-08 14:59:54 +02:00
Cédric Krier
ca659201cd
Add a refund line for Shopify refund that are not linked to items
...
Closes #14875
2026-06-16 20:40:21 +02:00
Cédric Krier
bc8151c822
Process Shopify sale only if the authorized payment amount is greater than the amount to pay
...
The correction of #14816 was wrong and the amount to pay should be modified if
there is a global refund.
2026-06-03 15:06:05 +02:00
Sergi Almacellas Abellana
99b6830032
Add cache on import_module tool
...
Closes #14936
2026-07-07 17:16:02 +02:00
Cédric Krier
0839c83a2f
Add missing error message when no bank account is found when parsing UBL invoice
...
Closes #14938
2026-07-08 08:54:37 +02:00
Cédric Krier
fca02700e9
Re-raise transaction error from sub-test of button
...
Since a05fa06b3a4c the test of button is executed under the subTest context
manager but if the method is raising a TransactionError, it is considered as a
failure for the test.
But we need this exception to be raised up to the with_transaction decorator in
order to fix the transaction and execute fully the method of the button.
2026-07-07 19:16:08 +02:00
Cédric Krier
47ce216f35
Select the first supplier when all suppliers have the same maximum supply date
...
Since all suppliers have the same supply delay, the order must be used for
selection.
Closes #14939
2026-07-08 09:19:35 +02:00
Cédric Krier
fca6a120f0
Use NullConnectionPool for the default database
...
The default database is template1 which is usually used to create new database.
Keeping a pool of connection open on it prevents the creation of new database
because exclusive access is needed on the template.
Closes #14935
2026-07-06 19:34:24 +02:00
Cédric Krier
55b1cd06d3
Put agent field in sale form on a new line
...
This prevents to break the layout of other modules adding fields to the same
tab.
Closes #14934
2026-07-06 19:15:08 +02:00
Sergi Almacellas Abellana
eee72298d0
Remove empty space in account consolidation scenario
2026-07-06 20:04:18 +02:00
Cédric Krier
899ecc39e9
Update DPD API to Shipment Service 4.5
2026-06-24 11:01:19 +02:00
Cédric Krier
4ddc5340b8
Permit __url__ and __href__ attribute usage in Genshi evaluation
...
Closes #14932
2026-07-06 09:07:08 +02:00
Nicolas Évrard
2743c2abaa
Use subtest for each button method tested
2026-07-07 07:31:32 +02:00
Cédric Krier
16f19e9d0b
Add warning when deleting account reconciliation linked to receivable rule
...
Closes #14891
2026-07-07 00:04:54 +02:00
Cédric Krier
aacc97f905
Add support for reducing size of char if all rows are lower
2026-06-26 00:09:48 +02:00
Cédric Krier
07408dea49
Ensure "amount to pay today" of invoice is always positive
...
When a payment for the invoice is booked before the maturity date, the "amount
to pay today" must not become negative.
Closes #14924
2026-07-02 16:40:30 +02:00
Cédric Krier
4bada51330
Set danger visual on supplier invoice when amount to pay is greater than 0
...
The amount to pay is always positive so the test must be "greater than 0".
Closes #14925
2026-07-02 16:38:57 +02:00
Cédric Krier
1b92494767
Include context domain in URL and tab comparison
...
Closes #14921
2026-07-01 13:16:19 +02:00
Cédric Krier
91434daade
Define index using COALESCE for nullable Char fields
...
Closes #14909
2026-06-24 22:07:52 +02:00
Cédric Krier
23d9c20172
Do not apply COALESCE on required Char
...
Closes #14909
2026-06-24 22:06:59 +02:00
Cédric Krier
60f9a5c993
Optimize search on account's code
...
Closes #14910
2026-06-24 22:00:10 +02:00
Adrià Tarroja Caubet
232822d251
Add a comma between 'set' and 'slice' in the Genshi allowed builtins
...
Closes #14928
2026-07-04 00:17:12 +02:00
Cédric Krier
fe47b03167
Replace getattr by hasattr in general journal report
...
Closes #14929
2026-07-03 13:37:38 +02:00
Cédric Krier
5f042a5847
Use package name as start directory for tox unittest when using prefix
...
Closes #14926
2026-07-02 22:59:30 +02:00
Sergi Almacellas Abellana
7f5fc1b224
Return False when scanning code fails instead of using an invalid empty list
...
Closes #14923
2026-07-03 15:31:25 +02:00
Nicolas Évrard
9b35c9722e
Find the page in the direct children only
...
Closes #14918
2026-06-30 22:03:11 +02:00
Cédric Krier
67239eb9b4
Use rule check to enforce read access on report ids
2026-06-23 22:03:36 +02:00
Cédric Krier
d8b6da56a1
Enforce access rights on the email template record on marketing email
...
Closes #14907
2026-06-23 22:03:06 +02:00
Cédric Krier
c0fc6bf6f0
Enforce access rights on the email template record of marketing automation
...
Closes #14907
2026-06-23 22:02:47 +02:00
Cédric Krier
2e84b60e75
Enforce access right on the email template record
...
Closes #14907
2026-06-30 09:48:33 +02:00
Cédric Krier
8df60185f5
Add ModelAccessProxy
...
#14907
2026-06-25 13:31:30 +02:00
Cédric Krier
80a69bb67d
Replace getattr by hasattr in report
2026-06-09 13:01:23 +02:00
Cédric Krier
d1aba4dbb5
Restrict Genshi evaluation
...
Closes #14869 #5160
2026-06-08 23:44:10 +02:00
Cédric Krier
32cae6b2cb
Retry mutation query for Shopify tests
2026-06-25 19:03:12 +02:00
Cédric Krier
848b0d5773
Use clausify when grouping tokens from domain parser
2026-06-29 18:07:05 +02:00
Cédric Krier
fa0f6ce353
Clausify each clause of the parsed domain on date/time equality
...
Closes #14917
2026-06-29 18:06:10 +02:00
Cédric Krier
a574780de1
Set only one quantity per line items when creating Shopify fulfillment
...
Closes #14912
2026-06-25 15:26:30 +02:00
Cédric Krier
d549c14866
Use entry amount when amount is missing from details
...
Closes #14904
2026-06-22 11:14:23 +02:00
Cédric Krier
c8b75d6c5e
Resolve Tryton modules using entrypoints
...
The Pool tries to resolve registered string using the path `trytond.modules.`
which can not always be imported if the module is using an entry pointing to
another package.
Closes #14914
2026-06-26 15:17:14 +02:00
Cédric Krier
02c4177b08
Update the version of Stripe used
2026-06-28 15:22:54 +02:00