Commit Graph
4382 Commits
Author SHA1 Message Date
Cédric Krier ff2cc6dd21 Use safe_join in SharedDataMiddlewareIndex
issue10068
review333851027
2021-02-12 10:01:22 +01:00
Cédric Krier cedcc60890 Use menu name for window opened from menu
issue9937
review315011002
2021-02-09 00:32:18 +01:00
David Harper 6fec6444fc Add trigonometric functions to sqlite backend
issue9996
review333731002
2021-02-06 10:47:06 +00:00
Adrià Tarroja Caubet 2ba3e1bdb6 Allow skipping user warnings globally
issue7442
review318871002
2021-02-05 00:21:10 +01:00
Cédric Krier 4dc66f6f7c Allow distinct FROM addresses for envelope and header
issue9948
review324741004
2021-02-03 23:26:07 +01:00
Cédric Krier 4b34962c63 Add validate option to trytond-admin
It validates a percentage of the listed models or all and report the errors.

issue9782
review312751002
2021-01-25 22:56:02 +01:00
Cédric Krier c587d74dc4 Refresh pool of other processes
When a process change the list of activated modules, the others must refresh
their pool. We do that by just stopping the pool for that database, the next
request will load the new pool.

issue8988
review302861002
2021-01-20 00:52:07 +01:00
Cédric Krier c6fc31ecee Test copy translation
issue9866
review353091002
2021-01-18 23:20:40 +01:00
Cédric Krier 37d80d6f7f Update translate field of all copied records
The same record can be passed multiple times in the list. So we must update all
of the new records with the translated value of the fields.

issue9866
review353091002
2021-01-18 23:20:15 +01:00
Cédric Krier 421ec76c49 Clear all cache after module loaded
As we rollback the cache modification when loading a module, we must clear all
of them at the end to ensure to not keep outdated data.

issue9759
review339421002
2021-01-13 00:26:53 +01:00
Cédric Krier 2ab80aff35 Clear cache when the links between user and group are modified
The caches does not depend on the Group records but on the link with the User.

issue9964
review319051002
2021-01-11 00:06:13 +01:00
Cédric Krier 8e6173c257 Support Genshi element directives in HTML editor
issue9510
review331591002
2021-01-11 00:04:35 +01:00
Cédric Krier 6d1bc282b7 Remove extra '/' in request path in logging messages 2021-01-10 23:41:24 +01:00
Cédric Krier cbd2cc3da5 Ignore invalid intervals to compute next call of cron
issue9842
review333571002
2021-01-08 22:52:03 +01:00
Nicolas Évrard 750b597043 Use created_at text for create_date field
issue9902
review308761002
2021-01-07 10:52:08 +01:00
Cédric Krier bc22445e3d Raise explicit message when view is missing XML
issue9940
review316651002
2021-01-03 13:06:13 +01:00
Cédric Krier 18fc13fb15 Use autocommit connection to LISTEN
This is needed to receive notification in a timely manner.

issue9966
review333541002
2021-01-03 13:00:26 +01:00
Cédric Krier d766a67fbb Use cache to fill Reference selections
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Maxime Richez d64ae06e19 Add summary to line list
A function field summary is added which takes the first line of description
field. This is useful to identify line without product (only with description)
in the list.

issue9695
review292431002
2020-12-25 17:14:57 +01:00
Cédric Krier b16604550c Skip access check on ModelStorage instances
There is no need to enforce access right on instances because only internal
code can use them and the design is to only check on the external calls.

issue7765
review322581002
2020-12-18 00:09:03 +01:00
Cédric Krier eeeee85d1b Use root user to evaluate user environment
The user attributes may be restricted by other record rules so to evaluate the
domain, we must have access to all attributes.

issue9901
review333341002
2020-12-16 20:41:21 +01:00
Nicolas Évrard 1d29cbe2b8 Compute once selection field's value when possible
issue9222
review309331002
2020-12-11 11:57:10 +01:00
Sergi Almacellas Abellana 06346f0c76 Eager load Function field with same multiple getter
issue9561
review314201002
2020-12-06 18:34:19 +01:00
Cédric Krier e18501c644 Support other methods for button_change decorator
issue9871
review314871002
2020-12-05 12:09:27 +01:00
Cédric Krier 1618881692 Allow copying Python instances of Model
issue9869
review337071002
2020-12-05 11:58:41 +01:00
Cédric Krier 0e770ef4e1 Add pyson widget to recipients secondary and hidden
issue9892
review316541002
2020-12-05 11:49:50 +01:00
Cédric Krier 28ab759f2e Display default language name in error message
issue9872
review314891002
2020-12-05 11:45:45 +01:00
Cédric Krier 0aa6c7c80b Add all buttons to default form view
issue9870
review333231002
2020-12-05 11:43:59 +01:00
Cédric Krier 6d4b00403f Wizard must return a record when the active_id is zero
0 is a valid id for a record.

