Commit Graph
6075 Commits
Author SHA1 Message Date
Cédric Krier 39b4f19a8b Prepare release 6.0.3 [skip ci]
--HG--
branch : 6.0
2021-07-01 21:37:20 +02:00
Nicolas Évrard c62f34fb3a Add support for SQL expression to sqlite's TRIM
issue10510
review352121003
(grafted from 3b899a065dce3c18d07ab1829bfb943f576ba9e9)

--HG--
branch : 6.0
2021-06-16 14:55:46 +02:00
Cédric Krier 4a6e513544 Set field context when validate domain
issue10386
review336171002
(grafted from 3f6ad2b8a63147715020daa288c4a3fe30d51769)

--HG--
branch : 6.0
2021-06-06 09:27:28 +02:00
Cédric Krier ef89874b8e Increase version number
--HG--
branch : 6.0
2021-05-15 22:35:22 +02:00
Cédric Krier 0f9a81bcee Add tag 6.0.2 [skip ci]
--HG--
branch : 6.0
2021-05-15 22:35:08 +02:00
Cédric Krier c9fadf5cfc Prepare release 6.0.2 [skip ci]
--HG--
branch : 6.0
2021-05-15 22:35:08 +02:00
Cédric Krier 7a265df611 Import unittest.mock before using it
issue10422
(grafted from de104ed0f6a829435c2aa93b3652707169f46404)

--HG--
branch : 6.0
2021-05-15 17:53:23 +02:00
Cédric Krier 48e240c454 Use start and stop methods of patch in scenario
This ensure that the modification on the object are removed at the end of the
scenario.

issue10422
review332891002
(grafted from 3ecfbf3586e429a78b9e40eb3d9702944e27a316)

--HG--
branch : 6.0
2021-05-15 09:22:28 +02:00
Cédric Krier 1677c62be1 Increase version number
--HG--
branch : 6.0
2021-05-07 22:27:28 +02:00
Cédric Krier 7a35d8523e Add tag 6.0.1 [skip ci]
--HG--
branch : 6.0
2021-05-07 22:27:12 +02:00
Cédric Krier 81eb3c218f Prepare release 6.0.1 [skip ci]
--HG--
branch : 6.0
2021-05-07 22:27:12 +02:00
Cédric Krier b478c2d241 Remove _request key from cache's context
issue10376
review351901002
(grafted from 32c2df0914f6702aa98adb0a6acbd744d93ec057)

--HG--
branch : 6.0
2021-05-05 23:14:54 +02:00
Cédric Krier 391b551efb Pop cache keys from a copy of the context
Otherwise it modifies the context for the all transaction.

issue10380
review358061003
(grafted from b0a5d11ac400a8d1381e2950d3362ac3c287b4a0)

--HG--
branch : 6.0
2021-05-05 23:12:49 +02:00
Cédric Krier 28350c7f66 Do not test empty res_model against ModelSingleton
res_model is not required so it can be empty.

issue10387
review348321002
(grafted from 8ba2630e8589de543bfebf4c3077347e6f41951e)

--HG--
branch : 6.0
2021-05-05 23:10:30 +02:00
Cédric Krier 1cb4866607 Skip avatar test if PIL is not installed
(grafted from 4d216b768a9c802ddd8c285c278dc9c2df50112c)

--HG--
branch : 6.0
2021-05-05 18:09:08 +02:00
Cédric Krier 134e9cee74 Ignore pool refresh if _modules is None
issue10383
review332831002
(grafted from 0e4019dbbf2cf4e2827ede3127ed1d97dcb717b7)

--HG--
branch : 6.0
2021-05-05 12:03:41 +02:00
Cédric Krier c8e162e0d2 Increase version number
--HG--
branch : 6.0
2021-05-03 15:32:17 +02:00
Cédric Krier ddd7219b03 Create branch 6.0 [skip ci]
--HG--
branch : 6.0
2021-05-03 15:32:16 +02:00
Cédric Krier 09f135800d Add tag 6.0.0 [skip ci] 2021-05-03 15:32:01 +02:00
Cédric Krier 768227e5b7 Prepare release 6.0.0 [skip ci] 2021-05-03 15:32:00 +02:00
Cédric Krier 48823b39ca Update translations [skip ci] 2021-05-02 10:30:14 +02:00
Cédric Krier fcc4ced2f7 Add Romanian [skip ci]
issue9110
review301541002
2021-05-02 09:56:34 +02:00
Cédric Krier 254cff6a03 Add missing bracket in logging format example 2021-04-29 16:11:02 +02:00
Cédric Krier 95b1d4cf12 Ensure one status thread is started per process
issue10335
review349751004
2021-04-28 00:33:38 +02:00
Cédric Krier f4669ab6e9 Skip lazy string translation when model is no more in the Pool
issue10351
2021-04-27 10:38:24 +02:00
Cédric Krier 92d98b36ff Translate LazyString of ir.model and ir.model.field
issue10326
review321041002
2021-04-25 18:19:29 +02:00
Cédric Krier e4015d7bf3 Include records without link with negative search on xxx2many
issue10178
review345981002
2021-04-25 17:56:39 +02:00
Cédric Krier 1ee46331ef Add domain to cron time fields
issue10193
review332661010
2021-04-24 19:28:39 +02:00
Cédric Krier 42cb4a0f53 Set name clause on join condition instead of subquery
The name is a column from a table that is not available in the subquery.

