Commit Graph
2314 Commits
Author SHA1 Message Date
Phillip Heller e77d1851ff Set waiting connection on select instead of accept for issue1625
SIGINT seems to not stop accept call
2010-09-25 11:42:43 -04:00
Cédric Krier d1475e74f9 Fix sequence test for MySQL
MySQLdb always return a long and hex append 'L' when converting long so long
must be converted into int before calling hex.
2010-09-25 16:46:51 +02:00
Cédric Krier 7314ffc54d Fix when psycopg is compiled with mxdatetime option for issue1698 2010-09-25 16:32:17 +02:00
Mathias Behrle 5f8b9ca407 Adding missing datetime import. 2010-09-21 12:21:21 +02:00
Cédric Krier 815f7e961e Fix global name 'user' not defined for issue1699 thanks to paul 2010-09-20 19:06:04 +02:00
Cédric Krier 58b850881d Don't raise exception when writing request history for issue1693
It is better to silently pass because write could be called from ondelete
2010-09-19 18:34:38 +02:00
Cédric Krier c6307b9749 Add missing test on manifest for issue1682 2010-09-19 17:03:04 +02:00
Cédric Krier b5aeb32324 Allow all users to read sequences for issue1661 2010-09-07 10:08:19 +02:00
Cédric Krier 63e7f29f6e Fix search on many2many with negate operator 2010-09-03 23:37:31 +02:00
Cédric Krier a325aebe77 Fix search on many2many with a string as value 2010-09-03 14:27:49 +02:00
Cédric Krier 2f75c6cc48 Use fetchmany instead of limit
It is faster on large data sets
2010-09-02 17:59:33 +02:00
Cédric Krier 56e8ebe5d0 Add timestamp sequence 2010-09-02 17:31:51 +02:00
Cédric Krier e147a1cc2e Fix for new Transaction 2010-08-27 12:05:37 +02:00
paul@nfg.nl 7218c97757 Enforce install_module test_view and add test 2010-08-18 14:43:50 +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 3a9ae031b8 Missing instanciation of Transaction for issue1656 2010-08-24 12:20:11 +02:00
Cédric Krier e186d5b76d Skip non ModelStorage from foreign key operations 2010-08-23 23:56:56 +02:00
Cédric Krier cb27804661 Don't call super __getattr__ as object has not __getattr__ 2010-08-23 23:55:01 +02:00
Cédric Krier b6e027b19e Add missing with_statement import 2010-08-20 07:48:02 +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 57559d6684 Add missing states attribute on group tag 2010-08-15 19:45:58 +02:00
Udo Spallek 8aa9c59abc Clear out descriptions for domain operator for issue1592 2010-07-19 13:28:34 +02:00
Cédric Krier 6d8d0a2bd4 Remove properties tag from documentation
This tag was never used
2010-07-18 22:33:49 +02:00
Cédric Krier 8fd9f09b72 Use explicit AS column name in queries that use dictfetch*
SQLite return wrong column name when using query as table
2010-07-15 19:00:21 +02:00
Cédric Krier 092196ba4b Fix wrong value passed to super call 2010-07-15 18:58:26 +02:00
Cédric Krier c4b9b9e6c4 Fix typo in test query for PostgreSQL and SQLite thanks to Ralf Peschke 2010-07-11 15:29:29 +02:00
Cédric Krier aabaa8851a Fix extract function in SQLite to work with date 2010-07-08 20:01:11 +02:00
Cédric Krier 483afed26a Catch only Exception according to PEP 352 2010-07-08 19:53:39 +02:00
Cédric Krier 0c7b1f1fe4 Fix DateTime microsecond replacement
replace method return a new datetime
2010-07-04 22:56:23 +02:00
Cédric Krier d351113a3b Update manifest with files added from style for issue1507 2010-07-02 18:41:26 +02:00
Cédric Krier f7aebd99be Fix _clean_defaults for one2many inherited 2010-06-28 21:25:33 +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 1ec9aad435 Always check on delete restrict for issue1588 2010-06-17 20:05:59 +02:00
Cédric Krier e75ba6b112 Fix history clause error introduced by changeset 7f5860ab74cb 2010-06-12 20:16:25 +02:00
Cédric Krier 9b0cf2fbe4 Fix test for datetime in Date fields 2010-06-09 20:30:01 +02:00
Cédric Krier 1503aa3112 Make _timestamp numeric instead of datetime to work with XML-RPC and JSON-RPC 2010-06-09 19:58:31 +02:00
Cédric Krier 9922b401a7 Handle date and datetime in XML-RPC 2010-06-09 19:52:47 +02:00
Cédric Krier ee2260c839 Fix Float unittest for Python < 2.6 that doesn't have hex method 2010-06-08 07:55:01 +02:00
Cédric Krier 1346249cc3 Fix Float for Python < 2.6 and handle extra methods on Decimal 2010-06-07 21:27:49 +02:00
Cédric Krier 173f7df140 Allow to use EXTRACT EPOCH with MySQL 2010-06-06 11:39:30 +02:00
Cédric Krier ed1965f4bf Extend Float to work with Decimal for issue1575 thanks to gadaga 2010-06-06 11:30:33 +02:00
Cédric Krier e8c74cbd67 Fix typo in trigger unittest 2010-06-05 10:05:58 +02:00
Cédric Krier 7cd8a5d963 get_eval must return a list of id for O2M for issue1572 2010-06-03 19:47:13 +02:00
Cédric Krier 62a3cdbd07 Convert str id into int 2010-06-01 20:21:01 +02:00
Cédric Krier 1513426987 Add ir.trigger to trigger ModelStorage change 2010-05-29 15:58:49 +02:00
Cédric Krier 8c6537bafb Fix wrong password for database creation in tests 2010-05-28 20:29:16 +02:00
Cédric Krier 77aa3972f9 Add early migration of modules on res.user 2010-05-28 20:27:30 +02:00
Cédric Krier 3b84b5c3de Add default value to Boolean fields at database level 2010-05-28 20:18:34 +02:00
Cédric Krier 9678c0f10c Try to find file in sys.path before using dirname of ep.dist.location 2010-05-09 11:04:18 +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