issue9885
review318921006
2020-12-04 18:40:26 +01:00
Cédric Krier 7822844f52 Store listener threads per process
This ensure that if the process is forked, the child process will start new
listeners for the Cache and the Bus.

issue9832
review329601002
2020-11-27 22:19:56 +01:00
Sergi Almacellas Abellana c8a0603a59 Convert email body into Text field
issue9861
review29701100
2020-11-27 20:49:09 +01:00
Cédric Krier 4f83dff439 Convert rule domain for _write and _delete without active test
We must convert in ModelSQL.read the rule domains like the ModelSQL.write and
ModelSQL.delete convert their rule without the active test to have the same
result.

issue9819
review300951006
2020-11-23 23:43:01 +01:00
Cédric Krier 1fd888b83e Test depends of depends are included
issue9828
review292751003
2020-11-23 23:35:03 +01:00
Cédric Krier 10f85f8bc0 Include recursively the depends of the depends into the view
The value of a field, added to the view because it is a depends, may not be
correctly computed if it is missing its own depends.

issue9828
review292751003
2020-11-23 23:33:59 +01:00
Sergi Almacellas Abellana 02d4e18e35 Remove unused overrided function in modelstorage
issue9863
review331351002
2020-11-23 17:55:20 +01:00
Cédric Krier 44682fb9cd Unify PYSON string format between all clients
issue9723
review328481002
2020-11-15 18:50:47 +01:00
Cédric Krier 75a7a50a8a Rearrange help text to limit to 80 cols 2020-11-15 18:18:37 +01:00
Cédric Krier 3271788e7c Remove unused import 2020-11-15 18:18:11 +01:00
Cédric Krier df207056eb Do not read/test value after aborted transaction
issue9796
review328831002
2020-11-12 21:45:48 +01:00
Cédric Krier 2bedebbccc Disable record rule when validating records
issue9796
review329451002
2020-11-11 20:33:18 +01:00
Cédric Krier 88e643518a Use proper format character in forbidden char message
issue9248
2020-11-06 00:51:27 +01:00
Cédric Krier a1671ab214 Forbid all white spaces except space in Char field
They can not be displayed by all clients (nor OS).
But also they can be trimmed automatically by web input which breaks comparison
against changes.

issue9248
review312681002
2020-11-05 23:58:15 +01:00
Cédric Krier 3af83195fe Increase version number 2020-11-02 15:37:54 +01:00
Cédric Krier 3c7c124b91 Prepare release 5.8.0 [skip ci] 2020-11-02 15:37:33 +01:00
Cédric Krier d4c4748201 Update translations [skip ci] 2020-10-31 12:14:32 +01:00
Cédric Krier 0a2cc7162d Construct recursively Tree search_rec_name with 'in' operators
Each value of the 'in' operators must be processed as a '=' clause.
The None values must be supported just in case it set in the 'in' values
because the mixin does not allow empty name.

issue9354
review304601002
2020-10-26 21:27:13 +01:00
Sergi Almacellas Abellana fc9aefe104 Get session max_attempt as integer when deleting user application
issue9752
review304591002
2020-10-24 23:17:19 +02:00
Nicolas Évrard a9ff2c7339 PYSON's DateTime defaults to the current time in UTC
issue9698
review329211002
2020-10-22 12:11:09 +02:00
Cédric Krier 26076d82f1 Fallback to stored values to compute changed xxx2Many
The client may not send the values for the xxx2Many if they have not been
loaded. So in order to provide proper changes to apply once the values are
loaded we must base those changes on the current data stored.

issue9719
review308391002
2020-10-21 23:27:13 +02:00
Cédric Krier 9d4875277c Test default value for missing depends field
issue9726
review314481004
2020-10-21 23:23:41 +02:00