Commit Graph
6179 Commits
Author SHA1 Message Date
Cédric Krier cd04197025 Use DROP COLUMN from SQLite 3.35.0
issue7703
2021-11-08 22:52:40 +01:00
Cédric Krier c6ca01b701 Support to alter more numeric types
issue10897
review381261002
2021-11-08 19:33:56 +01:00
Cédric Krier d8c3e5ccca Use RENAME and DROP COLUMN with SQLite backend
issue7703
review367691002
2021-11-08 19:31:34 +01:00
Cédric Krier 834007b353 Support window functions with SQLite backend
issue7703
review364231002
2021-11-08 19:30:15 +01:00
Cédric Krier a1a2e6eb70 Use JSONB to store Dict field on PostgreSQL backend
issue10858
review379371002
2021-11-08 19:27:03 +01:00
Cédric Krier acd9408451 Use TRYTOND_DATABASE_NAMES as default command line value
issue10852
review362921003
2021-11-08 19:22:35 +01:00
Cédric Krier c3effb3241 Increase version number 2021-11-01 16:57:58 +01:00
Cédric Krier 8407c22819 Add tag 6.2.0 [skip ci] 2021-11-01 16:57:41 +01:00
Cédric Krier 10a4f8d88a Prepare release 6.2.0 [skip ci] 2021-11-01 16:57:41 +01:00
Cédric Krier 54c6e59c36 Update translations [skip ci] 2021-10-30 11:32:05 +02:00
Cédric Krier 1b3690eeb7 Do not set empty avatar when generating one
As the method is called on write and is also calling write via save, we must
ensure to save only when an avatar is filled to break the loop.

issue10914
review363041002
2021-10-30 02:25:37 +02:00
Cédric Krier a97e769ad3 Evaluate invalid domain if there are many fields
We must find the field that is invalid instead of using the first one with a
domain constraint.

issue10418
review360371002
2021-10-30 02:20:23 +02:00
Cédric Krier 878e8747df Prevent assign SQL value to record instances
issue10413
review379441002
2021-10-28 09:00:33 +02:00
Jonathan Levy 7d5abe4816 Disable existing logging before loading logging configuration
issue10637
review358551002
2021-10-27 22:22:44 +02:00
Cédric Krier 9165f5d177 Move test of tools under tools test case 2021-10-26 00:22:23 +02:00
Cédric Krier 8bbecaa817 Allow to cast as date using timezone
issue10860
review372321002
2021-10-21 00:11:57 +02:00
Adrià Tarroja Caubet 4134e26cd7 Add missing new lines on docs
issue10887
review387211002
2021-10-20 15:16:10 +02:00
Cédric Krier e644d6a4eb Set the target field name in the context to get the size
The getter of 'data_size' field must use the name 'data' in the context instead
of 'data_size'.

issue10849
review383301002
2021-10-19 00:22:08 +02:00
Cédric Krier 867536be18 Duplicate Genshi i18n msg keywords in reset password email 2021-10-18 15:56:58 +02:00
Cédric Krier ce5ead4172 Do not change action name if menu has multiple keywords
issue10828
review353011002
2021-10-15 19:15:14 +02:00
Cédric Krier ca372a24ec Support create/delete attribute in view
issue10840
review377341002
2021-10-11 22:53:02 +02:00
Sergi Almacellas Abellana b6678dfe19 Skip default values when copying records
This allows users with no write access to a field to copy records if their
values have not been modified.

