Cédric Krier
a9f00a2d40
Retry sending email on temporary failure
...
issue11179
review354581002
2022-02-17 00:43:04 +01:00
Cédric Krier
2495c0cbdd
Order unsorted Selection by index definition
...
issue11169
review387771003
2022-02-15 00:06:57 +01:00
Cédric Krier
10d277f001
Add optional column on tree view
...
issue10989
review374321002
2022-02-03 23:13:28 +01:00
Cédric Krier
632deb43e5
Use dictionary as domain for Reference field
...
issue11074
review383911002
2022-02-03 23:05:47 +01:00
Cédric Krier
19ad886d45
Add limit to search count
...
issue10967
review389301002
2022-01-30 01:42:23 +01:00
Cédric Krier
51a08fb809
Set view_id in the context when calling view_attributes
...
issue11091
review364531002
2022-01-04 22:30:41 +01:00
Cédric Krier
e02c830159
Fill local cache of Function field instances with values
...
issue10936
review377511003
2021-11-28 13:40:30 +01:00
Cédric Krier
a00d26dd3c
Cache Function field getter without context in readonly transactions
...
issue10936
review367781002
2021-11-28 13:27:52 +01:00
Cédric Krier
8bbecaa817
Allow to cast as date using timezone
...
issue10860
review372321002
2021-10-21 00:11:57 +02:00
Adrià Tarroja Caubet
4134e26cd7
Add missing new lines on docs
...
issue10887
review387211002
2021-10-20 15:16:10 +02:00
Cédric Krier
32a978a016
Add format method to DictSchemaMixin
...
issue10758
review354001002
2021-10-10 22:08:39 +02:00
Cédric Krier
d50fc36f22
Allow locking tables by calling ModelSQL.lock without records
...
issue10785
review359051002
2021-10-03 13:50:33 +02:00
Cédric Krier
66a0dcf2b5
Add stored path as alternative to MPTT
...
issue7177
review352501002
2021-10-03 01:14:08 +02:00
Cédric Krier
fdcc828395
Add set_from_header in email tools
...
issue10753
review377121002
2021-09-26 23:11:21 +02:00
Cédric Krier
9f8b847c15
Use immutable dictionary for Transaction context
...
issue10691
review358741002
2021-09-19 00:30:35 +02:00
Cédric Krier
154d8e4a23
Add remove_forbidden_chars in tools
...
issue10684
review371581002
2021-09-13 23:43:03 +02:00
Cédric Krier
f8358b1229
Search by similarity only if a threshold is defined
...
issue10710
review363851002
2021-09-10 19:13:05 +02:00
Cédric Krier
5a78da0925
Add estimation count to ModelStorage
...
issue10623
review350381002
2021-09-04 19:40:02 +02:00
Cédric Krier
6920de2b55
Add strict parameter to sendmail_transactional
...
and complete the documentation.
issue10681
review353811002
2021-09-02 23:14:56 +02:00
Cédric Krier
fb9238b8bf
Add digits mixin
...
issue10596
review338511002
2021-08-21 09:05:34 +02:00
Cédric Krier
fa1b09c05e
Remove delete attribute and use defaultdict from Transaction
...
issue10630
review369351002
2021-08-16 23:11:38 +02:00
Cédric Krier
fb9b7a5ee8
Add statistics to Cache
...
issue10100
review335611003
2021-04-03 23:43:40 +02:00
Cédric Krier
80ac9eb0be
Add support for avatar
...
issue10085
review343561002
2021-03-28 19:20:37 +02:00
Cédric Krier
45d406e270
Add full text and similarity search
...
issue10023
review320601007
2021-03-21 16:21:05 +01:00
Cédric Krier
04a0aea2ad
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier
77dbb6df2f
Make ModelView.parse_view public
...
issue10073
review333851028
2021-02-14 15:56:18 +01:00
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
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
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
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
a9241ac345
Add option to ensure emails are sent
...
issue9456
review298071002
2020-07-21 14:33:49 +02: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
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
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
62f2ce0198
Set all fields readonly for inactive records
...
issue3747
review295061011
2020-03-17 20:08:13 +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
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
45226af9d5
Make PYSON example a literal block
2019-12-19 17:36:26 +01:00