We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be71636 commit 2c884caCopy full SHA for 2c884ca
oerplib/service/osv/osv.py
@@ -9,7 +9,7 @@
9
from oerplib.service.osv import fields, browse
10
11
12
-class Model(collections.Mapping):
+class Model(object):
13
""".. versionadded:: 0.5
14
15
Represent a data model from the `OpenERP` server.
tests/test_osv.py
@@ -26,6 +26,7 @@ def test_model_method(self):
26
# Check the result returned
27
model = self.oerp.get('res.users')
28
model.name_get(self.user.id)
29
+ self.oerp.get('ir.sequence').get('fake.code') # Return False
30
31
def test_model_method_without_args(self):
32
# Handle exception (execute a 'name_get' with without args)
0 commit comments