Cédric Krier
bc6acd08ee
Drop support of Python 2.6
...
review2691002
2014-01-31 00:02:03 +01:00
Jean CAVALLO
90cf6b031d
Properly calculate the module states when upgrading
...
issue3518
review1871002
2013-11-26 11:25:36 +01:00
Cédric Krier
41d2aa44ea
Ignore "noupdate" attribute when installing a new module
...
issue2854
review631004
2013-09-20 00:36:00 +02:00
Cédric Krier
ab74123eb2
Merge test/ into tests/
...
review1060002
2013-09-16 11:38:11 +02: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
Albert Cervera i Areny
b6f7d34397
Remove unnecessary stdout.flush().
...
There's no apparent need for the flush() call and it makes trytond crash when
stdout has been redirected.
issue3286
review974002
2013-07-12 16:49:51 +02:00
Cédric Krier
0c25656726
Correctly compute missing dependencies
...
review935002
2013-06-26 16:37:03 +02:00
Cédric Krier
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
e30c4e51a1
Fix wrong instantiation when removing module
...
issue3025
review689002
2013-02-26 13:03:31 +01:00
Laurent Defert
d06955421c
Remove deprecated reports initialization
...
Remove code that used to initialize reports with undefined classes.
This initialization is done from Pool.get() method instead.
issue2933
review611004
2012-12-18 15:40:33 +01:00
Cédric Krier
f7b8ad485e
Factorize load of module
...
The test for register on module should be done also on egg modules.
issue2853
review586002
2012-10-24 23:38:12 +02:00
Cédric Krier
4c223a2b64
Fix delete to use list of instance
...
issue2821
2012-10-10 11:29:46 +02:00
Jean CAVALLO
feef05415e
Improved error management in module registering
...
A try in the register_classes method which was supposed to detect
the absence of the register method could hide errors in the
__init__ file of the module and silently go on.
issue 2806
revision545002
2012-10-10 10:55:53 +02:00
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