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
Cédric Krier
2c3ab3a3bd
Enable check_access context when checking wizard access
...
issue9108
review261041002
2020-03-09 18:24:23 +01:00
Cédric Krier
456c4828c8
Replace assertTrue and assert False by assertEqual
...
When we must test that the actual value is True or False, we must use
assertEqual.
issue9093
review256651002
2020-03-06 23:20:35 +01:00
Cédric Krier
2041e4f5b8
Do not force value in OR-ed clause
...
When any other variable in Or-ed clause is not known, we can not force the
value of the variable.
issue9092
review272941002
2020-03-06 23:14:24 +01:00
Cédric Krier
4a3821f14c
Remove reference to MySQL as backend
...
The backend was removed in changeset b2729144b556
2020-03-05 19:30:00 +01:00
Cédric Krier
065e18a9fb
Return list instead of map object in get_action
...
The value must be converted into JSON.
2020-03-01 16:33:00 +01:00
Cédric Krier
e6911c1c7c
Set auth-method to trust for drone build
...
issue9063
2020-03-01 15:32:16 +01:00
Cédric Krier
d7ed5f91f5
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier
9102590ddb
Add documentation about spell attribute
...
issue9061
review258751002
2020-02-29 23:50:59 +01:00