Cédric Krier
b3db04b8a8
Increase version number
...
--HG--
branch : 7.0
2024-01-16 00:08:08 +01:00
Cédric Krier
457a9a34e1
Prepare release trytond-7.0.5
...
--HG--
branch : 7.0
2024-01-16 00:07:49 +01:00
Cédric Krier
f5d11ae7c2
Do not fail to get keyword action with empty record id
...
Closes #12767
(grafted from 9b28b3b64550681b1ff2b37c7dcaa82874032c42)
--HG--
branch : 7.0
2023-12-23 18:50:58 +01:00
Cédric Krier
2c17cfba48
Instantiate list of ids when exporting data with domain as list of ids
...
Closes #12868
(grafted from 645ee58d8a4ae278cd2613ff2b16cc0b859046a8)
--HG--
branch : 7.0
2023-12-23 18:26:00 +01:00
Cédric Krier
734a8438d3
Increase version number
...
--HG--
branch : 7.0
2024-01-01 13:01:24 +01:00
Cédric Krier
46c98dada8
Prepare release trytond-7.0.4
...
--HG--
branch : 7.0
2024-01-01 13:01:05 +01:00
Cédric Krier
bf4f274278
Check selection of dict schema when selection or help selection are modified
...
It is the modification of stored field that must be checked and not the json
version.
Closes #12781
(grafted from 4f04e2409fad82de243439bac3128c1002d540ee)
--HG--
branch : 7.0
2023-12-17 20:33:32 +01:00
Cédric Krier
6c0fd494ed
Use empty value Function xxx2Many fields without initial value
...
Since d142b33fa3ab the on_change_with relies on _changed_value. But for
Function xxx2Many fields if their value is not in the initial value, we should
not retrieve it from the database because the result will be the same as the
one set by on_change_with.
Closes #12836
(grafted from 13d2870d43c833a8629b451edd82ac2efdc27009)
--HG--
branch : 7.0
2023-12-15 18:09:30 +01:00
Cédric Krier
d4660a701a
Compare leaf values only of the same type to sort domain
...
Closes #12792
(grafted from cb0f2181f6188f8a920e591f0d27a2dac6be5678)
--HG--
branch : 7.0
2023-12-12 18:02:14 +01:00
Cédric Krier
877beba54a
Increase version number
...
--HG--
branch : 7.0
2023-12-16 10:50:26 +01:00
Cédric Krier
372b3fe57d
Prepare release trytond-7.0.3
...
--HG--
branch : 7.0
2023-12-16 10:50:06 +01:00
Cédric Krier
8ac6e71297
Always pass the field name to convert value from getter of Function field
...
Closes #12802
(grafted from 90893adeec8f5866375bae97084ee00080d8aeb3)
--HG--
branch : 7.0
2023-12-05 12:33:33 +01:00
Hartmut Goebel
d30092792a
Make state node of workflow graph unique
...
Quite a few model have states with the same name (e.g. "open",
"close). When creating Workflow Graphs for several of these models at
once, the nodes of these states must be distinguished. Otherwise the
graphs will overlap and eventually even overwrite each other.
Closes #12253
(grafted from 91a09102ec61a08f57868bc9f030fdcb9ab831c8)
--HG--
branch : 7.0
2023-11-19 12:16:03 +01:00
Cédric Krier
9c43200825
Do not clear log_records of Transaction if it is empty
...
When the transaction fails to start, the log_records may still be None.
Closes #12793
(grafted from 38529e19445ef6520a0e4f442c8bd07acc6d10cc)
--HG--
branch : 7.0
2023-12-01 20:55:20 +01:00
Cédric Krier
4afb959a07
Do not force value for single list on multi-value field
...
Fields based on multi-value must not be forced to the single value of a list.
Closes #12737
(grafted from c320a786923f19e138459d9a128c7d8cb097f1b1)
--HG--
branch : 7.0
2023-11-14 00:00:15 +01:00
Cédric Krier
71c78f93fb
Retry to send email when server unexpectedly disconnect
...
Closes #12790
(grafted from fc0afccf55b95644352655d8c081713df77d1662)
--HG--
branch : 7.0
2023-12-01 09:54:40 +01:00
Nicolas Évrard
c9dbd0063d
Do not start threads before the end of the evaluation of trytond.application
...
When uwsgi forks workers it can happen that python execute the code from one of
the launched thread (eg: the cache listener or trytond-status). In that case
python will keep executing the thread and never switch to the main thread. Thus
preventing to listen for incoming connections.
Closes #12758
(grafted from d51b0990639d7ca0ac289dc08f56fd84a14e3e89)
--HG--
branch : 7.0
2023-11-16 23:37:19 +01:00
Cédric Krier
51737db7ba
Limit size of database cache dump to 40 chars
...
Each backend has their limit. 40 chars is picked as limit to match the size of
mercurial hash.
Closes #12754
(grafted from 3055098129d4afbf82af5fa527e3d3e357ea7021)
--HG--
branch : 7.0
2023-11-26 17:12:40 +01:00
Nicolas Évrard
f12fca4187
Filter history lines matching search when they're too old
...
Closes #12687
(grafted from f7ff1a181c0d031ea10fea722fa781885f0aec73)
--HG--
branch : 7.0
2023-11-03 19:07:11 +01:00
Cédric Krier
be94ccac52
Increase version number
...
--HG--
branch : 7.0
2023-12-02 00:13:28 +01:00
Cédric Krier
d327f20218
Prepare release trytond-7.0.2
...
--HG--
branch : 7.0
2023-12-02 00:13:07 +01:00
Cédric Krier
a39c0a1d46
Use default access for ModelSQL based on table_query when method is extended
...
When the create/write/delete methods are extended, we should assume that
developer has implemented such access.
Closes #12757
(grafted from 4aee4ce88b518e2af83ad81cb45284b132157b63)
--HG--
branch : 7.0
2023-11-16 18:55:47 +01:00
Cédric Krier
40b87290e1
Increase version number
...
--HG--
branch : 7.0
2023-11-17 19:31:16 +01:00
Cédric Krier
a65692c7f6
Prepare release trytond-7.0.1
...
--HG--
branch : 7.0
2023-11-17 19:30:56 +01:00
Cédric Krier
f80501842d
Avoid race condition when making directories for database cache
...
(grafted from b67ad422ba5062b82ffc5022cc6490564af2477f)
--HG--
branch : 7.0
2023-11-01 13:27:36 +01:00
Cédric Krier
5021282648
Avoid race condition when making directories for filestore
...
Closes #12696
(grafted from a1e568d36b05a33a91c6515cef6a4695429d7566)
--HG--
branch : 7.0
2023-11-01 13:26:37 +01:00
Cédric Krier
6c91d493b6
Increase version number
...
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier
65f477f731
Prepare release 7.0.0
2023-10-30 18:17:32 +01:00
Cédric Krier
70dcf79404
Check access without and with domain rule at the same time for read and write
...
For read and write operation, we must first check without domain rule to
ensure the ids exist before testing with the domain rules.
Closes #12668
2023-10-25 16:27:58 +02:00
Cédric Krier
c577fad900
Update translations [skip ci]
2023-10-28 14:15:23 +02:00
Cédric Krier
cfde98e54a
Backed out changeset fc478f7d7004
2023-10-28 00:16:32 +02:00
Nicolas Évrard
a09de147a6
Add timeout parameter on RPC calls
...
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier
ff376d7d01
Prevent storing Decimal with too much trailing zero
...
The trailing zero are kept in the Decimal and rendered in the string
representation which is unexpected for a field with limited digits.
Closes #12587
2023-10-21 14:12:12 +02:00
Cédric Krier
b43f3165fb
Do not fail on DNSException when running test
...
Closes #12628
2023-10-21 16:22:50 +02:00
Cédric Krier
420e0a48d6
Add pairwise_longest tools
2023-10-18 23:11:07 +02:00
Cédric Krier
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
9425bf19b2
Remove EGG_MODULES dictionary
...
It is no more used since d29ec7a37dca.
2023-10-23 09:53:30 +02:00
Cédric Krier
2d599f67cf
Replace pkg_resources by importlib
...
pkg_resources is deprecated in favor of importlib.resources,
importlib.metadata.
2023-10-23 16:49:01 +02:00
Cédric Krier
a1e91f40e4
Rename assertRaisesRegexp into assertRaisesRegex
...
assertRaisesRegexp has been renamed in Python 3.2
2023-10-23 09:33:50 +02:00
Cédric Krier
f70666b6fb
Use assert_not_called in Mock instead of calling not_called
2023-10-23 09:34:26 +02:00
Cédric Krier
aa677eb7b8
Do not include depends of field without read access to view definition
...
Closes #12640
2023-10-12 16:28:54 +02:00
Cédric Krier
ada6602717
Return None when date_trunc is called with NULL in SQLite
...
Closes #12649
2023-10-17 17:09:36 +02:00
Maxime Richez
9394d64c2a
Allow to send email without files to attach
...
Closes #12645
2023-10-16 16:48:40 +02:00
Cédric Krier
80e19a25eb
Remove EGG_MODULES to rely only on imported module path
2023-10-12 01:30:18 +02:00
Cédric Krier
325c4866a6
Use distinct icons for save and download
...
Closes #12627
2023-10-09 14:41:24 +02:00
Cédric Krier
f7bfe72e7f
Filter search result of model with resource
...
The user needs to have read access to the resource target.
Closes #12588
2023-10-14 14:53:22 +02:00
Cédric Krier
1436ea9b51
Add [x|y][expand|fill] attribute to button in form RNG
...
Closes #12617
2023-10-05 16:23:02 +02:00
Cédric Krier
f2fe641927
Add preview of sequence
...
Closes #12609
2023-10-02 18:10:30 +02:00
Cédric Krier
ccf653da1d
Support create record from autocomplete with default values
2023-09-26 23:45:07 +02:00
Cédric Krier
d8530fc867
Support default value from context
2023-09-25 17:53:23 +02:00