summaryrefslogtreecommitdiff
path: root/odoo/netsvc.py
diff options
context:
space:
mode:
authormreficent <miquel.raich@eficent.com>2018-11-06 17:28:51 +0000
committerMartin Trigaux <mat@odoo.com>2018-11-07 09:51:22 +0000
commitc42a130a9892482ce72d2417f418931d2a7ecf49 (patch)
tree6040d016410c42b73fd367b1d8d4d5836d9d3cce /odoo/netsvc.py
parente89ec1e5c5c6c0644dc91eac712cdd237a5f3de9 (diff)
[FIX] base: logging_type remain
In fb7ac56 type field was renamed to logging_type A few were missing closes odoo/odoo#28447
Diffstat (limited to 'odoo/netsvc.py')
-rw-r--r--odoo/netsvc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/netsvc.py b/odoo/netsvc.py
index 286ee740584..fbf2a055087 100644
--- a/odoo/netsvc.py
+++ b/odoo/netsvc.py
@@ -51,7 +51,7 @@ class PostgreSQLHandler(logging.Handler):
val = ('server', ct_db, record.name, levelname, msg, record.pathname[len(path_prefix)+1:], record.lineno, record.funcName)
cr.execute("""
- INSERT INTO ir_logging(create_date, type, dbname, name, level, message, path, line, func)
+ INSERT INTO ir_logging(create_date, logging_type, dbname, name, level, message, path, line, func)
VALUES (NOW() at time zone 'UTC', %s, %s, %s, %s, %s, %s, %s, %s)
""", val)