diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-02-02 09:18:16 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-02-02 12:49:17 +0100 |
| commit | 5bd895721af41306bbaca2103a8ca7d061c122fa (patch) | |
| tree | 92c03be899b4782a28f220b3c2d6b19558e12591 /doc/reference/javascript.rst | |
| parent | 8a0151b4bcd4e5f1aea850c83653be4443f659c9 (diff) | |
[IMP] base: new cr for log method
The `log` method of a server action uses the same cursor than the
transaction. Therefore, if an error is raised during the server action
execution, the log messages are lost since the transaction is rolled
back.
We introduce a new cursor in the `log` method, so the log messages are
kept even when an exception is raised.
opw-704036
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
