Commit Graph
5804 Commits
Author SHA1 Message Date
Cédric Krier 75075aa8f4 Prepare release 5.6.0 [skip ci] 2020-05-04 12:01:34 +02:00
Cédric Krier fc66c17eb0 Call getter function when accessing Function field
If the record is unsaved and the getter is based on on_change_with, we can call
the getter to compute the value.
This value must not be stored in the cache as it may change prior to saving.

issue4193
issue9263
review317291002
2020-05-03 14:34:44 +02:00
Cédric Krier ec4a8e9a90 Update translations 2020-05-02 10:29:26 +02:00
Cédric Krier ab161982e9 Reschedule task failing for operational errors
We should always try to execute them later as operational errors should be
temporary.

issue9252
review319301002
2020-04-28 00:28:06 +02:00
Cédric Krier 53264d2928 Use command instead of commands to start services 2020-04-25 23:39:43 +02:00
Cédric Krier 9cd6ca2fee Quote drone service command 2020-04-25 23:36:26 +02:00
Cédric Krier 5108326b08 Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:27:43 +02:00
Sergi Almacellas Abellana 9db7d27f17 Check model read access only on wizard with table_query models
issue9251
review297631002
2020-04-25 08:50:14 +02:00
Nicolas Évrard 7bd5da6305 Add test for ir.note write's method
issue9245
review305371002
2020-04-21 14:10:46 +02:00
Nicolas Évrard 820b71b0ee Do not write metadata on ir.note when writing on only the unread field
issue9245
review305371002
2020-04-21 14:06:10 +02:00
Cédric Krier cd97362e08 Limit size of cache to reset per notify call
issue8781
review309371003
2020-04-19 16:37:51 +02:00
Cédric Krier 8824c5a11b Add context field to on_change calls
Those fields are required to instantiate the fields with the proper context.

issue9236
review293501002
2020-04-19 16:36:15 +02:00
Cédric Krier 76ff508487 Skip translation hook for non translatable report
issue8937
review299481002
2020-04-19 16:32:12 +02:00
Udo Spallek 70e58d6f1d Clear report path when copying reports
issue9174
review299191002
2020-04-19 09:59:48 +02:00
Albert Cervera i Areny 2b609b8036 Add filename to translation export wizard
issue9216
review279011002
2020-04-13 23:49:48 +02:00
Sergi Almacellas Abellana 3378e283fd Add language configuration wizard
issue9172
review267031002
2020-04-13 20:47:17 +02:00
Cédric Krier 0081dc431d Allow copying attachments and notes to created records
issue9154
review266971002
2020-04-13 17:25:02 +02:00
Cédric Krier ad4a2bdf75 Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier 3db81b1f5c Fix typo in test.export_data model name 2020-04-12 23:53:02 +02:00
Cédric Krier 4c664bf1b1 Skip invalid branch of domain without the inverted field
Those branches of the domain should not prevent to compute a proper inverted
domain for the field as the other fields will be fixed later.

issue9200
review311191002
2020-04-12 23:21:08 +02:00
Cédric Krier a48382124f Support explicit delete and remove for saving and on_change xxx2Many
issue4140
review291281002
2020-04-12 23:18:15 +02:00
Cédric Krier 5626018cd6 Add export CSV data route
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Albert Cunillera Benet b232061235 Add order on User and Group
issue8704
review278161002
2020-04-12 09:19:36 +02:00
Cédric Krier 4fec4c82c6 Add more logging on database connection and testing
issue9120
review269021002
2020-04-11 00:24:37 +02:00
Cédric Krier dc1c789766 Properly test if report type in get_email
We must test if it is a subclass and not an instance of Report.

issue9196
review307221002
2020-04-10 18:26:35 +02:00
Cédric Krier a2c783371d Do not use only cache if context depends on other fields
We must read all the required fields to set a correct context on the field.

