Commit Graph
283 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 72e215c232 Fix CHANGELOG format 2015-06-15 10:57:11 +02:00
Sergi Almacellas Abellana 180d906316 Only return default record if no domain supplied on ModelSingleton search
issue4766
review15401002
2015-06-15 10:19:01 +02:00
Cédric Krier 5478e5463f Don't use subquery to enforce record rule
Rule.domain_get returns now only a domain and Rule.query_get returns the query
which domain_get used to.

issue4800
review8151002
2015-06-15 01:14:47 +02:00
Cédric Krier 0c4725b891 Add target_search option on Many2One
The option allow to select between the subquery or the join format for target
search clause.

issue4798
review16341002
2015-06-15 01:10:59 +02:00
Cédric Krier 52ff97b165 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:02:01 +02:00
Cédric Krier 8706a60c29 Prepare release 3.6.0 2015-04-20 15:05:09 +02:00
Cédric Krier 5cfde31ed2 Use bytes and bytearray for Binary
issue4637
review11091002
2015-03-16 19:28:34 +01:00
Cédric Krier ad5eb3ed97 Add ModelView.button_change
issue4397
review7781002
2015-03-16 12:56:11 +01:00
Cédric Krier 39e7eeeadb Add support for psycopg2cffi and PyPy
issue4408
review11741002
2015-03-15 15:52:03 +01:00
Cédric Krier b7776731a6 Add noeval to PYSONDecoder
issue1616
review15071002
2015-03-10 23:47:38 +01:00
Cédric Krier e985252f2d Add __repr__ to PYSON
issue4607
review4151002
2015-03-10 23:38:33 +01:00
Cédric Krier bcd28ca071 Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:40:41 +01:00
Cédric Krier f5e69c3abf Add product attribute on form view for One2Many
issue4229
review13581002
2015-03-02 23:18:22 +01:00
Cédric Krier 0991a552de Add TimeDelta field
And remove float_time widget.

issue4026
review5911002
2015-02-09 22:58:56 +01:00
Cédric Krier 32001bc6d6 search_global yields record instead of id
It is better for customization to yield record instead of id to prevent to
instantiate a second times the record.

issue4519
review6871002
2015-02-04 13:37:02 +01:00
Cédric Krier 50dfa3f7c5 Add check for default model access and add ModelTestCase
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:11:23 +01:00
Nicolas Évrard a8acb64a51 Report API refactorization
review8831002
2015-01-20 18:48:46 +01:00
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