odoo/addons/web
Denis Ledoux 8209368b02 [FIX] web: current transaction is aborted
This reverts commit bd9cbdfc41.

The above revision solved the SQL constraints not being
translated when raised. They were not translated because
the context, containing the lang, was not located as expected
in the `kwargs` dict.

While it solved this issue, it had as side-effect to raise
`current transaction is aborted,
commands ignored until end of transaction block` errors more
often when using the web client.

This can be explained by the double check, when the first
check raised this error
- which can happen, e.g. when the cursor is closed,
there is a retry mechanism in such cases -
and by the fact the transaction was not rollbacked.

This issue could have been solved as well by rollbacking
the transaction, but it is regarded as not-so-clean.

Therefore, to solve this issue, while still having
the SQL constraints translated, we apply the
second patch proposed in bd9cbdfc41
commit message, which is not-so-clean as well, but
which is a proper solution.

opw-651393
2015-10-13 17:12:34 +02:00
..
controllers [FIX] web: current transaction is aborted 2015-10-13 17:12:34 +02:00
doc [FIX] Use local copies of png instead of fetching them from websites 2015-01-23 11:23:04 +01:00
i18n [I18N] Update translation terms from Transifex 2015-10-04 01:59:01 +02:00
static [FIX] web: assertion error when save after speed multi delete in one2many 2015-10-12 17:15:28 +02:00
tests [FIX] web: re-enable test_menu.py without the mock-menu test 2014-10-10 18:12:59 +02:00
views [FIX] web: do not crash when select wrong db 2015-06-09 15:05:57 +02:00
.bowerrc [IMP] now uses bower for some libs 2013-07-31 15:17:31 +02:00
Gruntfile.js [IMP] Added compass compilation to grunt file 2013-07-31 12:20:37 +02:00
__init__.py [FIX] web: no need to initialize wsgi handler in postload anymore 2014-03-24 10:30:38 +01:00
__openerp__.py [MERGE] Forward-port latest saas-3 bugfixes, up to c9b690f6b6 2015-01-29 13:54:13 +01:00
bower.json bowered qweb 2013-07-31 15:55:31 +02:00
package.json [IMP] Added compass compilation to grunt file 2013-07-31 12:20:37 +02:00