Commit Graph
627 Commits
Author SHA1 Message Date
Cédric Krier 964fc0a74b Add help for each value to selection and multiselection
issue9649
review320021002
2021-02-14 14:28:55 +01:00
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 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 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 8e6173c257 Support Genshi element directives in HTML editor
issue9510
review331591002
2021-01-11 00:04:35 +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 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
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 0aa6c7c80b Add all buttons to default form view
issue9870
review333231002
2020-12-05 11:43:59 +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 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 3c7c124b91 Prepare release 5.8.0 [skip ci] 2020-11-02 15:37:33 +01:00
Cédric Krier cca6a1cd1b Remove support for Python 3.5
issue9733
2020-10-24 13:45:13 +02:00
Cédric Krier 001245bf60 Support timedelta in CSV import/export
issue9220
review297531002
2020-10-11 19:04:16 +02:00
Cédric Krier cd7d40eb07 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:06 +02:00
Cédric Krier 7f6b94610b Add sql_pairing tool
issue9606
review328091002
2020-10-08 21:34:15 +02:00
Sergi Almacellas Abellana 97194bc10b Add format_datetime to Report
issue7202
review45521002
2020-10-04 23:04:01 +02:00
Cédric Krier 81bade4035 Allow sharing view searches
We add a rule to give read access to all view searches without a user.
We manage the delete access on client side thanks to the _delete attribute.
If the user does not have the delete right, the bookmark star is disabled.

issue9515
review323751002
2020-09-24 23:00:52 +02:00
Cédric Krier 05b53fa6c9 Allow overriding digits in Lang.currency and Report.format_currency
issue9588
review292221002
2020-09-24 22:49:09 +02:00
Abraham Cabezas fb7516ddb1 Add record name in report filename
issue9509
review306161002
2020-09-24 09:51:09 +02:00
Nicolas Évrard 70b2c9b56c Manage deletable and writable state from ir.rule
issue9357
review290101002
2020-09-23 10:04:19 +02:00
Cédric Krier c2e22d9d43 Add language attribute to data tag
issue9559
review302061002
2020-09-18 00:06:31 +02:00
Cédric Krier 82e64bf66a Send client email via server
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier 2f19e94033 Register mixins to generic Report class
issue9531
review300261002
2020-09-12 18:25:14 +02:00
Cédric Krier d3494d767c Support MsgDirective and cache template for report
We add the Translator directives to the template so we can use the i18n
extension on HTML report.
We also cache in memory the parsed template and avoid to write it in temp
directory for the loader.

issue9511
issue6489
review321891002
2020-09-12 16:35:52 +02:00
Cédric Krier be7edef2ef Support PYSON comparison of date and datetime
issue4879
review270061002
2020-09-05 22:59:38 +02:00
Cédric Krier 0b85f26f78 Add cron task to clean old queue tasks
issue9502
review306141002
2020-08-11 22:03:20 +02:00
Cédric Krier 9202f337e3 Add option to run cron once
issue9475
review307931002
2020-07-25 08:03:02 +02:00
Cédric Krier 201258441a Add defaults option to route
issue9472
review298191002
2020-07-23 00:05:35 +02:00
Cédric Krier f913df040c Add escape_wildcard in tools
issue9463
review306021002
2020-07-21 14:37:01 +02:00
Cédric Krier a9241ac345 Add option to ensure emails are sent
issue9456
review298071002
2020-07-21 14:33:49 +02:00
Cédric Krier 5ea5007bfc Allow keyword action for all models
issue9450
review325681002
2020-07-21 14:32:09 +02:00
Cédric Krier 46995607e2 Ensure values can be sorted
The values may contain None which is not orderable so we insert a third
argument before the value to prevent to compare None value against others.

issue9381
review303881005
2020-07-21 00:36:40 +02:00
Cédric Krier e97f4e0526 Allow configuration of default colors for graph and calendar
issue9435
review300011002
2020-07-09 00:34:01 +02:00
Cédric Krier 060a9da6bf Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Sergi Almacellas Abellana d3f7ea5889 Do not write to existing targets on xxx2Many add
issue9194
review313581011
2020-06-17 13:55:00 +02:00
Cédric Krier c6503c1a93 Add cached_property in tools
issue9277
review299951002
2020-06-17 00:33:30 +02:00
Cédric Krier b3f8d125f9 Use custom class to store record data
By using a class with slots instead of standard dict, we can reduce a lot the
memory usage to store the record data in the caches and values.
Also we can rely on the data in the cache to exist only for real field which
can be used to create a fast path in ModelStorage.__getattr__.
As now storing data in the cache has no extra cost, we can store data from the
transactional cache in the local. This allow also to have a shorter path in
ModelStorage.__getattr__.
For more memory efficiency, we remove the record from the cache instead of
clearing them. It was better to clear a dict but a record is less expensive to
re-instantiate than clearing.

issue9369
issue9225
review297861002
2020-06-13 09:48:03 +02:00
Cédric Krier eed1f5fe58 Check price_decimal configuration
The price_decimal stored in ir.configuration is checked against the current
configuration value. We do not allow to start serving a database for which the
values are different as it may be due to a misconfiguration which can lead to
data corruption.

issue9324
review317381002
2020-05-28 18:22:45 +02:00
Nicolas Évrard cfb307238e Add support for properties to fields.depends
issue9313
review319451002
2020-05-25 09:39:17 +02:00
David Harper 67acdddc3a Allow authentication methods to be combined
issue9303
review291621002
2020-05-21 09:06:10 +02:00
Cédric Krier 163f99ff65 Add context to export URL
issue9304
review317361002
2020-05-19 19:36:09 +02:00
Cédric Krier 75075aa8f4 Prepare release 5.6.0 [skip ci] 2020-05-04 12:01:34 +02:00