Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Odoo 9 Module Creation Documentation Error

By
Ian Read
on 2/10/16, 11:58 AM 530 views

I have been following the module creation tutorial (https://www.odoo.com/documentation/9.0/howtos/backend.html) and it simply doesn't work. 

I think it is something to do with the files that the tutorial mentions are inconsistent with the files created by the scaffold command, but I can't work out how to resolve the issues.

I followed the steps, but got an error saying: 

ParseError: "Invalid model name in the action definition.

None" while parsing /etc/odoo/addons/asn_upload/views/asn_upload.xml:42, near

<record model="ir.actions.act_window" id="action_asn_upload">

<field name="name">AsnFile</field>

<field name="res_model">asn_upload.asn_file</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">Add a ASN file</p>

</field>

</record>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/10/16, 11:58 AM
Seen: 530 times
Last updated: 2/11/16, 7:30 AM