Cédric Krier
1739d5ede3
Remove double definition of __rpc__ for ir.session
...
The second __rpc__ was introduced in 275f29e2379d.
2022-12-28 15:06:45 +01:00
Cédric Krier
4959a655eb
Do not allow to activate tests module in configuration wizard
...
Closes #11878
2022-12-26 22:37:07 +01:00
Cédric Krier
98cbb23f58
Improve setup.py
...
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier
cdd255a736
Avoid concurrency failure in cache test with channel
...
We need to ensure that the listener has finished to clear the cache before
resume the main thread execution.
Closes #11950
2022-12-23 23:57:17 +01:00
Sergi Almacellas Abellana
06beb3f188
Do not check read access when copying records
...
Closes #11949
2022-12-19 14:38:29 +01:00
Nicolas Évrard
37ebcfc633
Use left part of domain leaf in unique_value return value
...
The left part must be returned because when the value is unique we also use the
name of field for further checks
Closes #11952
2022-12-20 13:37:06 +01:00
Cédric Krier
c35e1ad98d
Use modulo on minor version to set latest series for documentation
2022-12-20 12:43:56 +01:00
Cédric Krier
5d3e4a39f2
Prepare migration to monorepo
2022-12-16 23:16:08 +01:00
Cédric Krier
cc8faa6699
Prepare migration to monorepo
2022-12-16 14:43:04 +01:00
Cédric Krier
2755687c07
Reset timeout loop of worker on each iteration
...
If there was a next task planned very soon, this should not become the default
timeout for future loop.
issue11913
review415971003
2022-12-08 13:34:01 +01:00
Cédric Krier
a058316e41
Allow empty timedelta
...
issue11869
2022-11-24 23:04:58 +01:00
Cédric Krier
327eaffdae
Enforce positive timedelta
...
issue11869
review421921004
2022-11-24 19:16:51 +01:00
Cédric Krier
38f18ff4aa
Set the transaction of saved records as current transaction
...
issue11866
review418601003
2022-11-24 19:13:53 +01:00
Cédric Krier
0e7edfbf4c
Cache RPC call for class method selection
...
issue11793
review427971003
2022-11-05 09:57:01 +01:00
Cédric Krier
e1dfed65a7
Commit the transaction after creating indexes and update history
...
issue11855
review433681003
2022-11-05 09:54:14 +01:00
Cédric Krier
b54c040937
Do not expand boolean PYSON when using __and__ and __or__
...
It is not expected that the left operand is modified by such operations.
issue11836
review418551003
2022-11-05 09:51:17 +01:00
Cédric Krier
764b819a6d
Increase version number
2022-10-31 16:37:56 +01:00
Cédric Krier
89a56fd824
Prepare release 6.6.0 [skip ci]
2022-10-31 16:37:37 +01:00
Cédric Krier
a6f2a07e0f
Update translations [skip ci]
2022-10-29 09:54:15 +02:00
Cédric Krier
484ce592db
Add Ukrainian [skip ci]
...
issue11449
review413281003
2022-10-29 09:38:11 +02:00
Cédric Krier
0c10577fe4
Add index for target field of Many2Many
...
Any nested clause makes a join using the target column.
issue11832
review447391003
2022-10-28 00:45:21 +02:00
Cédric Krier
b02dc7d626
Do not override trytond config when instantiate ir.configuration
...
issue11797
review437521003
2022-10-26 23:29:24 +02:00
Cédric Krier
98cb48e327
Limit report name to 100 chars
...
For most OS maximum filename is 255 but Excel has a limitation which include
the path of 218.
As on Windows report is most likely to be open from
C:\Users\<username>\AppData\Local\Temp\tryton_<random>\ which has a length of
56 with 12 for username and 8 for random. So 162 should be the maximum but we
round it to 100.
issue10966
review421871004
2022-10-26 23:26:14 +02:00
Cédric Krier
362679634a
Reformat test docstring
2022-10-23 18:52:46 +02:00
Cédric Krier
9aada4915e
Raise "Not found" error when trying to login to unknown database
...
issue11801
review418411003
2022-10-22 00:58:28 +02:00
Adrià Tarroja Caubet
feba0bbe20
Fix wrong xml id for recursion_error message
...
issue11727
review439581003
2022-10-21 13:25:30 +02:00
José Antonio Díaz
f9368b41bc
Support MultiSelection in MultiValue field
...
issue11730
review427811003
2022-10-15 22:08:25 +02:00
Cédric Krier
72fd407fdb
Add sql_id method to Reference field and use it for index
...
issue11788
review447351003
2022-10-12 08:25:20 +02:00
Cédric Krier
7892f8ae56
Use declarative index definition for ModelSQL
...
issue5757
review361251002
2022-10-11 00:44:51 +02:00
Cédric Krier
18bc7b6c63
Apply domain on translation value of the left join
...
issue11781
review413711003
2022-10-10 19:39:21 +02:00
Nicolas Évrard
88e8d42f27
Add configuration entries for unaccent and similarity functions
...
issue10851
review370001002
2022-10-09 19:58:51 +02:00
Cédric Krier
6ad744ff47
Add authentication services
...
issue11582
review417471003
2022-10-09 18:33:16 +02:00
Cédric Krier
8cbce1db85
Test available_timezones
2022-10-09 14:06:18 +02:00
Cédric Krier
d367309d3d
Set zoneinfo to None when it can not be imported
2022-10-09 13:46:22 +02:00
Cédric Krier
0fb23725f2
Return a set for available_timezones
...
issue11773
review419931003
2022-10-09 13:27:28 +02:00
Cédric Krier
083774d09b
Redefine Field properties on Function field
...
In order to use the value from the simulated field, we must redefine them.
issue11759
review425791003
2022-10-09 13:21:36 +02:00
Cédric Krier
7cbf3e93aa
Skip test of scheduling cron on DST with dateutil
...
dateutil does not compute the ambiguity of wall time correctly.
issue11758
review418251003
2022-10-03 16:53:11 +02:00
Cédric Krier
dafad0babd
Document all context keys of rule domain
2022-10-03 09:31:34 +02:00
Nicolas Évrard
1793415b7d
Schedule actions using server timezone
...
issue9436
review423091003
2022-10-03 00:20:49 +02:00
Nicolas Évrard
4dd1c0c222
Clear private caches when dropping database
...
issue11744
review413601003
2022-10-03 00:15:12 +02:00
Nicolas Évrard
1e24e490b1
Reset less often the user sessions
...
issue10202
review341741060
2022-10-03 00:06:41 +02:00
Cédric Krier
043fa043c5
Remove RFC link in help text
...
help text is not clickable
issue11471
2022-10-02 00:22:56 +02:00
Cédric Krier
928b38c5f3
Add straight values to wizard state view
...
issue11703
review431591006
2022-10-01 14:45:59 +02:00
Cédric Krier
b8294ceaf1
Clear cache just after starting to listen
...
When the thread is restarted, we do not know if we missed any payload. So we
must clear the cache and the pool to have a clean start.
issue11397
review431631003
2022-09-25 20:23:13 +02:00
Cédric Krier
b8b51c9acf
Prevent to create more than one resource type translation per module
...
issue11343
review415551004
2022-09-25 20:19:30 +02:00
Cédric Krier
c3a8be00ca
Add option to remove leading and trailing white spaces from char
...
issue7914
review340511008
2022-09-19 21:25:55 +02:00
Cédric Krier
827bb0b69d
Activate module tests for LRUDictTransaction tests
...
The test case use a Transaction instance which needs a database to connect to.
2022-09-19 09:03:03 +02:00
Nicolas Évrard
e46d5dbfc6
Catch get_connection errors in Cache listener
...
issue11563
review411271003
2022-09-17 19:00:48 +02:00
Cédric Krier
1fcefeacc9
Strip only one wildcard
...
issue11682
review443571003
2022-09-16 23:36:30 +02:00
Cédric Krier
93d3bab62a
Set rec_name of wizard defaults in a dictionary under dotted suffix
...
issue11706
review423821003
2022-09-15 21:49:12 +02:00