Commit Graph
103 Commits
Author SHA1 Message Date
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 1e9673ea47 Improve module buttons
- Enforce origin state of modules
- Speedup on_write computation
- Better usage of record cache

review3361002
2014-02-14 00:18:27 +01:00
Cédric Krier cf28a3709e Add ending form to config wizard
This ending form will prevent the client to reload the context and the menu
before the end of the last item.

issue3569
review2481002
2014-01-04 19:32:23 +01:00
Cédric Krier fc6c6cfdda Migration to python-sql
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method

review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier 5e01f5c068 Fix flake8 2013-02-27 22:50:31 +01:00
Albert Cervera i Areny 30b1403cdc Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier b57f044ba8 Fix pep8 and pyflakes 2012-10-19 12:29:05 +02:00
Cédric Krier ce8b90c86a Don't create wizard session for ModuleInstallUpgrade
Updating the wizard session could generate dead lock when updating/installing
modules that contains wizard session.

issue2568
2012-09-28 18:13:41 +02:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier a09d9a54a1 Simplify module information with python configuration
review363001
2012-06-08 19:32:23 +02:00
Cédric Krier a8fc706ac0 Remove wrong underscore in module buttons states 2012-04-23 16:03:07 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier be0e5c54a9 Simplify workflow engine
- Remove workflow module
- Add ir.model.button for access rights

review256001
2012-03-25 00:15:17 +01:00
Nicolas Évrard 584d516067 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 17:52:36 +01:00
Cédric Krier d633e53526 Move user cache reset from ir to res
When database is created, user could not yet be in the pool
2012-03-16 14:08:27 +01:00
Cédric Krier b85b94e2e7 Improve login time
- Replace action by a list of actions
- Add pyson_menu to prevent client to read it
- Prevent admin user to run configuration wizard if nothing to do

review277001
2012-03-16 11:28:10 +01:00
Cédric Krier 88569738bd merge 2012-03-05 11:17:33 +01:00
Mathias Behrle ab54a71984 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:54:32 +01:00
Cédric Krier cee3ccb065 Fix computation of progress percentage in configuration wizard
issue2477
2012-03-05 10:53:55 +01:00
Cédric Krier 30e17551a6 Fix Browse Cache when module dependencies are deleted 2012-03-01 22:50:47 +01:00
Cédric Krier 793b8dbe9f Don't store session on module install to prevent concurrent update
issue2388
2012-02-08 13:14:16 +01:00
Cédric Krier 0c95a2da8a Add extras_depend to module definition
review217001
2012-01-22 00:07:15 +01:00
Cédric Krier 274ea7bee2 New wizard design
review167001
2012-01-02 17:48:17 +01:00
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +01:00
Cédric Krier 770a395288 on_write method should always return a list
issue2166
2011-10-07 21:00:30 +02:00
Cédric Krier 91082b5f98 Don't open menu after module installation
issue1936
review72002
2011-07-24 14:44:14 +02:00
Cédric Krier 852f04dc51 Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:16:15 +02:00
Cédric Krier 550aae8351 Change Pool into a Singleton
review42001
2011-07-03 13:20:58 +02:00
Cédric Krier 8687b8914d Handle closing of file objects 2011-01-08 20:29:00 +01:00
Cédric Krier df1fd283ac New transaction management
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier 483afed26a Catch only Exception according to PEP 352 2010-07-08 19:53:39 +02:00
Cédric Krier f66d054cf7 Remove unused code 2010-04-06 19:32:23 +02:00
Cédric Krier dd6918994f New interface for Function/Property fields
Function field takes an other field in parameters
set/get function on Fields take a list of ids
2010-03-11 16:42:50 +01:00
Cédric Krier d92cb527ae Use get_id of ir.model.data 2010-01-21 12:07:25 +01:00
Cédric Krier 12b608d717 Add required=True to module on ir.module.module.dependency 2010-01-16 14:27:42 +01:00
Bertrand Chenal 6006209d6d Removed unused code 2009-10-12 18:38:23 +02:00
Cédric Krier 7eb928752e Use set to compute childs and parents from module graph for issue1205 2009-10-02 10:54:02 +02:00
Cédric Krier b427d21224 Add new tool safe_eval 2009-09-28 11:21:11 +02:00
Cédric Krier 45914073bf Use faster join implementation:
- use generator when possible
- use tuple __mul__
2009-08-26 15:39:53 +02:00
Cédric Krier cbf621c064 Add test for empty ids in on_write for issue1052 2009-05-18 18:53:11 +02:00
Cédric Krier d63ba876cc Limit ondelete to 'CASCADE', 'RESTRICT' and 'SET NULL'
Change ondelete to upper case
2009-04-07 18:20:25 +02:00
Cédric Krier 05b0f8c75e Add on_write on ir.module.module for issue811 2009-03-15 23:52:13 +01:00
Cédric Krier c9992e11d2 Remove OSV and WizardOSV and move Cacheable into model 2009-02-28 16:56:54 +01:00
Cédric Krier a4b9258b71 Rename _rpc_allowed into _rpc and add commit behavior 2009-02-25 12:25:01 +01:00
Cédric Krier b75d10cd20 Use a new pool for object
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00
Mathias Behrle 407193bf77 Add _description and docstring to WizardOSV for issue718 2009-01-04 00:49:05 +01:00
Cédric Krier 97bb2ac4d9 Fill correctly name2module in update_list of ir.module 2008-12-01 20:19:03 +01:00
Cédric Krier 9577e160ff Compare the description with the standard if there is no translation 2008-11-23 01:53:58 +01:00
Cédric Krier dd7aae7805 Don't return '.zip' in get_module_list 2008-11-20 19:07:57 +01:00
Cédric Krier 9ff90ce067 Allow egg installation working 2008-11-18 17:40:30 +01:00