Make the plugin compatible with PyCharm 2023.3

https://github.com/odoo-ide/pydevd-odoo/issues/5
This commit is contained in:
Trinh Anh Ngoc
2023-11-05 21:49:24 +07:00
parent 8be40cbae6
commit 4fde536a76

View File

@@ -43,7 +43,7 @@ class OdooRecordSetProvider(object):
return d
return defaultResolver.get_dictionary(obj)
def get_str(self, val):
def get_str(self, val, do_trim=True):
s = str(val)
if len(val) == 1:
fname = getattr(val, '_rec_name', None)