Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4837 Vizualizări

Hello , i want install my costume module, but i got this erreur, any help please ?


ParseError: "Invalid model name u'scheduler.demo' in action definition.
None" while parsing file:///C:/Program Files (x86)/Odoo 10.0/server/odoo/addons/scheduler_demo/views/scheduler_view.xml:9, near
<record model="ir.actions.act_window" id="default_scheduler_list_action">
            <field name="name">Scheduler data</field>
            <field name="res_model">scheduler.demo</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the first record
                </p>
            </field>
        </record>
Imagine profil
Abandonează
Autor

Yes it will be helpful for the people who get this erreur

Autor Cel mai bun răspuns

Yes the model name is _name = 'scheduler.demo'
so i don't know why that happen to me 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Zak,

It seems that the problem is with the model name, make sure that the new model name is  "scheduler.demo".

Thanks


Imagine profil
Abandonează