mirror of
https://github.com/odoo-ide/pydevd-odoo.git
synced 2025-12-17 08:19:04 +02:00
Make the plugin compatible with PyCharm 2023.3
https://github.com/odoo-ide/pydevd-odoo/issues/5
This commit is contained in:
@@ -43,7 +43,7 @@ class OdooRecordSetProvider(object):
|
|||||||
return d
|
return d
|
||||||
return defaultResolver.get_dictionary(obj)
|
return defaultResolver.get_dictionary(obj)
|
||||||
|
|
||||||
def get_str(self, val):
|
def get_str(self, val, do_trim=True):
|
||||||
s = str(val)
|
s = str(val)
|
||||||
if len(val) == 1:
|
if len(val) == 1:
|
||||||
fname = getattr(val, '_rec_name', None)
|
fname = getattr(val, '_rec_name', None)
|
||||||
|
|||||||
Reference in New Issue
Block a user