Commit Graph
5589 Commits
Author SHA1 Message Date
Cédric Krier cc74e8b4bb Add Finnish
issue7237
review44951002
2019-05-01 16:38:57 +02:00
Cédric Krier 4e60a835f7 Add Turkish
issue6745
review48261002
2019-05-01 16:18:50 +02:00
Cédric Krier f7e0d57508 Add Estonian
issue7804
review45781002
2019-05-01 16:08:55 +02:00
Cédric Krier 5c2782626b Use freezed context in order function
The hash method can no hash tuple containing unhashable element like a list.

issue8265
review265341002
2019-04-25 15:24:01 +02:00
Cédric Krier 5b355f37d0 Check access on target only if related field has a target
The Dict field can use the relate syntax to access keys but it does not have
any target model to check.

issue8298
review251291002
2019-04-24 23:46:59 +02:00
Cédric Krier 12376f30e5 Order by target name and context hash
None can not be compared to a class so we always use strings to order before
grouping. Also dictionary can not be compared neither.

issue8265
review253351002
2019-04-24 23:40:46 +02:00
Cédric Krier e63b43b0bb Improve cron form view 2019-04-22 15:46:45 +02:00
Cédric Krier e39129ee3d Add sort and translate options to Reference field
As Reference field uses the SelectionMixin, they could have the same options.

issue8278
review253331002
2019-04-15 16:11:00 +02:00
Cédric Krier 3764a8c44e Do not create empty translations
issue5452
review267251002
2019-04-15 16:07:52 +02:00
Cédric Krier e1cb85ddad Replace dsn by params to connect to postgresql
It is safer to use explicit params than construct DSN string.

issue8270
review269321002
2019-04-15 15:56:03 +02:00
Cédric Krier 96a1ed80d7 Instantiate rule group id with RuleGroup class 2019-04-13 23:13:52 +02:00
Cédric Krier 07456d2009 Simplify cron
issue8201
issue6117
issue2286
2019-04-12 15:59:25 +02:00
Cédric Krier eb3882e113 Verify keys of fields and buttons states
issue8262
review279221003
2019-04-12 13:08:01 +02:00
Cédric Krier 4b4c57a362 Add duration on Cache
issue8249
review283181002
2019-04-11 18:35:25 +02:00
Sergi Almacellas Abellana 49b7238d3f Add strip wildcards helpers
issue7347
review64541002
2019-04-11 15:17:30 +02:00
Maxime Richez e01830cd99 Set interact options depending on python version
issue8257
review269281002
2019-04-11 13:50:56 +02:00
Nicolas Évrard 9047bebdb9 Add list-form view
issue8185
review255091002
2019-04-08 15:06:36 +02:00
Cédric Krier 722db3252a Remove id to on_change calls that are cached
issue8234
review275131002
2019-04-08 10:14:39 +02:00
Cédric Krier 0fbf5cecd2 Add cache management on RPC
issue8233
review257231002
2019-04-08 10:10:40 +02:00
Cédric Krier d49a38e313 Remove deprecation warning from werkzeug 0.15
Try to import SharedDataMiddleware and ProxyFix from middleware Apply
num_proxies to all x_* arguments of ProxyFix.

issue8235
review275141002
2019-04-08 10:02:54 +02:00
Cédric Krier e25b10932e Drop support of python 3.4
issue8203
review279171002
2019-04-07 19:50:05 +02:00
Cédric Krier 6c84d97e41 Remove prerequisites from documentation
issue7397
2019-04-06 17:57:33 +02:00
Cédric Krier 336ba1349b Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:58 +02:00
Cédric Krier e9ee50982b Allow to update records when importing data
issue652
review273131003
2019-04-04 20:00:25 +02:00
Cédric Krier 016ebc8f4e Use attribute directive to Transaction.user instead of wrong reference 2019-04-04 19:49:05 +02:00
Cédric Krier 3e9784c8d7 Set context on record instantiated in Field.__set__ and read related
Field may have a context defined so when it instantiate a relational record,
the field should set this context like when the record is read from the
database in ModelStorage.__getattr__.
And when such field is read as related field, the context should also be set.

