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
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
596b657794
Add tag 5.8.0 [skip ci]
2020-11-02 15:37:33 +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
fb291d6d6c
Add report extension as extra files
...
issue9760
review292571002
2020-10-27 21:15:28 +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
Cédric Krier
cca6a1cd1b
Remove support for Python 3.5
...
issue9733
2020-10-24 13:45:13 +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
Cédric Krier
39a6751726
Set default value for missing depends field
...
This avoid to fill an instance with None value which will prevent it to be
saved with the default value for fields not explicitly assigned.
issue9726
review314481004
2020-10-21 23:23:17 +02:00
Cédric Krier
1f013a7eec
Convert read column into proper type with SQLite
...
As SQLite has few basic types, we must use column names cast parsing to ensure
to read values in proper type.
issue9652
review310801004
2020-10-21 23:11:13 +02:00
Cédric Krier
560f056751
Add missing space and dot in translated strings
2020-10-21 21:08:55 +02:00
Sergi Almacellas Abellana
7378890e1b
Do not use original_exception on werkzeug < 1.0
...
InternalServerError's original_exception argument was added on version 1.0
issue9632
review310551087
2020-10-20 13:02:35 +02:00
Cédric Krier
2439910640
Ignore flake8 E741
2020-10-16 19:19:59 +02:00
Cédric Krier
ab14e12f1f
Restore English language on tear down
...
The translations tests change the default language on setup and commit the
change. So we must restore the initial state of the database at the end of the
test case.
issue9702
review312521002
2020-10-14 14:43:40 +02:00