Commit Graph
266 Commits
Author SHA1 Message Date
Nicolas Évrard 5a74a88f97 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-05 16:35:09 +01:00
Nicolas Évrard dcf57d8c33 Allow to use the dotted notation for search order parameters
issue4370
review5801002
2015-01-02 16:33:00 +01:00
Nicolas Évrard 6b0eac601a Use data's action_id to find report to use
issue4411
review10741002
2014-12-18 11:36:40 +01:00
Cédric Krier 9f3b1271d3 Add wizard and state_name to StateView.get_view
This gives the same signature as for get_buttons and get_defaults. And so it
allows to customize the returned view base on the wizard state.

issue4406
review5861002
2014-12-16 22:17:34 +01:00
Cédric Krier 38b59e0329 Remove Pool.object_name_list
This method is inefficient for testing existence of an item, it is better to
ask for forgiveness.

review12761002
2014-12-16 22:02:44 +01:00
Cédric Krier b379e32745 Add translated descriptor for Dict field
issue4343
review11641002
2014-11-27 22:20:43 +01:00
Cédric Krier 360f39f89d Make cache size configurable
* Clean private context keyword in RPC
* Add cache section in configuration

issue4320
review10641002
2014-11-19 21:35:51 +01:00
Cédric Krier b13abebc81 Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:52:55 +01:00
Cédric Krier fee97ca399 New API for on_change
Modify the instance instead of returning a dictionary.

issue4203
review8581002
2014-10-29 20:38:17 +01:00
Cédric Krier 4d5f4c6c3d Add restore_history_before on ModelSQL
issue4259
review6601003
2014-10-27 23:10:52 +01:00
Cédric Krier bd54c8c5ff Remove img_{width,height} form attributes
issue4266
review10571002
2014-10-23 20:56:57 +02:00
Cédric Krier 88366406ac Prepare release 3.4.0 2014-10-20 14:27:55 +02:00
Cédric Krier 5ce5fb79d3 Use literal_eval instead of safe_eval whenever possible
CVE-2014-6633
issue4155
review10521002
2014-09-29 17:29:25 +02:00
Cédric Krier ccda215615 Prevent double underscore in safe_eval
CVE-2014-6633
issue4155
review5601002
2014-09-29 17:23:37 +02:00
Nicolas Évrard beb8398c36 Add image widget to rn[gc]
issue3729
review3991003
2014-09-19 17:11:28 +02:00
Cédric Krier 2aa2ee994d Add pre-validation on button
issue4121
review8511002
2014-09-17 22:05:44 +02:00
Cédric Krier a2c8111f26 Use context to check model and field access
* Model and Field access checked only if _check_access is set
* Add check_access to RPC
* Add check_access to Wizard and Report

issue4081
review8481002
2014-09-17 21:43:53 +02:00
Cédric Krier 16aa948e3d Add support for domain_<field name> method
issue4126
review6501002
2014-09-13 15:14:56 +02:00
Cédric Krier e0b995abbe Refactore configuration to allow easy extention
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Cédric Krier 349fc51a7f Use the context of the relation field for instanciation
issue4098
review13461002
2014-08-29 16:49:09 +02:00
Pierre-Louis Bonicoli 3a8373db6e Use a configuration file for logging
issue4040
review10441002
2014-08-26 16:50:25 +02:00
Cédric Krier cd2ac5c1b1 Add translated descriptor for Selection field
issue3679
review10401002
2014-08-04 16:50:59 +02:00
Cédric Krier 18f7565434 Add tree_state attribute on tree view
issue4028
review11331004
2014-07-20 12:54:11 +02:00
Cédric Krier b955ab3070 Allow to sync XML data
- Adds menu entry for ir.model.data
- Remove write access on ir.model.data to administrator group
- Add sync button on ir.model.data
- Change storage format of values to be comparable

issue3918
review8351002
2014-06-13 19:14:48 +02:00
Cédric Krier e740b5f432 Remove on_change call from default_get
The on_change call doesn't work for xxx2many fields, so it is moved on the
client side where it is properly managed.

