Cédric Krier
8a4ba59b2d
Switch to WSGI API
...
issue4646
review20541003
2016-03-15 16:57:26 +01:00
Cédric Krier
9dba6822a9
Missing close when Transaction put connection
...
If the Transaction is started with close, it should force to close the
connection when put back.
2016-03-05 18:32:49 +01:00
Nicolas Évrard
2fef479575
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:51:57 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Nicolas Évrard
677353efb5
Use the original context in AttributeManager
...
Because the record instances keep a reference to the context the set_context
method should use the original context unchanged in AttributeManager
review4051002
issue3732
2014-03-09 17:20:05 +01:00
Cédric Krier
ad12f36ecd
Keep Transaction singleton in clean state and store close parameter
...
If an exception happens in the start (database connection fails), the singleton
should not have stored anything.
2013-12-20 16:15:44 +01:00
Cédric Krier
c46a026c40
Refactore Transaction to add close and autocommit
...
review2151002
2013-12-18 18:09:43 +01:00
Cédric Krier
d6f22e01c3
Nested same set_user should keep the original context user
...
- set_context of Transaction.set_user is restricted to root
issue3523
review1961002
2013-12-12 13:53:01 +01:00
Cédric Krier
eccf788e74
Allow to start Transaction with no database name
...
review1075002
2013-09-20 00:33:18 +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
Cédric Krier
936dcca53a
Store default language in database
...
review592004
2012-11-23 17:59:04 +01:00
Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02: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
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
Cédric Krier
1ab6964687
Add readonly on Transaction
...
review80005
2011-08-21 11:05:51 +02:00
Cédric Krier
db924b7297
Add reset_context on Transaction for issue1737
2010-10-24 22:56:55 +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