Cédric Krier
1ee46331ef
Add domain to cron time fields
...
issue10193
review332661010
2021-04-24 19:28:39 +02:00
Cédric Krier
42cb4a0f53
Set name clause on join condition instead of subquery
...
The name is a column from a table that is not available in the subquery.
issue10257
review346001004
2021-04-24 19:27:07 +02:00
Cédric Krier
1b40a6461d
Do not fail if __main__ has not __file__ attribute
...
This happens when trytond is launched by a server like uwsgi.
issue10333
review334241002
2021-04-24 19:24:27 +02:00
Cédric Krier
7cd224905e
Do not use root user to validate records
...
It is no more needed as record rules are now ignored by _check_access.
issue10303
review357871002
2021-04-23 22:59:19 +02:00
Albert Cervera i Areny
f56915879f
Fix typo in test_depend_exists message
...
issue10305
review342151002
2021-04-23 20:14:57 +02:00
Cédric Krier
22370bebaf
Ensure sequence_ordered is ASC
...
issue10299
review334181002
2021-04-22 23:44:39 +02:00
Cédric Krier
23658d9e06
Update logging message for re-run update
...
issue10286
review357811002
2021-04-21 23:54:43 +02:00
Cédric Krier
14ccff94a0
Use order definition of xxx2Many fields
...
When empty it must be the order of the target and it must not be encoded as it
can not be PYSON.
issue10297
review349721004
2021-04-21 23:47:30 +02:00
Cédric Krier
d7b3e7a2ef
Add missing ending quote to missing method message
2021-04-19 18:01:19 +02:00
Cédric Krier
ef72790b98
Remove documentation warning about _check_access
...
It is not more valid since issue4080.
2021-04-14 10:37:22 +02:00
Cédric Krier
2afbbac4c3
Use qmark instead of format as paramstyle for SQLite
...
issue10283
2021-04-14 10:11:42 +02:00
Cédric Krier
7aa2ef6b5e
Do not set _timestamp on fake singleton instance
...
It is not really useful because the id of the future record can not be guessed
for sure by the client.
Also when write is called with such fake _timestamp as singleton create the
record before actually write, the timestamp check always fails (if the id was
correctly guessed).
issue10282
2021-04-14 00:39:56 +02:00
Sergi Almacellas Abellana
c95520b38a
Concatenate cascade string to drop table before converting to SQL
...
issue10278
review332571002
2021-04-13 18:17:22 +02:00
Sergi Almacellas Abellana
baa364f808
Only test column varchar size when set
...
issue10276
review338071003
2021-04-13 14:22:48 +02:00
Sergi Almacellas Abellana
a779eefbfd
Add missing rename word in postgresql sequence rename
...
issue10275
review338071002
2021-04-13 12:06:56 +02:00
Cédric Krier
4acc4c8467
Do not warn about single '/' as path in database uri
...
This is a valid configuration according to the documentation.
issue10101
2021-04-13 01:45:30 +02:00
Cédric Krier
ab192ea0cc
Set backend scheme to uses netloc
...
The netloc is required in dsn.
issue10101
2021-04-13 01:43:52 +02:00
Cédric Krier
012ca5824e
Alter column type to change size on postgresql table
...
issue7331
2021-04-13 01:41:30 +02:00
Nicolas Évrard
2f08e73ba2
Escape identifiers in backend
...
issue10245
review317021002
2021-04-12 23:07:55 +02:00
Cédric Krier
c76743ee0c
Keep raising exception when DB path of SQLite does not exist
...
issue10101
2021-04-12 22:08:36 +02:00
Nicolas Évrard
ffe62f46e8
Allow column sql types to be tested from the table handler
...
issue9645
review312421002
2021-04-12 20:56:08 +02:00
Nicolas Évrard
7417261c8d
Use specific search domain for reference field searches
...
issue9997
review324781002
2021-04-12 20:54:03 +02:00
Nicolas Évrard
a5e3d0b0f8
Add support for database connection parameters to configuration URI
...
issue10101
review339891002
2021-04-12 20:39:23 +02:00
Cédric Krier
9ae1fb1694
Make action window on singleton load the unique id
...
issue1505
review361611003
2021-04-12 20:16:41 +02:00
Cédric Krier
85646eec35
Ignore pseudo-field when reading singleton
...
The default_get method fails when called with non-existing fields.
issue10262
review348161009
2021-04-12 20:15:13 +02:00
Nicolas Évrard
a426d9f398
Use immutable datastructures for Dict and MultiSelection fields
...
In case a Dict field is sent during an on_change, modification of its value
won't be detected because a shallow copy will keep its reference in the
pseudo-record
issue10105
review347541002
2021-04-12 19:39:25 +02:00
Adrià Tarroja Caubet
dc866d3669
Skip warnings for non-interactive operations
...
issue10096
review343671002
2021-04-12 17:44:16 +02:00
Cédric Krier
7a9be19c2d
Use same evaluation context for search than eval
...
issue10254
review349691002
2021-04-11 18:22:36 +02:00
Cédric Krier
1788bcb544
Check rule only if _check_access is set
...
issue4080
review343891009
2021-04-10 23:44:39 +02:00
Sergi Almacellas Abellana
e41368da9c
Allow integer values as input of decistmt
...
issue10252
review337931002
2021-04-10 21:07:19 +02:00
Cédric Krier
d23abd7b8f
Allow extending evaluation context of email template
...
and add some formatting function from Report
issue10242
review320791002
2021-04-08 23:41:32 +02:00
Cédric Krier
ea57165a86
Add attachment preview
...
issue10203
review332271014
2021-04-07 23:34:51 +02:00
Sergi Almacellas Abellana
fbdd94801b
Limit user preference actions
...
issue8642
review317131002
2021-04-07 17:31:03 +02:00
Cédric Krier
fb9b7a5ee8
Add statistics to Cache
...
issue10100
review335611003
2021-04-03 23:43:40 +02:00
Cédric Krier
2cdd2f28ff
Do not save avatar cache if the record is not yet committed
2021-03-28 20:32:09 +02:00
Cédric Krier
4d0a6fa864
Prevent infinite loop when generate avatar without PIL
...
Without PIL the value returned by generate_avatar is None which is saved and
trigger again the call to generate_avatar and so on.
2021-03-28 19:49:52 +02:00
Cédric Krier
80ac9eb0be
Add support for avatar
...
issue10085
review343561002
2021-03-28 19:20:37 +02:00
Sergi Almacellas Abellana
1184e154c1
Allow links on notebook pages
...
issue10184
review341691002
2021-03-27 21:00:44 +01:00
Cédric Krier
05137a72a4
Add status command
...
issue10098
review347481002
2021-03-27 19:42:53 +01:00
Cédric Krier
c848ca1d2d
Add document widget
...
issue10173
review330471004
2021-03-27 17:17:00 +01:00
Cédric Krier
96a459ed96
Start pool in trytond
...
This is to register classes if no database names are in options and also the
custom routes.
issue10211
review340391002
2021-03-23 23:56:54 +01:00
Cédric Krier
45d406e270
Add full text and similarity search
...
issue10023
review320601007
2021-03-21 16:21:05 +01:00
Cédric Krier
9c81cb6a4a
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
aa6037385f
Define as option the type attribute of image
...
issue10140
2021-03-20 12:50:28 +01:00
Cédric Krier
71dcac9bbc
Add icon of type URL
...
issue10140
review355171002
2021-03-20 12:38:16 +01:00
Cédric Krier
d4e228a29f
Do not return None when evaluating domain with in operator
...
When the operator is 'in' and the value contains None, Field._domain_add_null
adds an equal operator against NULL. So this must be managed like the '='
operator.
issue9906
review332201005
2021-03-20 12:33:09 +01:00
Cédric Krier
4f3c27015e
Update documentation example to match current version
2021-03-18 23:03:55 +01:00
Nicolas Évrard
55143f1009
Compute default values on creation only once per schema of missing default values
...
issue10131
review341491002
2021-03-12 12:33:30 +01:00
Nicolas Évrard
30c8c41c26
Ensure dependencies of fields are also loaded on Form display
...
issue9630
review298641002
2021-03-11 23:34:44 +01:00
Cédric Krier
7264e2e76b
Do not drop sequence type code
...
The column is needed to migrate both sequence tables.
issue10122
2021-03-11 23:12:06 +01:00