mirror of
https://github.com/odoo-ide/pydevd-odoo.git
synced 2025-12-17 08:19:04 +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)
|
||||
|
||||
def get_str(self, val):
|
||||
s = str(val.ids)
|
||||
s = str(val)
|
||||
if len(val) == 1:
|
||||
name = getattr(val, 'name', None)
|
||||
if name:
|
||||
|
||||
Reference in New Issue
Block a user