Commit Graph
5226 Commits
Author SHA1 Message Date
Cédric Krier ec1fa04b00 Increase version number
--HG--
branch : 7.0
2025-03-04 22:14:45 +01:00
Cédric Krier d3b922e3b1 Prepare release trytond-7.0.27
--HG--
branch : 7.0
2025-03-04 22:14:34 +01:00
Cédric Krier e91da82b33 Prohibit calling convert_order on Function field
Closes #13872
(grafted from 7c043ecbd617b2b318d7e3219500c901b0b85127)

--HG--
branch : 7.0
2025-02-15 01:15:07 +01:00
Cédric Krier 7905d8860c Do not try to delete XML data without id
If the record has already been cleaned, there is no need to try to delete again.
(grafted from e5ed9fc71d218c967bdbfc9489773905e5a5466c)

--HG--
branch : 7.0
2025-02-10 01:39:24 +01:00
Cédric Krier 2832202434 Do not fail to translate model field that does not exist
(grafted from e63effe09ce756cd0e66ad635255dedc8d807c7b)

--HG--
branch : 7.0
2025-01-29 23:23:22 +01:00
Cédric Krier 92ec1a4565 Set access as readonly on model field when module is set
(grafted from fd1d0abd2a9256813c654f609b158be3ce3ef9f3)

--HG--
branch : 7.0
2025-01-29 23:20:40 +01:00
Cédric Krier 10b50cb909 Increase version number
--HG--
branch : 7.0
2025-02-16 11:57:49 +01:00
Cédric Krier c0691df5e0 Prepare release trytond-7.0.26
--HG--
branch : 7.0
2025-02-16 11:57:37 +01:00
Cédric Krier dec9d9b7bc Do not fail to clean when help selection is None
Closes #13862
(grafted from 7459598460593b98dd6a04ecf24551266290e2eb)

--HG--
branch : 7.0
2025-02-09 19:51:04 +01:00
Cédric Krier 95943b3ade Disable counting in super search call of ResourceAccessMixin only when enforcing access
The search method must always return an integer when count is True.

Closes #13846
(grafted from 491dea19bb6bc72547c1038c1f3a8ceb56e4a068)

--HG--
branch : 7.0
2025-01-29 11:45:42 +01:00
Cédric Krier 3fcddd6029 Read only the image from the selected cache
Using the instance from the list of cache, the ORM read the image for all the
linked cache which is unnecessary.

Closes #13831
(grafted from 4dd742a6d7cb8765364387d95fbc54c3ed86bce9)

--HG--
branch : 7.0
2025-01-21 18:35:56 +01:00
Cédric Krier 8f5dfc5b18 Always define translation source name
The source name may be used to translate the help selection.

Closes #13839
(grafted from 1b88570858c0188293c5531ce86b1eef96d23086)

--HG--
branch : 7.0
2025-01-26 17:01:20 +01:00
Cédric Krier 9742f926c7 Create translation entries for help selection values
Closes #13840
(grafted from c8b60954484f6111ce028ad76dd3a9bfd6f367fc)

--HG--
branch : 7.0
2025-01-26 17:06:46 +01:00
Cédric Krier 32d41e20fd Increase version number
--HG--
branch : 7.0
2025-02-01 18:07:23 +01:00
Cédric Krier 427af60a16 Prepare release trytond-7.0.25
--HG--
branch : 7.0
2025-02-01 18:07:10 +01:00
Cédric Krier a8bad84945 Close the SQLite connection to memory database when the database has been dropped
Instead of relying on the garbage collector to close the connection by deleting
the object, this ensures that the memory database is actually dropped before a
new connection is instantiated and keep the database.

Closes #13796
(grafted from 0a2239fb548b5b20a9ae4d4a8c8c6c34cfed5683)

--HG--
branch : 7.0
2025-01-16 09:47:25 +01:00
Cédric Krier 860e42e0c6 Create target SQLite database before copying when restoring SQLite database
Closes #13795
(grafted from cf99ddf9358a6c1e05c5e17bfe9d41fe63b29c20)

--HG--
branch : 7.0
2025-01-05 16:15:17 +01:00
Cédric Krier 9df7de274a Allow running field binary tests with a non memory SQLite database
By setting the filestore path as a global variable, we can modify it for the
test without changing the database path where the SQLite databases are stored.

Closes #13792
(grafted from b431c4c5ddcf6556dcfd502bad748e18d596040a)

--HG--
branch : 7.0
2025-01-05 16:02:39 +01:00
Cédric Krier 4c8d371cf6 Instantiate One2One target when the context of the field
Closes #13819
(grafted from 0b5ee6e071f83054de3a0c518318c4d1bd11d449)

--HG--
branch : 7.0
2025-01-14 01:19:00 +01:00
Cédric Krier c2ddb35142 Expand dictionary value set to a One2One field
Closes #13818
(grafted from 6fa9bacb3d4bbd534f88c945e0dddf6bfef3e4a6)

--HG--
branch : 7.0
2025-01-14 01:07:33 +01:00
Cédric Krier cfcf0c7a06 Remove python type inherited from Many2Many of One2One
The python type is used to test the type of value set but for One2One it is an
instance which can not be tested with a simple Python type.

Closes #13817
(grafted from 34725c999ed27d30323e3dbc605b5c8522c8b924)

