Commit Graph
61 Commits
Author SHA1 Message Date
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier 7f2b4a30dc Fix installation of modules that are not yet in the database
review479002
2012-08-23 23:22:48 +02:00
Cédric Krier a09d9a54a1 Simplify module information with python configuration
review363001
2012-06-08 19:32:23 +02:00
Cédric Krier 8c7edb3394 Don't alter CONFIG to init/update children modules 2012-06-08 18:56:52 +02:00
Cédric Krier edce92263b Fix missing update of depending modules 2012-06-02 13:51:37 +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
Cédric Krier 423983c5de Speed up bootstrap of the server (and remove sql import)
review292001
2012-03-20 17:50:17 +01:00
Cédric Krier 1b0a713dad New autoreload that restarts the server instead of reloading modules
issue2417
review283001
2012-03-12 22:27:59 +01:00
Cédric Krier a94ceb4321 Add default database language code
The configuration option defines which translated value will be stored in the
main field.
The methods of ir.translation which were already publicly used are now public.
Setting the main translation mark translations of other languages fuzzy.

review198001
2012-01-27 21:11:06 +01:00
Cédric Krier 0c95a2da8a Add extras_depend to module definition
review217001
2012-01-22 00:07:15 +01:00
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +01:00
Cédric Krier 038dc31978 Let's pofile detect the encoding
issue2175
review141001
2011-10-10 18:36:40 +02:00
Nicolas Évrard c6174a0b61 replace .csv file by .po file for translations
review125002
issue1163
2011-10-04 13:03:06 +02:00
Nicolas Évrard 433174afbc Allow to put languages file in a subfolder 2011-09-27 18:32:40 +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 6a828d81ad Don't use anymore .zip file as module 2011-05-27 23:21:57 +02:00
Cédric Krier 1655c56c82 Remove support of zipped modules 2011-05-26 15:21:15 +02:00
Cédric Krier 2fc1a473a6 Ignore file/directory starting with '.' as modules for issue1822 2011-01-28 10:30:49 +01:00
Cédric Krier 8687b8914d Handle closing of file objects 2011-01-08 20:29:00 +01:00
Cédric Krier 1db3cb05b3 Be more strict in create_graph by raising Exception for issue1659 2010-12-02 22:31:07 +01:00
Cédric Krier db924b7297 Add reset_context on Transaction for issue1737 2010-10-24 22:56:55 +02:00
Cédric Krier d5eae53bcb Fix duplicate translation for issue1717
Don't create translation for en_US
Set en_US language when loading modules
Add constraint to prevent duplicate model translation
2010-10-11 20:05:47 +02:00
Cédric Krier aa5816be0f Move Cache in trytond.cache and convert outside tools for issue1653 2010-08-24 20:54:27 +02: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 1c866d779c Add missing Cache resets after module load for issue1595 2010-06-26 11:48:33 +02:00
Cédric Krier 818c3ffe1b Try to find module in sys.path before using dirname of ep.dist.location 2010-05-09 01:09:36 +02:00
Cédric Krier 9eedc60aa0 Improve unittest to run test_suite inside setuptools 2010-03-12 17:47:49 +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 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 b9ff90b3e1 Add _TRYTON_RELOAD to prevent reloading some modules 2009-08-24 17:42:22 +02:00
Cédric Krier c81c4f99a8 Add reload of modules if files have changed 2009-08-07 10:42:23 +02:00
Cédric Krier a359c7c0a2 Fix the use of rowcount because it can return -1 or None according to PEP249 2009-07-07 19:14:51 +02:00
Cédric Krier 31e9abb2a6 Remove MODULES_PATH from PATH to prevent module name collision
Append trytond.modules to module import
2009-06-01 20:38:44 +02:00
Cédric Krier 6803b8a532 Fix get_module_list with zip file for issue1024 thanks to udono 2009-04-30 13:04:53 +02:00
Cédric Krier 94315aa7c0 Convert filename from xml and translation into os separator for issue1007 2009-04-18 17:30:57 +02:00
Cédric Krier 1a10e5ffaa Fix warnings for python 2.6 for issue915 2009-04-08 17:55:24 +02:00
Cédric Krier 538d73d6ea Fix get_module_list if there is no pkg_resources 2009-04-03 23:30:33 +02:00
Cédric Krier f1d8e155fe Exclude tests module from 'all' keyword for issue890 2009-03-30 11:03:45 +02:00
Cédric Krier 19f903ca88 Add update history table at the end of modules loading for issue888 2009-03-24 19:14:46 +01:00
Cédric Krier ea7988eac6 Let's ImportError exception raise to top for issue882 2009-03-24 00:52:39 +01:00
Cédric Krier 633bd1dc6a Call __init__ on missing report for issue820 2009-02-26 10:30:32 +01:00
Cédric Krier 59372f5a2b Look for all report names before creating missing reports for issue776 2009-02-13 14:39:18 +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
Cédric Krier 1196eaf293 Add modelstorage and modeldb 2009-02-02 13:08:25 +01:00
Cédric Krier 1bb64df0ff Add tests module and tests for Modified Preorder Tree Traversal 2009-01-28 12:35:55 +01:00
Cédric Krier 314c0a8d40 Fix to_delete from xml parser is now a set 2009-01-26 16:18:48 +01:00
Cédric Krier 622aaf7fb2 Close file object of find_module from openerp rev1546 2009-01-03 16:05:08 +01:00