odoo-ide / pycharm-odoo-old

PyCharm plugin for Odoo

Home Page:https://plugins.jetbrains.com/plugin/13499-odoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server Action model_id cannot be resolved

6uipoeib opened this issue · comments

In server action xmls, the ref value in model_id and binding_model_id are all showing "not able to resolve",
For example, In

<record id="lunch_order_action_confirm" model="ir.actions.server">
        <field name="name">Lunch: Receive meals</field>
        <field name="model_id" ref="model_lunch_order"/>
        <field name="binding_model_id" ref="model_lunch_order"/>
        <field name="binding_view_types">list</field>
        <field name="state">code</field>
        <field name="code">records.action_confirm()</field>
</record>

ref="model_lunch_order" in both model_id and binding_model_id are unresolved.

I'm using Pycharm 2020.2 and Plugin 4.2 with odoo-stub installed. I'm also sure that the model-related App is included in the dependency.

I am not sure, it is working for me:
Screenshot from 2020-08-01 11-42-38

Try Invalidate Caches / Restart if it solves your problem.

Interesting. It's been there for days but now gone after I saw this comment.
Anyway, thank you so much for this awesome plugin!