mirror of
https://github.com/odoo-ide/pydevd-odoo.git
synced 2025-12-17 16:29:02 +02:00
Adjust OdooRecordSetProvider's get_str() to include model name as it was
This commit is contained in:
@@ -30,7 +30,7 @@ class OdooRecordSetProvider(object):
|
|||||||
return defaultResolver.get_dictionary(obj)
|
return defaultResolver.get_dictionary(obj)
|
||||||
|
|
||||||
def get_str(self, val):
|
def get_str(self, val):
|
||||||
s = str(val.ids)
|
s = str(val)
|
||||||
if len(val) == 1:
|
if len(val) == 1:
|
||||||
name = getattr(val, 'name', None)
|
name = getattr(val, 'name', None)
|
||||||
if name:
|
if name:
|
||||||
|
|||||||
Reference in New Issue
Block a user