issue9187
review297391002
2020-04-10 18:25:03 +02:00
Sergi Almacellas Abellana bae2a3e718 Slugify filenames in report zip files
issue9203
review293371002
2020-04-06 13:12:26 +02:00
Cédric Krier b12d729c2d Add test on target of relation fields
issue9132
review291211004
2020-04-02 00:01:14 +02:00
Cédric Krier ab019772a7 Add width and height attributes on calendar view
issue9148
review250931003
2020-04-01 23:58:49 +02:00
Cédric Krier 748fe7212e Add database default name configuration
Some user may need to customize the default name used to run operation without
proper database name.

issue9121
review273021002
2020-04-01 23:56:17 +02:00
Cédric Krier cba3426f56 Add retry option to report convert
soffice fails sometimes. As it seems to be linked to the available resources,
we retry with some delay.

issue9175
review278911002
2020-04-01 23:52:08 +02:00
Sergi Almacellas Abellana 0cb3377825 Add depends fields on view_attributes
issue8862
review303161002
2020-03-30 09:33:15 +02:00
Cédric Krier b1e0c03707 Simplify trigger action
We use now a selection field to choose the action to trigger.
It is safer and more user friendly.

issue9096
review272961003
2020-03-28 23:56:19 +01:00
Cédric Krier 2ab5a7797d Remove unused time import
issue8342
2020-03-28 23:37:53 +01:00
Cédric Krier 5f9a7554ae Cast CurrentTimestamp into timestamp to remove timezone
issue8342
2020-03-28 23:37:18 +01:00
Cédric Krier 34e5c61a1a Run trigger in the queue
This ensures that internal changes that are reverted later in the same
transaction does not trigger an action.
Also we ensure that a record is triggered by the same trigger only
once per transaction.

issue8342
review280971002
2020-03-28 17:13:12 +01:00
Cédric Krier 72a71019c0 Do not copy Binary content with file_id
This avoid the filestore to reprocess the binary data as the file_id is
already copied.

issue9153
review297241002
2020-03-28 16:57:05 +01:00
Cédric Krier 7691b89822 Set saved tree width only if client save them
We rename also the option from save_width_height to save_tree_width which
correspond better to the current behavior.

issue9130
review258921051
2020-03-28 00:33:27 +01:00
Cédric Krier 8df56316b8 Explain when [web] hostname configuration is used
issue9116
review284981002
2020-03-28 00:28:43 +01:00
Cédric Krier 828d444545 Skip check access on ir.ui.menu for wizard
User launching a wizard from menu should not need write access on the menu.

issue9173
review301161002
2020-03-26 00:12:43 +01:00
David Harper ba776f36a5 Replace memoize with functools.lru_cache
issue9081
review286781002
2020-03-25 17:34:35 +01:00
Sergi Almacellas Abellana 6b3eb52d17 Stop cron database retry after successful execution
issue9170
review297311002
2020-03-24 10:02:58 +01:00
Sergi Almacellas Abellana 5384cb9006 Add support for python3.8
issue8866
review274421004
2020-03-19 19:17:29 +01:00
Sergi Almacellas Abellana 6ac6424d88 Add option to send test email with trytond-admin
issue8983
review274681002
2020-03-18 12:36:48 +01:00
Cédric Krier e806ec55a8 Display login on LoginException message
issue9068
review266821006
2020-03-17 23:33:10 +01:00
Cédric Krier d450d09946 Add test for multiselection field in EvalEnvironment
issue9144
review285001004
2020-03-17 23:29:23 +01:00
Cédric Krier d0a82c8bdc Support multiselection field in EvalEnvironment
issue9144
review285001004
2020-03-17 23:28:57 +01:00
Cédric Krier 5e41ca21f9 Convert interval into seconds
The correct way to convert interval into seconds is to use
"EXTRACT(EPOCH FROM ...)". The "SECOND" gives only the value of the second
field.

issue9126
review297181005
2020-03-17 23:21:20 +01:00
Cédric Krier 62f2ce0198 Set all fields readonly for inactive records
issue3747
review295061011
2020-03-17 20:08:13 +01:00
Cédric Krier 92592d0d0d Add test for executing wizard without access
issue9108
review261041002
2020-03-09 18:24:54 +01:00