summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/fields.py')
-rw-r--r--odoo/fields.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/odoo/fields.py b/odoo/fields.py
index a1f434db849..58f7dc67dcb 100644
--- a/odoo/fields.py
+++ b/odoo/fields.py
@@ -1630,7 +1630,8 @@ class Datetime(Field):
# Received data is returned as buffer (in Python 2) or memoryview (in Python 3).
_BINARY = memoryview
if pycompat.PY2:
- _BINARY = buffer #pylint: disable=buffer-builtin
+ #pylint: disable=buffer-builtin,undefined-variable
+ _BINARY = buffer
class Binary(Field):
type = 'binary'