issue3923
review6301002
2014-06-08 00:33:31 +02:00
Cédric Krier 3f8d858c01 Add UnionMixin
issue3906
review8341002
2014-06-08 00:26:57 +02:00
Cédric Krier 03801d399a Allow to disable sorting of dictionary field's selection
issue3605
review2821002
2014-05-30 16:31:17 +02:00
Cédric Krier ef48a7f6f8 merge 2014-05-30 15:51:45 +02:00
Cédric Krier 81d34316e8 Fix typo 2014-05-30 15:43:45 +02:00
Sergi Almacellas Abellana d94e4fce89 Add active field to views of action window
review12321002
issue3770
2014-05-29 09:49:04 +02:00
Cédric Krier 67dfdc6a99 Make global cache depends on explicit context keys
This should prevent the invalidation of the cache when the context keys that are
changed has no influence onn the global cache.

issue3905
review6291002
2014-05-22 23:36:00 +02:00
Cédric Krier 1abe24ce34 Add MachMixin
issue3867
review5271002
2014-05-09 23:16:19 +02:00
Cédric Krier 147d6c0ad8 Improve cache management on access right
issue3848
review5111002
2014-05-04 00:11:17 +02:00
Cédric Krier e5f2c9c3c9 Prepare release 3.2.0 2014-04-21 20:26:08 +02:00
Cédric Krier 9dbc025011 Add restore_history to ModelSQL
issue3456
review1441003
2014-03-18 20:07:03 +01:00
Cédric Krier 335b0b6851 Add history revisions
issue3678
review3551002
2014-03-18 19:54:32 +01:00
Nicolas Évrard ff4edfb401 Add multiselection widget to rn[cg]
review3851002
issue3634
2014-03-16 21:10:34 +01:00
Nicolas Évrard 4334efa2ee Add index to one2many's on_change add
review2091002
issue3539
2014-03-16 20:49:42 +01:00
Cédric Krier 4306811fe6 Remove auto-refresh on Action Window
issue3752
review4221004
2014-03-15 10:50:42 +01:00
Cédric Krier a130816cbd Add support of domain for non-relation field
issue3743
review4181002
2014-03-15 10:44:45 +01:00
Cédric Krier 64421ff64f Manage microseconds in JSON-RPC and XML-RPC
review3551002
2014-03-15 10:36:20 +01:00
Cédric Krier f0a4bbcff7 Remove Sha field and add password widget
issue3713
review3791003
2014-03-07 19:38:01 +01:00
Cédric Krier 76cd64e6f8 Add Len to PYSON
issue3692
review3661002
2014-02-27 12:36:53 +01:00
Cédric Krier c6c0ca4da7 Use bcrypt to hash password if possible
If bcrypt is not available, it fallbacks to sha1 but it will use bcrypt to hash
new password if available.
The storage uses a simple hashing scheme which eases to add new hashing method
and doesn't rely anymore on the specific Sha field but on Function field.

Thanks to Vishesh Yadav

review1039002
2014-02-24 19:48:03 +01:00
Cédric Krier 2680d1b746 Use a sequence of ids, values to set fields
review3331003
2014-02-24 19:15:57 +01:00
Cédric Krier dce4d3f732 Client side actions on button and wizard
issue3343
review3231002
2014-02-15 18:34:22 +01:00
Cédric Krier 5a73f91a6d Add depends attribute to data tag
This is the counterpart of the Pool register of extras_depend modules for the
XML record creation. It allow to create records if some other modules are
installed.

review3041002
2014-02-06 22:30:11 +01:00
Cédric Krier 29358683cd Add tree_invisible attribute to button in tree view
review3041003
2014-02-06 22:25:43 +01:00
Cédric Krier bc6acd08ee Drop support of Python 2.6
review2691002
2014-01-31 00:02:03 +01:00
Cédric Krier 905343c900 Add fields.depends decorator
issue3487
review2301002
2014-01-26 14:27:24 +01:00