Closed omarouhari closed 2 years ago
@omarouhari thanks for reporting this. When trying to reproduce this issue (with Odoo + OCA source code) i didn't really succeed. My best guess would be that there is some Odoo Model defined like this:
class MyModel(models.Model):
...
_inherit = { ... }
...
Can you confirm this and could you send me an (reduced anonymized if not open source) extract of the model definition for the test cases?
version 0.5.13 was just approved, this should be fixed when the plugin is updated
Plugin Version: 0.5.11 IDEA Version: PyCharm 2021.2.2
java.lang.Throwable: Unknown string value class: class com.jetbrains.python.psi.impl.PyDictLiteralExpressionImpl
``` java.lang.Throwable: Unknown string value class: class com.jetbrains.python.psi.impl.PyDictLiteralExpressionImpl at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182) at at.wtioit.intellij.plugins.odoo.models.OdooModelUtil.getStringValueForValueChild(OdooModelUtil.java:101) at at.wtioit.intellij.plugins.odoo.models.OdooModelUtil.detectName(OdooModelUtil.java:42) at at.wtioit.intellij.plugins.odoo.models.OdooModelUtil.detectName(OdooModelUtil.java:28) at at.wtioit.intellij.plugins.odoo.models.index.OdooModelDefinition.