Commit Graph
5966 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 82c10edcfd Depend on werkzeug before 2.0.0
issue10077
review324981002
2021-02-10 23:52: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 2738cf56b8 Update installation documentation to new tools
issue9957
review347121003
2021-01-03 13:07:39 +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
Cédric Krier f40d16a89e Document Cache.drop as classmethod 2020-12-26 21:49:29 +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 3b005787d3 Document ModelView._buttons states keys
issue9954
review292951002
2020-12-22 00:27:17 +01:00
Cédric Krier b267d0080d Add support for Python 3.9
issue9685
2020-12-19 17:08:48 +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
David Harper 5ad93fad89 Test long_description using twine check
issue9781
review337181002
2020-12-15 11:42:57 +00:00
Cédric Krier e32a98c589 Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:54 +01:00
Nicolas Évrard 1d29cbe2b8 Compute once selection field's value when possible
issue9222
review309331002
2020-12-11 11:57:10 +01:00
Cédric Krier 70eda603bc Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:05:58 +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
David Harper 31a0ee2ec4 Use double backticks for literals in documentation
issue9827
review335091002
2020-11-29 11:35:29 +00:00
David Harper 6badc77143 Document One2One.get_relation method
issue9826
review331201002
2020-11-29 11:30:45 +00:00
David Harper 7604a6ce35 Replace TODO directive with comment in documentation
issue9826
review292751002
2020-11-29 11:23:26 +00: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 9bc3c3d41f Do not fill extra_files when not used
extra_files is used only by werkzeug server on developer mode.

issue9799
review296811002
2020-11-16 00:04:18 +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