issue10257
review346001004
2021-04-24 19:27:07 +02:00
Cédric Krier 1b40a6461d Do not fail if __main__ has not __file__ attribute
This happens when trytond is launched by a server like uwsgi.

issue10333
review334241002
2021-04-24 19:24:27 +02:00
Cédric Krier 7cd224905e Do not use root user to validate records
It is no more needed as record rules are now ignored by _check_access.

issue10303
review357871002
2021-04-23 22:59:19 +02:00
Albert Cervera i Areny f56915879f Fix typo in test_depend_exists message
issue10305
review342151002
2021-04-23 20:14:57 +02:00
Cédric Krier 22370bebaf Ensure sequence_ordered is ASC
issue10299
review334181002
2021-04-22 23:44:39 +02:00
Cédric Krier 23658d9e06 Update logging message for re-run update
issue10286
review357811002
2021-04-21 23:54:43 +02:00
Cédric Krier 14ccff94a0 Use order definition of xxx2Many fields
When empty it must be the order of the target and it must not be encoded as it
can not be PYSON.

issue10297
review349721004
2021-04-21 23:47:30 +02:00
Cédric Krier d7b3e7a2ef Add missing ending quote to missing method message 2021-04-19 18:01:19 +02:00
Cédric Krier ef72790b98 Remove documentation warning about _check_access
It is not more valid since issue4080.
2021-04-14 10:37:22 +02:00
Cédric Krier 2afbbac4c3 Use qmark instead of format as paramstyle for SQLite
issue10283
2021-04-14 10:11:42 +02:00
Cédric Krier 7aa2ef6b5e Do not set _timestamp on fake singleton instance
It is not really useful because the id of the future record can not be guessed
for sure by the client.
Also when write is called with such fake _timestamp as singleton create the
record before actually write, the timestamp check always fails (if the id was
correctly guessed).

issue10282
2021-04-14 00:39:56 +02:00
Sergi Almacellas Abellana c95520b38a Concatenate cascade string to drop table before converting to SQL
issue10278
review332571002
2021-04-13 18:17:22 +02:00
Sergi Almacellas Abellana baa364f808 Only test column varchar size when set
issue10276
review338071003
2021-04-13 14:22:48 +02:00
Sergi Almacellas Abellana a779eefbfd Add missing rename word in postgresql sequence rename
issue10275
review338071002
2021-04-13 12:06:56 +02:00
Cédric Krier 4acc4c8467 Do not warn about single '/' as path in database uri
This is a valid configuration according to the documentation.

issue10101
2021-04-13 01:45:30 +02:00
Cédric Krier ab192ea0cc Set backend scheme to uses netloc
The netloc is required in dsn.

issue10101
2021-04-13 01:43:52 +02:00
Cédric Krier 012ca5824e Alter column type to change size on postgresql table
issue7331
2021-04-13 01:41:30 +02:00
Nicolas Évrard 2f08e73ba2 Escape identifiers in backend
issue10245
review317021002
2021-04-12 23:07:55 +02:00
Cédric Krier c76743ee0c Keep raising exception when DB path of SQLite does not exist
issue10101
2021-04-12 22:08:36 +02:00
Nicolas Évrard ffe62f46e8 Allow column sql types to be tested from the table handler
issue9645
review312421002
2021-04-12 20:56:08 +02:00
Nicolas Évrard 7417261c8d Use specific search domain for reference field searches
issue9997
review324781002
2021-04-12 20:54:03 +02:00
Nicolas Évrard a5e3d0b0f8 Add support for database connection parameters to configuration URI
issue10101
review339891002
2021-04-12 20:39:23 +02:00