diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-06-19 14:19:01 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-03 11:16:24 +0000 |
| commit | e2bd3e328aa0a4e2a438a3b0e9f3fc3fa5601b62 (patch) | |
| tree | e8ea69368ee309b1dca0ba2f0fe3824b203d7251 /odoo/tools/profiler.py | |
| parent | dd2fae2ead6ea00dfc7e7a6e1d3a0a5624e478f7 (diff) | |
[IMP] odoo: remove LazyCursor
Was specifically created for decimal.precision at f0646cb51b236a3afd5
Should no longer be needed
Diffstat (limited to 'odoo/tools/profiler.py')
| -rw-r--r-- | odoo/tools/profiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/profiler.py b/odoo/tools/profiler.py index dce9f98fb44..0904faf3c1b 100644 --- a/odoo/tools/profiler.py +++ b/odoo/tools/profiler.py @@ -35,7 +35,7 @@ class _LogTracer(object): in_self = frame.f_locals['self'] - if isinstance(in_self, (odoo.sql_db.Cursor, odoo.sql_db.TestCursor, odoo.sql_db.LazyCursor)): + if isinstance(in_self, (odoo.sql_db.Cursor, odoo.sql_db.TestCursor)): return self.tracer model = getattr(in_self, '_name', None) |