issue8225
review287171002
2019-04-04 19:06:09 +02:00
Cédric Krier 34316ae615 Check read access on field in search order
issue8189
review279061002
2019-04-02 19:01:33 +02:00
Cédric Krier 29c36e02ea Update links in package description
issue7921
2019-03-31 00:15:10 +01:00
Cédric Krier 35cdaba19c Update link to dependencies hosted on defunct code.google.com 2019-03-30 18:27:04 +01:00
Cédric Krier 7e6d840dd9 Add base64 converter to URL map
issue7920
review45751002
2019-03-30 17:33:20 +01:00
Cédric Krier d15f283b92 Ensure html section exists in config 2019-03-30 17:09:26 +01:00
Cédric Krier ce0e68a287 Add HTML editor
issue8004
review54481002
2019-03-30 16:04:45 +01:00
Cédric Krier 792ebac88b Use locale format for data export and import
issue8196
review255151002
2019-03-28 19:22:49 +01:00
Sergi Almacellas Abellana 74547c4251 Add day view on calendar
issue7774
review66441002
2019-03-28 12:26:36 +01:00
Cédric Krier bb0242faf8 Raise NotImplementedError when setting Function field without setter
issue7985
review265101002
2019-03-27 00:28:58 +01:00
Cédric Krier af791d5beb Typo on Procedure in RPC documentation 2019-03-26 16:03:20 +01:00
Cédric Krier 44011b1435 Take the field type from the right definition
The field type should be taken from the current fields definition and not from
the class.

issue8212
review273131002
2019-03-22 18:25:52 +01:00
Cédric Krier 9e10625111 Set the requested view_id in result of fields_view_get
The client uses the id of the view received by fields_view_get to construct
the URL so it must be the one requested to ensure to have the same view.

issue7988
review275081002
2019-03-22 18:18:36 +01:00
Cédric Krier 6d16b629f2 Add CSV exports to print toolbar
issue8130
review54571002
2019-03-22 17:21:21 +01:00
Cédric Krier d07f279557 Remove global variables in cron startup
It is better to follow the same startup design than other service.

issue8200
review259131002
2019-03-22 12:17:50 +01:00
Cédric Krier 2752490423 Improve note button
* Add resources method to ModelStorage
* Support badge on icon
* Display unread and total of notes
* Add two extra colors for icon

issue8122
review70561002
2019-03-22 12:16:36 +01:00
Cédric Krier 07d79c7861 Validate selection format in Dict schema
issue7947
review257131002
2019-03-22 11:46:52 +01:00
Cédric Krier fb59d8c9b4 Update documentation of the return of ModelStorage.import_data 2019-03-21 17:50:39 +01:00
Sergi Almacellas Abellana 857cc25b6b Update numeric and monetary formating of languages
issue3636
review52561002
2019-03-21 15:13:13 +01:00
Cédric Krier 45946c23ef Wait up to 10 seconds for cache sync in tests
On busy host, it may require some time to receive the notification.

issue8198
review269141003
2019-03-16 14:56:32 +01:00
Cédric Krier 65c896b1f0 Do not fail on importing string tools if missing python-Levenshtein
python-Levenshtein is an optional dependency so trytond.tools.string_ should
not fail on import.

issue8040
2019-03-15 13:37:17 +01:00
Cédric Krier e2318257bb Allow to extend Field string and help
Those attributes are stored as StringPartitioned and each part creates its own
translation record. The translated strings are constructed by concatenation of
each translated part.

issue8040
review46731002
2019-03-15 13:01:11 +01:00
Cédric Krier 28b2f1129d Add console
issue8126
review47821002
2019-03-15 12:53:20 +01:00
Cédric Krier 10e31bc311 Add Model.__names__ to retrieve model and field names
issue8159
review72431002
2019-03-15 12:27:44 +01:00
Cédric Krier 23a1288d32 Improve sync of data
- Enforce refresh session
- Remove write access for admin
- Use root to synchronize
- Do not fail if model does not exist anymore
- Remove from written values fields that do not exist anymore
- Rewrite fs_value to ensure normalized format

issue7950
review45971002
2019-03-15 11:11:33 +01:00