--HG--
branch : 7.0
2025-01-14 01:04:46 +01:00
Cédric Krier d4c8b38220 Increase version number
--HG--
branch : 7.0
2025-01-16 18:27:37 +01:00
Cédric Krier 0b5f67ea8c Prepare release trytond-7.0.24
--HG--
branch : 7.0
2025-01-16 18:27:24 +01:00
Cédric Krier 4c381e4b71 Limit the worker retry delay to maximum 1 hour
Closes #13779
(grafted from b6f5daac0e2b605ca23b360e80066e51eca5bcfb)

--HG--
branch : 7.0
2024-12-26 12:47:08 +01:00
Cédric Krier 6ce93915d9 Increase version number
--HG--
branch : 7.0
2025-01-01 20:28:26 +01:00
Cédric Krier 347cc038ac Prepare release trytond-7.0.23
--HG--
branch : 7.0
2025-01-01 20:28:10 +01:00
Cédric Krier 6d194a37aa Do not delete optional value for fields not set by the call
The same view may have different set of fields if it is extended conditionally.

Closes #13758
(grafted from 826ac4da1e20acd1e1b5aec3c3aaa00f04cdc81b)

--HG--
branch : 7.0
2024-12-16 15:38:11 +01:00
Cédric Krier c0718c9d4b Retry locking tables at the same speed as the dispatcher request
(grafted from 1e361bb682500fb423418719d6ee1d9f2e237f82)

--HG--
branch : 7.0
2024-12-18 13:51:44 +01:00
Cédric Krier 919d7ff34f 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 : 7.0
2024-12-05 16:25:16 +01:00
Cédric Krier fddf4ff434 Increase version number
--HG--
branch : 7.0
2024-12-16 18:55:30 +01:00
Cédric Krier 742cc4a129 Prepare release trytond-7.0.22
--HG--
branch : 7.0
2024-12-16 18:55:15 +01:00
Cédric Krier 761fb07908 Do not check for integrity error the required fields with set method
Closes #13745
(grafted from 55087fb59fc93731a341c3436c5cbc99ea4cf3b1)

--HG--
branch : 7.0
2024-12-11 11:02:07 +01:00
Cédric Krier 08ba7b656c Do not quit the SMTP sever on 421 error code
smtplib is already closing the connection when such error code is received.

Closes #13710
(grafted from e91426cb5d9db204250399823ab9e2acba640b1f)

--HG--
branch : 7.0
2024-11-28 14:47:11 +01:00
Cédric Krier d3615ec1af Increase version number
--HG--
branch : 7.0
2024-12-01 19:28:51 +01:00
Cédric Krier 0fbb0bbf22 Prepare release trytond-7.0.21
--HG--
branch : 7.0
2024-12-01 19:28:41 +01:00
Cédric Krier 0dce579f67 Add manual migration to documentation
(grafted from 212ef9346f52c32c05f665433bd58372455e8b40)

--HG--
branch : 7.0
2024-11-30 19:06:26 +01:00
Cédric Krier 15b80c50c0 Do not get a new connection when retrying to lock table on transaction start
Closes #13661
(grafted from a36a983afe44fc569c04db4d3db71146400b6422)

--HG--
branch : 7.0
2024-11-06 13:57:10 +01:00
Cédric Krier 43981958e1 Return the inherited view type for inheriting action window view
Closes #13659
(grafted from 4aca431b30812b3052635ee829ce75f00ac00a50)

--HG--
branch : 7.0
2024-11-06 13:25:28 +01:00
Cédric Krier f1274d80bd 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 : 7.0
2024-11-04 13:09:34 +01:00
Cédric Krier 5cfa3af026 Increase version number
--HG--
branch : 7.0
2024-10-18 12:21:47 +02:00
Cédric Krier 3679b3c9ba Prepare release trytond-7.0.20
--HG--
branch : 7.0
2024-10-18 12:21:36 +02:00
Cédric Krier 50ee1418f2 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 : 7.0
2024-10-11 10:51:04 +02:00
Cédric Krier 1dcbb0255c 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 : 7.0
2024-10-11 11:24:06 +02:00
Cédric Krier 7cdf85df71 Always return a string for status bar of user
Closes #13579
(grafted from 78143b8471e85a91245b58ce2fa85aab3e705a98)

--HG--
branch : 7.0
2024-10-09 20:10:13 +02:00
Cédric Krier 89d1a8a4ad Do not compute sequence next number if the SQL sequence does not exist
(grafted from c4554eeb56fd98c67b2fbade54dd0f5816d44c79)

--HG--
branch : 7.0
2024-10-09 09:47:15 +02:00
Cédric Krier 47d012aadd Surround exclude expression with parenthesis
Closes #13576
(grafted from e3ad47f562e5a8b03d4ff01014c83944c9dbd9ce)

--HG--
branch : 7.0
2024-10-09 17:19:44 +02:00
Nicolas Évrard cac5ebd099 Update only the actual ir.model and ir.model.field translations
Closes #13546
(grafted from 6bcdb4cbdb0e27e9e22bd1bb5e660307c2e518be)

--HG--
branch : 7.0
2024-10-01 16:45:46 +02:00
Cédric Krier 4ce3cf1bd5 Support None as default value for xxx2Many fields
Closes #13588
(grafted from 00a4834ae205bfae1b55298ae9263820a074e2cd)

--HG--
branch : 7.0
2024-10-10 09:38:40 +02:00
Cédric Krier 0a8cf8d4d9 Increase version number
--HG--
branch : 7.0
2024-10-05 17:03:28 +02:00
Cédric Krier 0c0fa1d792 Prepare release trytond-7.0.19
--HG--
branch : 7.0
2024-10-05 17:03:16 +02:00