Commit Graph
236 Commits
Author SHA1 Message Date
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
Nicolas Évrard a8acb64a51 Report API refactorization
review8831002
2015-01-20 18:48:46 +01:00
Cédric Krier 91cb6d2058 Add documentation about storage and display of DateTime 2015-01-06 16:33:54 +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
Cédric Krier 59afe32b76 Add documentation about default_ method on Wizard
review9941002
2014-12-20 16:14:04 +01:00
Cédric Krier 286860f6b1 Fix documentation of ModelView.fields_view_get
review8811002
2014-12-16 22:19:01 +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 e8b10770e0 Fix documentation for new API of on_change
issue4203
review6741002
2014-12-04 17:17:01 +01:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +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
Mathias Behrle 36b06551f8 Improving configuration.rst.
review8711002
issue4349
2014-11-19 12:17:04 +01:00
Cédric Krier 8c98acae2f Add missing dependencies in install doc 2014-11-02 23:23:45 +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 611f969823 Increase version number 2014-10-20 14:30:06 +02:00
Cédric Krier 88366406ac Prepare release 3.4.0 2014-10-20 14:27:55 +02:00
Cédric Krier cc8ef0259e Typo in topic name of setup-database 2014-09-18 09:32: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 5afaf53503 Add documentation about database setup
review7571003
2014-09-13 12:19:20 +02:00
Cédric Krier fc5dab5777 Missing separator between installation and configuration topics 2014-09-07 19:09:12 +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 6765a12e5a Add add_remove alias on Many2Many for compatibility with One2Many
issue4112
review5511002
2014-09-01 12:53:32 +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 68c34c203a Add name to union_column to ease override
The current union_column uses the field.name to get the union_field, it works
correctly but prevent to implement by override a clean mapping transformation of
name between the union and the models. Indeed it is doable by passing an other
field but then we could potentially lost the automatic sharding.

issue3992
review13331003
2014-06-22 17:11:06 +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
Sergi Almacellas Abellana 2751c86274 Fix lxml link on documentation 2014-05-22 18:50:31 +02:00
Cédric Krier 1abe24ce34 Add MachMixin
issue3867
review5271002
2014-05-09 23:16:19 +02:00
Cédric Krier 0a1fa3c6e8 Increase version number 2014-04-21 20:28:18 +02:00
Cédric Krier e5f2c9c3c9 Prepare release 3.2.0 2014-04-21 20:26:08 +02:00
Cédric Krier 88bd235c3d Fix documentation warnings 2014-04-17 17:40:50 +02:00
Sergi Almacellas Abellana 5c85442e93 Add reload menu and reload context to client actions
issue3740
review4231002
2014-03-19 23:30:07 +01:00
Cédric Krier 9dbc025011 Add restore_history to ModelSQL
issue3456
review1441003
2014-03-18 20:07:03 +01:00
Cédric Krier 6d1be2574b Allow to customize field column and fix numeric search for SQLite
issue3733
issue3648
review4421002
2014-03-18 19:59:04 +01:00
Cédric Krier 335b0b6851 Add history revisions
issue3678
review3551002
2014-03-18 19:54:32 +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 a130816cbd Add support of domain for non-relation field
issue3743
review4181002
2014-03-15 10:44:45 +01:00
Cédric Krier f0a4bbcff7 Remove Sha field and add password widget
issue3713
review3791003
2014-03-07 19:38:01 +01:00
Sergi Almacellas Abellana e64751cf5b Add docs about new action_id variable on wizards
issue3675
review3911002
2014-02-28 20:29:33 +01:00
Cédric Krier 76cd64e6f8 Add Len to PYSON
issue3692
review3661002
2014-02-27 12:36:53 +01:00
Cédric Krier dce4d3f732 Client side actions on button and wizard
issue3343
review3231002
2014-02-15 18:34:22 +01:00