Commit Graph
517 Commits
Author SHA1 Message Date
Adrià Tarroja Caubet 2ba3e1bdb6 Allow skipping user warnings globally
issue7442
review318871002
2021-02-05 00:21:10 +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 2738cf56b8 Update installation documentation to new tools
issue9957
review347121003
2021-01-03 13:07:39 +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 e18501c644 Support other methods for button_change decorator
issue9871
review314871002
2020-12-05 12:09:27 +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
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 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
Cédric Krier c2e22d9d43 Add language attribute to data tag
issue9559
review302061002
2020-09-18 00:06:31 +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 a9241ac345 Add option to ensure emails are sent
issue9456
review298071002
2020-07-21 14:33:49 +02:00
Cédric Krier bbe845aca5 Remove link to ssl wrap_socket in doc
issue9441
review321711002
2020-07-13 21:10:44 +02:00
David Harper 26b87dd919 Do not refer to activated modules as installed
issue9395
review311721004
2020-07-09 10:33:42 +01:00
Cédric Krier 060a9da6bf Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +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 547bd561bf Remove sphinx configuration
The HTML can be generated with sphinx-build -C . _build/html

issue9370
review295661002
2020-06-06 14:04:01 +02:00
David Harper 67acdddc3a Allow authentication methods to be combined
issue9303
review291621002
2020-05-21 09:06:10 +02:00
Cédric Krier 8996bd6f56 Increase version number 2020-05-04 12:01:52 +02:00
Cédric Krier 75075aa8f4 Prepare release 5.6.0 [skip ci] 2020-05-04 12:01:34 +02:00
Cédric Krier ad4a2bdf75 Add link button
issue9051
review280841002
2020-04-13 12:21:55 +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
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
Sergi Almacellas Abellana 0cb3377825 Add depends fields on view_attributes
issue8862
review303161002
2020-03-30 09:33:15 +02: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 8df56316b8 Explain when [web] hostname configuration is used
issue9116
review284981002
2020-03-28 00:28:43 +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 62f2ce0198 Set all fields readonly for inactive records
issue3747
review295061011
2020-03-17 20:08:13 +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 9102590ddb Add documentation about spell attribute
issue9061
review258751002
2020-02-29 23:50:59 +01:00
Cédric Krier 62a24a6615 Manage readonly dates and editable calendar view
If any of the dates is readonly, the event can not be modified by drag and
drop.
If the calendar is not editable no events can be modified.

issue9012
review256451002
2020-02-29 23:43:50 +01:00
Cédric Krier 1a4fa284a4 Fix translations wizard name in the documentation 2020-02-27 19:08:35 +01:00
David Harper f0990baa49 Replace depreciated assert_ function with assertTrue
issue9077
review274891002
2020-02-21 09:15:12 +01:00
Cédric Krier a99931c5c4 Do use translation cache if records were modified after last synchronisation
On distributed setup, the cache is not synchronized instantaneously so we can
not use the cache if the record was modified by another process since the last
synchronisation.

issue9013
review262841002
2020-02-15 01:36:48 +01:00
José Salvador 39f439523c Fix logging level link in documentation
issue9060
review280891002
2020-02-13 18:02:05 +01:00
Cédric Krier ae32a1a45a Document TRYTOND_DATABASE_URI as default value
issue8959
review282641002
2020-01-24 00:19:52 +01:00
Cédric Krier 7875590cf3 Add xalign and yalign to group
issue8956
review258581002
2020-01-24 00:18:19 +01:00
Cédric Krier e48c7a556d Document the email address format supported
issue8949
review258571002
2020-01-21 00:43:21 +01:00
Cédric Krier 9b2ed5d993 Move search documentation to ModelStorage
issue8946
review270771002
2020-01-21 00:40:40 +01:00
Cédric Krier 6b14518eff Position new record based on order
We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.

issue8880
review276501003
2019-12-28 18:16:28 +01:00
Cédric Krier 35fec78c17 Load WSGI middleware from configuration
issue8807
review270521002
2019-12-28 18:00:01 +01:00
Cédric Krier 45226af9d5 Make PYSON example a literal block 2019-12-19 17:36:26 +01:00