Commit Graph
148 Commits
Author SHA1 Message Date
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 e5446dde37 Allow to use XML file for views
issue70
2012-09-26 19:38:20 +02:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier 4dcb7b6dd3 Merge all kind of buttons
review483002
2012-09-10 15:26:34 +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 66e77d8ae6 Replace nested view by reference id
issue2401
review226004
2012-01-31 23:26:48 +01:00
Cédric Krier 0c95a2da8a Add extras_depend to module definition
review217001
2012-01-22 00:07:15 +01:00
Udo Spallek c483ca6001 Add module update/install/cancel buttons to tree view
issue1750
review187002
2012-01-13 07:24:57 +01:00
Cédric Krier 274ea7bee2 New wizard design
review167001
2012-01-02 17:48:17 +01:00
Nicolas Évrard 6ba18631e8 Use relative imports 2011-12-14 17:00:13 +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 52197bdf8f Better layout of some views 2011-10-04 19:51:07 +02:00
Cédric Krier cc48eb8532 New search widget
- Change select on fields into Boolean
- Change format of search_value on ir.action.act_window

review95002
2011-10-03 09:45:21 +02:00
Cédric Krier 6d3da1ce94 Update Reference fields from 0 to -1
review116001
2011-09-21 12:25:04 +02:00
Cédric Krier e30b650480 Make align, expand and fill attributes consistant
Rename expand and fill attributes into yexpand and yfill
Add xalign and yalign as field attributes

review76001
2011-07-31 17:52:43 +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 aefabe7ee3 Merge tree and list views 2011-04-03 15:02:28 +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 20741b613d Improve unittests to run trytond from tests
Use sqlite as default backend
Add skiptest attribute to data tag
Add option to test_tryton to run tests from all modules
2010-03-04 14:02:27 +01:00
Cédric Krier d92cb527ae Use get_id of ir.model.data 2010-01-21 12:07:25 +01:00
Cédric Krier 847fb72e90 Add PySON to replace python string evaluation on client side 2010-01-20 10:55:19 +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 b46c5fd424 Guidelines 2009-08-28 15:01:15 +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