Commit Graph
5181 Commits
Author SHA1 Message Date
Cédric Krier 0945fd9b9c Initialize the pool before running queue or cron tasks
issue11400
review384981002
2022-04-19 13:21:42 +02:00
Cédric Krier 656fdc9729 Dumps Dict values in UTF-8 instead of ASCII
This is how they are stored in the database and so we must use also the UTF-8
version when using unaccent to properly remove the accents.

issue11418
2022-04-18 19:40:01 +02:00
Cédric Krier 63c26bbeea Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:20 +02:00
Cédric Krier 38efaaf887 Escape wildcard in tree separator for name domain
issue11321
review356281002
2022-04-16 11:25:38 +02:00
Nicolas Évrard 86534e2116 Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:54 +02:00
Cédric Krier 5288ffac8c Validate domain of view search
issue11380
review354871002
2022-04-12 10:47:17 +02:00
Cédric Krier ca287e019a Test that all XML view and SVG icon files are used
issue10830
review375751002
2022-04-12 10:35:40 +02:00
Cédric Krier 4ecc0c4c71 Add notification message
issue11065
review367951004
2022-04-11 23:41:21 +02:00
Cédric Krier fcbe0df011 Add validate_fields to ModelStorage
issue11303
review386191002
2022-04-11 23:24:21 +02:00
Cédric Krier c0451724c7 Drop support for PyPy and psycopg2cffi
issue11330
review386371003
2022-04-10 19:10:14 +02:00
Cédric Krier cd64bd7cef Remove unused get_eval_fields import
issue11134
2022-04-10 17:24:15 +02:00
Cédric Krier d891753f56 Clean import 2022-04-09 00:00:16 +02:00
Cédric Krier d80325acf3 Add datetime_field, filename and digits to display_depends
issue11134
2022-04-09 00:05:27 +02:00
Cédric Krier 2f85de3b31 Import cached_property from trytond tools 2022-04-08 21:56:25 +02:00
Nicolas Évrard ccd48d320c Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier 860fb136e0 Update rec_name of tree with on_change
issue11021
review403131002
2022-04-08 09:55:23 +02:00
Cédric Krier 9f5f7306e0 Make warning check re-entrant
issue11341
review354821002
2022-04-08 09:50:47 +02:00
Cédric Krier a51a6850b8 Add string to next call column of scheduled actions
issue11331
review378531004
2022-04-08 09:47:53 +02:00
Cédric Krier e46a277f6d Make date_trunc case insensitive for SQLite
issue11365
review403201002
2022-04-06 18:54:05 +02:00
Cédric Krier cb29495dca Use psycopg2cffi only if there is no psycopg2
issue11329
review354791002
2022-04-06 18:40:49 +02:00
Cédric Krier 12c818140f Raise domain and context error from exception 2022-04-05 09:49:28 +02:00
Cédric Krier 1c55eee094 Manage DatabaseDataError in ModelSQL
issue11314
review399111003
2022-04-04 00:35:38 +02:00
Cédric Krier 115d185c55 Remove support for pysqlite2
issue11316
review366931002
2022-04-04 00:14:03 +02:00
Cédric Krier 60a6d5f390 Do not import empty One2Many data
issue11308
review388081002
2022-04-04 00:11:26 +02:00
Cédric Krier c126deaab5 Allow setting wsgi configuration with environment variables
issue11307
review375031002
2022-04-04 00:08:59 +02:00
Cédric Krier f24c6e8e87 Do not start status report on platform without AF_UNIX socket
issue11319
review393871002
2022-04-01 23:48:06 +02:00
Nicolas Évrard 5e78e9bccc Add compatibility with Werkzeug 2.1.0
issue11353
review356241003
2022-03-31 13:43:36 +02:00
Nicolas Évrard 27135a1bb7 Deduplicate entries in domain inversion's simplify
issue11248
review397301002
2022-03-30 19:20:31 +02:00
Cédric Krier db560a4a8f Rename queue.py into queue_.py
queue is already a module from the stdlib.

issue11305
review388071002
2022-03-26 13:06:48 +01:00
Cédric Krier 7c8e01c08d Prevent to create and delete singleton
issue1639
review378481002
2022-03-26 13:03:39 +01:00
Cédric Krier 57b1e4b69d Support PYSON size for Char field
issue11315
review390241005
2022-03-26 12:00:33 +01:00
David Harper b6e57422ec Allow CORS on root path
issue10974
review379651002
2022-03-24 09:59:09 +00:00
Sergi Almacellas Abellana 37e546a04c Allow button access to be deactivated
issue11284
review364911002
2022-03-22 09:53:36 +01:00
Sergi Almacellas Abellana 8f8cb9ba04 Allow to deactivate button access
issue11284
review364911002
2022-03-21 16:11:04 +01:00
Cédric Krier 9c4d0aa334 Always return tuple for MultiSelection
issue11282
review361021002
2022-03-20 01:45:22 +01:00
Cédric Krier 889539d5cc Use default selectors instead of select
issue11268
review364881002
2022-03-20 01:40:28 +01:00
Cédric Krier 33d19bd8f5 Backed out changeset d645aee76ab0
issue11262
2022-03-20 01:32:04 +01:00
Cédric Krier b6c1e21101 Use Timestamp for timestamp on ir.cache
issue11290
review390181003
2022-03-19 15:04:09 +01:00
Cédric Krier 8659065ca7 Add batch option to push queue tasks
issue11129
review381661002
2022-03-09 00:57:17 +01:00
Cédric Krier 5110586a84 Improve ref attribute in XML data
The model is enforced according to the ref usage.
The ref attribute can be used as value for Reference field.
The exceptions raised by the parser are normalized.

issue10982
review384341002
2022-03-07 00:52:58 +01:00
Cédric Krier 57de8723dd Import only once datetime for cache
issue11245
review370871002
2022-03-07 00:32:40 +01:00
Cédric Krier 8bd2525e95 Ensure to receive list of ids in Report.execute
issue11226
review397261002
2022-03-06 18:18:58 +01:00
Cédric Krier 0fbbe86928 Increase progressively the task retry duration up to 1 hour
issue11209
review385991002
2022-03-06 18:15:25 +01:00
Cédric Krier 8b960e55c2 Manage None as value of PYSON In
issue11280
review393771002
2022-03-06 18:02:00 +01:00
David Blanco Bautista 941038373a Remove unused imports
issue11276
review387981002
2022-03-05 17:32:18 +01:00
Cédric Krier 56c18b8a1c Protect against XML vulnerabilities
issue11219
issue11244
2022-03-01 19:07:56 +01:00
Cédric Krier 655257ec2c Use dictionary as search_order on Reference field
issue11251
review387941002
2022-02-22 23:06:02 +01:00
Cédric Krier cbd434c404 Ensure to set only once each email as default destination
issue11264
review384431002
2022-02-22 22:58:33 +01:00
Cédric Krier 33b9833b65 Recompute path if part of the old path has already been updated
This happens when multiple parent are modified at the same time.
In such case the new path previously computed is no more correct.

issue11266
review368141002
2022-02-22 22:57:03 +01:00
Cédric Krier dd58ab653e Fill Value of MultiValue with the other default values
issue11077
review370761002
2022-02-21 00:52:10 +01:00