Cédric Krier
3970ae4b5f
Increase version number
...
--HG--
branch : 6.0
2025-01-01 20:28:55 +01:00
Cédric Krier
bae29644a1
Prepare release trytond-6.0.57
...
--HG--
branch : 6.0
2025-01-01 20:28:42 +01:00
Cédric Krier
2ededea81f
Include the depends of the getter function when depending on a Function field
...
Since c47b3642f1a6, the getter of a Function field may be called if there is no
value set for it on the instance.
In the on_change context, this may set the missing fields to None if they were
not defined in the depends of the method called. In addition to compute a wrong
value, those fields are then returned as modified.
Closes #13735
(grafted from 1b815539165a1212fc5c415c8920d8f5f0c55236)
--HG--
branch : 6.0
2024-12-05 16:25:16 +01:00
Cédric Krier
fcd634c52e
Increase version number
...
--HG--
branch : 6.0
2024-12-16 18:57:09 +01:00
Cédric Krier
40bcb4ecbd
Prepare release trytond-6.0.56
...
--HG--
branch : 6.0
2024-12-16 18:56:52 +01:00
Cédric Krier
8e261df793
Do not check for integrity error the required fields with set method
...
Closes #13745
(grafted from 55087fb59fc93731a341c3436c5cbc99ea4cf3b1)
--HG--
branch : 6.0
2024-12-11 11:02:07 +01:00
Cédric Krier
7161339920
Increase version number
...
--HG--
branch : 6.0
2024-12-01 19:44:35 +01:00
Cédric Krier
cc4e590f09
Prepare release trytond-6.0.55
...
--HG--
branch : 6.0
2024-12-01 19:44:23 +01:00
Cédric Krier
9bb0c654ca
Add manual migration to documentation
...
(grafted from 212ef9346f52c32c05f665433bd58372455e8b40)
--HG--
branch : 6.0
2024-11-30 19:07:20 +01:00
Cédric Krier
d4f1719a88
Return the inherited view type for inheriting action window view
...
Closes #13659
(grafted from 4aca431b30812b3052635ee829ce75f00ac00a50)
--HG--
branch : 6.0
2024-11-06 13:25:28 +01:00
Cédric Krier
6a701e0a8f
Accept object has type for Greater statements
...
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.
Closes #13645
(grafted from df6e3c10a5105e545e1aa8e58c3c087285146a58)
--HG--
branch : 6.0
2024-11-04 13:09:34 +01:00
Cédric Krier
d01b4330b5
Increase version number
...
--HG--
branch : 6.0
2024-10-18 12:25:08 +02:00
Cédric Krier
b2fb6ef35a
Prepare release trytond-6.0.54
...
--HG--
branch : 6.0
2024-10-18 12:24:55 +02:00
Cédric Krier
13ca95d658
Do not enforce implicit NOT NULL on name field of a tree
...
The `not like` operator implicitly requires the field to be not null but
specific implementation of the named field may allow to have NULL values.
Closes #13592
(grafted from 9af176fb307a975e0af3bf88ad07e098433dcdd1)
--HG--
branch : 6.0
2024-10-11 10:51:04 +02:00
Cédric Krier
0bb8b6177a
Include NULL value for negative search on nested Many2One and Reference
...
This unify the search behavior on relational fields with NULL value started
with c14f51b77b30.
Closes #13585
(grafted from 87456218dcc9b075658f9e2338b120fce9b9a43d)
--HG--
branch : 6.0
2024-10-11 11:24:06 +02:00
Cédric Krier
334d151766
Always return a string for status bar of user
...
Closes #13579
(grafted from 78143b8471e85a91245b58ce2fa85aab3e705a98)
--HG--
branch : 6.0
2024-10-09 20:10:13 +02:00
Cédric Krier
66b8bc3038
Do not compute sequence next number if the SQL sequence does not exist
...
(grafted from c4554eeb56fd98c67b2fbade54dd0f5816d44c79)
--HG--
branch : 6.0
2024-10-09 09:47:15 +02:00
Cédric Krier
080a47c124
Surround exclude expression with parenthesis
...
Closes #13576
(grafted from e3ad47f562e5a8b03d4ff01014c83944c9dbd9ce)
--HG--
branch : 6.0
2024-10-09 17:19:44 +02:00
Cédric Krier
f3ad1e0b6f
Support None as default value for xxx2Many fields
...
Closes #13588
(grafted from 00a4834ae205bfae1b55298ae9263820a074e2cd)
--HG--
branch : 6.0
2024-10-10 09:38:40 +02:00
Cédric Krier
6fd75c9d67
Increase version number
...
--HG--
branch : 6.0
2024-10-05 17:05:53 +02:00
Cédric Krier
c0fcb12c6e
Prepare release trytond-6.0.53
...
--HG--
branch : 6.0
2024-10-05 17:05:42 +02:00
Cédric Krier
ad9869f5b5
Start PostgreSQL URI path with a '/'
...
Since https://github.com/python/cpython/issues/76960 if the path of the URI
does not start with a '/', the netloc is removed.
Closes #13543
(grafted from 6d420b9f4bffc77dc599abff4b7f8e17a061542d)
--HG--
branch : 6.0
2024-09-24 10:19:57 +02:00
Cédric Krier
24f7461f35
Do not fail to clean fields from missing model from the pool
...
Closes #13504
(grafted from e78241520f0bc57f26f11f788659fadf1ca8f891)
--HG--
branch : 6.0
2024-09-12 13:17:37 +02:00
Cédric Krier
b43128dc8b
Increase version number
...
--HG--
branch : 6.0
2024-09-16 20:12:35 +02:00
Cédric Krier
45e567bb34
Prepare release trytond-6.0.52
...
--HG--
branch : 6.0
2024-09-16 20:12:24 +02:00
Cédric Krier
8ccb7bd69f
Retrieve groups of actions without checking access
...
Closes #13506
(grafted from a8af930151c65ad1c3fe6e3fbce285109c26fb42)
--HG--
branch : 6.0
2024-09-12 16:33:03 +02:00
Cédric Krier
86431b0e26
Check read access of report records
...
Closes #13505
(grafted from cbd8e185bb320df9967fc41c542ef96c56ad548f)
--HG--
branch : 6.0
2024-09-12 16:09:39 +02:00
Cédric Krier
557f216da5
Retry to get a connection when an OperationalError is raised
...
If there are no connection available in the pool, psycopg2 tries to create a
new connection but it may raise an OperationalError if the server close it.
Closes #13475
(grafted from cecbc1736f2d0fdd8a77c1dcdfe81e23cf99f451)
--HG--
branch : 6.0
2024-08-26 09:33:58 +02:00
Cédric Krier
a61799cdc3
Pin setuptools version in tox env
...
We use the command test from setuptools which has been removed in version
72.0.0.
Closes #13510
--HG--
branch : 6.0
2024-09-13 16:37:56 +02:00
Cédric Krier
891057a861
Do not set default escape char for like operators
...
Backed out changeset 98650685d8ab because it requires python-sql >= 1.4
Closes #13333
--HG--
branch : 6.0
2024-09-07 16:47:10 +02:00
Cédric Krier
ff9db1b9b8
Increase version number
...
--HG--
branch : 6.0
2024-09-01 13:36:21 +02:00
Cédric Krier
9ef991f573
Prepare release trytond-6.0.51
...
--HG--
branch : 6.0
2024-09-01 13:36:10 +02:00
Cédric Krier
319e50cb5d
Close connection when listing or testing PostgreSQL databases
...
Closes #13441
(grafted from 18a811563d659b025b09973157f9d90a7dea8e6f)
--HG--
branch : 6.0
2024-08-07 17:49:10 +02:00
Cédric Krier
aa0e0caaa3
Increase version number
...
--HG--
branch : 6.0
2024-08-01 21:33:02 +02:00
Cédric Krier
b2e89f6389
Prepare release trytond-6.0.50
...
--HG--
branch : 6.0
2024-08-01 21:32:46 +02:00
Cédric Krier
0507d6b0c7
Do not store empty list for MultiSelection key of Dict
...
Closes #13376
(grafted from 15a76a9d124c436ccbc1d9a9d9cde94731be8cde)
--HG--
branch : 6.0
2024-06-30 01:55:55 +02:00
Cédric Krier
0a5bf1ceb6
Increase version number
...
--HG--
branch : 6.0
2024-07-17 23:37:34 +02:00
Cédric Krier
1f0e65d1c8
Prepare release trytond-6.0.49
...
--HG--
branch : 6.0
2024-07-17 23:37:17 +02:00
Cédric Krier
57a1398ef5
Cast numeric columns for order expression on SQLite
...
Closes #13397
(grafted from 97e889240413ac521a15dc81453499bb888039c0)
--HG--
branch : 6.0
2024-07-13 15:35:01 +02:00
Cédric Krier
cba76e245a
Set type declaration in column names of SQLite only on top-level query
...
Closes #12532
(grafted from c07764f86f1655997d1271a5d2b30b9607a02a72)
--HG--
branch : 6.0
2024-06-30 16:25:41 +02:00
Cédric Krier
74a69ef57d
Fix test_set_key of FieldDictTestCase
...
Closes #13314
(grafted from 00f2b092c74fd4b8974a464f7685f24e71a6e025)
--HG--
branch : 6.0
2024-06-08 17:19:40 +02:00
Cédric Krier
fb6ae4953f
Increase version number
...
--HG--
branch : 6.0
2024-06-15 11:03:52 +02:00
Cédric Krier
d42e12f425
Prepare release trytond-6.0.48
...
--HG--
branch : 6.0
2024-06-15 11:03:37 +02:00
Cédric Krier
41d735ab4d
Do not convert to False when importing translated translated which is empty
...
Closes #13276
(grafted from 6e744a5da63179ef8f8d2bc2ed69e6188163d618)
--HG--
branch : 6.0
2024-05-22 18:07:32 +02:00
Cédric Krier
4bf8dfb182
Do not commit readonly transaction even with channel
...
Even if the backend allows NOTIFY query on readonly transaction, it is strange
to commit readonly transaction because the backend may not enforce the
readonly.
Also commit performs other actions that may not be wanted like commit
datamanager or clear cache.
A procedure that requires to perform a NOTIFY should have a non-readonly
transaction.
Closes #12542
(grafted from 03611153e9bc9a0d169447c4ca946ad49c81ad47)
--HG--
branch : 6.0
2024-05-23 14:22:42 +02:00
Cédric Krier
cf8f04be0b
Use a readonly transaction to load module without update
...
Closes #12542
(grafted from 62775217456fe35fcc19a49d527f3baba67b0149)
--HG--
branch : 6.0
2024-05-23 14:18:51 +02:00
Cédric Krier
e3d5d30060
Increase version number
...
--HG--
branch : 6.0
2024-06-02 17:58:05 +02:00
Cédric Krier
6dc96c5b9b
Prepare release trytond-6.0.47
...
--HG--
branch : 6.0
2024-06-02 17:57:52 +02:00
Nicolas Évrard
fd2dbc8ad3
Use English when fetching records from the database
...
Closes #13204
(grafted from f4d5c22dd02905eb6007b5661d720147ee6ce1fe)
--HG--
branch : 6.0
2024-04-18 19:00:34 +02:00
Cédric Krier
61b8e0e1e6
Increase version number
...
--HG--
branch : 6.0
2024-05-01 11:10:32 +02:00