issue10536
review336541002
2021-10-11 15:14:57 +02:00
Nicolas Évrard b3786087a9 Use global cache for Function fields in readonly transactions
issue10491
review352081002
2021-10-11 11:52:42 +02:00
Nicolas Évrard 870981c561 Pass default class order to __search_query
issue10838
review383251002
2021-10-11 11:38:37 +02:00
Cédric Krier c9fd498cb6 Fall-back to target default order
issue10818
2021-10-11 08:53:21 +02:00
Cédric Krier c99e0fa7f4 Align instance caches of xxx2Many targets
issue10818
review369841002
2021-10-10 22:20:27 +02:00
Cédric Krier 32a978a016 Add format method to DictSchemaMixin
issue10758
review354001002
2021-10-10 22:08:39 +02:00
David Blanco Bautista c4df785431 Allow modify record name on the reports
issue10749
review373541002
2021-10-08 19:26:46 +02:00
Nicolas Évrard 6d2066ba45 Use specific model for OR2UNION tests
issue10832
review362881002
2021-10-07 17:46:14 +02:00
Nicolas Évrard 2f4c0eb0a5 Include order columns in UNION-ed search queries
issue10790
review365991002
2021-10-06 17:20:40 +02:00
Maxime Richez db5cf4f3a8 Add methods to format number and symbol on Lang
and add format number with symbol on Report

issue10730
review371831002
2021-10-04 18:52:01 +02:00
Cédric Krier d50fc36f22 Allow locking tables by calling ModelSQL.lock without records
issue10785
review359051002
2021-10-03 13:50:33 +02:00
Cédric Krier 5e5c36b459 Add test on domain of relation fields
issue10794
review383081002
2021-10-03 13:45:32 +02:00
Cédric Krier b038c04fee Ensure instances to be saved are from the class
issue10797
review372041002
2021-10-03 13:38:28 +02:00
Cédric Krier 66a0dcf2b5 Add stored path as alternative to MPTT
issue7177
review352501002
2021-10-03 01:14:08 +02:00
Cédric Krier 6bba066883 Use new transaction to run cron task
issue10788
review354071002
2021-10-03 00:37:25 +02:00
Cédric Krier 30572116ed Test foreign key on delete and inactive
issue10782
review367581002
2021-10-03 00:32:10 +02:00
Cédric Krier 607dc3907b Search also for inactive foreign key
issue10782
review367581002
2021-10-03 00:31:21 +02:00
Cédric Krier 0f88889a8b Ensure to report the right ID for XML parsing error
The XML ID must be the first attribute to update and it should be cleared if we
fail to get it.

issue10768
review360141002
2021-10-03 00:19:38 +02:00
Nicolas Évrard 72e3bb74c7 Reconstruct local domain after split_subquery_domain
issue10761
review338921002
2021-09-28 16:44:12 +02:00
Nicolas Évrard 814f0055be Move tests related to OR-ed domain to ModelSQL test case 2021-09-28 10:59:56 +02:00
Cédric Krier be43f5351e Activate and upgrade modules from configuration wizard
issue10754
review364031002
2021-09-26 23:16:53 +02:00
Cédric Krier fdcc828395 Add set_from_header in email tools
issue10753
review377121002
2021-09-26 23:11:21 +02:00
Cédric Krier fa34abb8b3 Add grouping attribute to numeric widgets
issue10731
review355501002
2021-09-26 23:05:02 +02:00
Cédric Krier 0e41c6940a Factorize the instantiation of LRUDict and LRUDictTransaction
We use default_factory to avoid create unnecessary instances. The
default_factory_with_key argument is added to LRUDict to pass the missing key
to the default_factory method. And we use an LRUDict also for the
Transaction.cache.

issue10726
review362531002
2021-09-26 22:55:52 +02:00
Cédric Krier 4840a0f46d Ensure that objects in the Pool has __slots__
issue10719
review375361002
2021-09-23 23:12:35 +02:00
Cédric Krier 51f63441ca Pass formatting variable as keyword arguments to gettext
issue10713
2021-09-23 10:39:41 +02:00
Cédric Krier 9ae04f3e68 Use bigdecimal tag for XML-RPC
issue10734
review355491002
2021-09-23 10:22:01 +02:00
Cédric Krier 11aecd394a Add protocols test for timedelta and factorize them
issue10733
review371841002
2021-09-23 10:19:03 +02:00
Cédric Krier c345b0c693 Use tuple in Dict value instead of list
issue10715
review371771002
2021-09-23 10:15:16 +02:00