Commit Graph
120 Commits
Author SHA1 Message Date
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier 4dc94980b1 NULL value for boolean fields should be considered like False
issue2755
review476002
2012-08-23 23:17:15 +02:00
Cédric Krier fca0e24ce0 Fix typo 2012-07-26 21:18:15 +02:00
Cédric Krier 507358c4e8 Allow to use tuple for Reference
review437001
2012-07-25 21:01:29 +02:00
Cédric Krier 5a0fd034cb Fix reading from cache in field one2many
issue2706
review419001
2012-07-19 09:55:09 +02:00
Cédric Krier 2188fc3c6c An empty string is not a valid required value
review411001
2012-06-28 15:19:21 +02:00
Cédric Krier 6858187fc8 Add dynamic size limit on the One2Many, Many2Many and Char
review396001
2012-06-20 18:12:40 +02:00
Cédric Krier 97fc27a825 Factorize the required test
issue2587
review370001
2012-06-13 23:24:47 +02:00
Cédric Krier 1aae951f92 Allow to use Reference field in One2Many & Many2Many
review378002
2012-06-08 19:27:19 +02:00
Emmanuelle Delescolle 6cd2e51aa3 Multi-level inherits search fix
Trytond now looks at the whole inherits hierarchy for fields when creating
search domain on ModelSQL objects instead of just looking at the direct parent.

issue1860
review369001
2012-05-16 15:48:00 +02:00
Cédric Krier 3ebda5c8ee Add time format validation
review342002
2012-05-16 13:04:36 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier 8c36f59b86 Add support for shared WebDAV
review207003
2012-03-25 19:12:02 +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 de970b2d9b Use assertEqual instead of assert_ 2012-03-24 09:44:42 +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 cd699fedd3 Remove states from test_depends
states doesn't need to be enforced and it can rely on the default values to
prevent loading lazy fields.

review284001
2012-03-12 22:31:15 +01:00
Cédric Krier f2c24e3042 It is not possible to compare Sha fields with hash 2012-03-06 10:24:57 +01:00
Max Holtzberg f23f3b5525 Enable False search on property fields by domain inversion
issue2345
review203002
2012-02-28 12:51:01 +01:00
Cédric Krier d73fae86f5 Return BrowseRecordNull for relation field in wizard session
review250001
2012-02-24 11:06:40 +01:00
Cédric Krier e348c49312 Add support of fields.Time
issue2313
review231006
2012-02-07 16:11:22 +01:00
Cédric Krier c0db64d412 Fix reduce_ids with integer as float
review233002
2012-01-28 12:46:09 +01:00
Cédric Krier 1cf1b01134 Don't use wizard session to install modules for tests
This prevents a circular lock when creating foreign key on ir_model_field
2012-01-11 18:02:49 +01:00
Cédric Krier 33268ddf7f Use cdecimal if available
review185002
2012-01-04 19:54:30 +01:00
Cédric Krier 274ea7bee2 New wizard design
review167001
2012-01-02 17:48:17 +01:00
Cédric Krier 8b33421403 Use XML-RPC struct for Decimal and Date
review191006
2011-12-22 22:17:08 +01:00
Nicolas Évrard 6ba18631e8 Use relative imports 2011-12-14 17:00:13 +01:00
Cédric Krier 7b498aab63 Fix Transaction.start to use keyword argument for context
review178005
2011-11-28 14:44:39 +01:00
Cédric Krier f7a90cef48 Install the test module in test_transaction
To get test working properly, we need the database to be created.
2011-11-21 10:19:16 +01:00
Sharoon Thomas 09c48a5002 Fix unlean stopping of Transaction
Avoid unlean stop of transaction which occurs when an exception occurs in the start or stop method.
issue2256
review2256
2011-11-20 15:08:15 +05:30
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +01:00
Nathanael Perat d09c24a894 fixed -c option to test_tryton.py
issue 2121
review 154006
2011-10-31 14:54:13 +01:00
Cédric Krier 7689f3df45 Add missing worklow tests in suite 2011-10-26 15:21:01 +02:00
Cédric Krier 13c4ec933c Fix unittest of PYSON And and Or
It uses internally a list instead of a tuple to allow easy appending.
2011-08-22 09:13:26 +02:00
Nicolas Évrard a6fd85d181 merge 2011-08-11 16:13:27 +02:00
Nicolas Évrard e09070dda0 Use function name in workflow instead of python code 2011-08-11 15:54:36 +02:00
Cédric Krier 18f69b825d Allow to specify more than one interface
review58001
2011-08-09 12:24:34 +02:00
Cédric Krier fa82e4a129 Fix URLMixin tests to use jsonport 2011-08-07 09:35:55 +02:00
Cédric Krier 83b1f967a0 Add test for depends
review76002
2011-08-04 16:53:58 +02:00
Nicolas Évrard b7ab7d3a2f Added message to assert statement of test_view 2011-08-04 15:36:12 +02:00
Nicolas Évrard 3ad685e892 Add function to get object base URL 2011-07-20 19:04:52 +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 981e3dca65 Fix reduce_domain to keep empty clause
review50005
2011-07-11 20:57:10 +02:00
Cédric Krier 1655c56c82 Remove support of zipped modules 2011-05-26 15:21:15 +02:00
Nicolas Évrard 75d22650a9 Separate option handling in two methods for issue1911 2011-05-05 10:53:56 +02:00
Cédric Krier c010b3df82 Fix test view to skip view without model like dashboard 2011-04-04 10:44:16 +02:00
Cédric Krier b22951fecb Improve digits test on Decimal for issue1870 2011-03-23 15:13:28 +01:00
Cédric Krier 6d537996cb Fix unicity of tests
__eq__ method on DocTestCase doesn't work see
http://bugs.python.org/issue7502
2011-01-30 11:48:10 +01:00
Cédric Krier 65a3f3f837 Reduce domain before applying active rule for issue1796 2011-01-28 10:34:43 +01:00
Cédric Krier 2b4098f1d2 Add model field access 2011-01-22 23:56:13 +01:00