Cédric Krier
0490726b24
Use same definition format for dict key than field
...
This will allow to use the dict keys as relational fields and allow the client
to use them for domain parsing.
issue8295
review273311002
2019-06-03 15:37:49 +02:00
Cédric Krier
1890542974
Sort keys of PYSON XML value
...
The value must be constant because it is compared with the previous one.
issue8369
review257481004
2019-05-30 09:37:52 +02:00
Cédric Krier
5e6638c072
Remove useless callables dictionary
2019-05-28 10:03:40 +02:00
Sebastien Marie
8038cfce77
Evaluate n_sign_posn and p_sign_posn as integer instead of char in XML
...
issue8375
review269561002
2019-05-27 23:20:04 +02:00
Cédric Krier
867b7e14e7
Always update ir.model.data if the filesystem value is different
...
We must compare against the filesystem value instead of the old value because
it is the actual target.
issue8353
review261471002
2019-05-22 18:29:04 +02:00
Cédric Krier
155043fb72
Remove Python 3.4 classifier
2019-05-09 09:33:17 +02:00
Cédric Krier
5e0be86c2d
Increase version number
2019-05-06 14:45:35 +02:00
Cédric Krier
35087d9da0
Added tag 5.2.0 for changeset ef34e4e92d45
2019-05-06 14:45:15 +02:00
Cédric Krier
845451050a
Prepare release 5.2.0
2019-05-06 14:45:15 +02:00
Cédric Krier
da5b0daf68
Fill ModelView.__change_buttons in __post_setup__
...
Since the refactoring from a57cd35eec06, we loop only on fields in __setup__
so button_change are not processed. And __change_buttons is not filled.
We fill it in the __post_setup__ when the _buttons dict is filled when values.
issue8329
2019-05-06 11:34:11 +02:00
Cédric Krier
1f4015ae60
Update translations
2019-05-01 18:05:27 +02:00
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