Every time i create a new model error "model not found" shows i don't know What to do any help please
here is my code
------------------------------------------------------------------------------------------------------
views.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Label Configration Form View -->
<record id="view_label_zpl_form" model="ir.ui.view">
<field name="name">label.zpl.form</field>
<field name="model">label.zpl</field>
<field name="arch" type="xml">
<form string="Generate and Print Product Barcode">
<group name="step1" string="Configuration">
<field name="state" invisible="1"/>
<field name="currency_id" invisible="1"/>
<field name="product_id"/>
<field name="product_name" attrs="{'readonly': [('state', '=', 'step2')]}"/>
<field name="pricelist_id" attrs="{'readonly': [('state', '=', 'step2')]}"/>
<field name="price_uom"/>
<field name="label_size" attrs="{'readonly': [('state', '=', 'step2')]}"/>
<field name="nomenclature_id" attrs="{'readonly': [('state', '=', 'step2')]}"/>
<field name="rule_id"/>
<field name="barcode_type"/>
<field name="barcode"/>
<field name="copies" attrs="{'readonly': [('state', '=', 'step2')]}"/>
</group>
<group string="Enter Quantity" attrs="{'invisible': [('barcode_type', '=', 'product')]}">
<div name="qty_uom">
<field name="quantity" attrs="{'readonly': [('state', '=', 'step2')]}" class="oe_inline"/>
<field name="uom_id" class="oe_inline"/>
</div>
</group>
<group name="step2" states="step2" string="Label">
<field name="price"/>
<field name="zpl_file" filename="zpl_filename" />
<field name="zpl_filename" invisible="1"/>
<field name="zpl_printer_id" required="1"/>
</group>
<footer>
<button name="generate" type="object" string="Generate Label" class="btn-primary" states="step1"/>
<button special="cancel" string="Cancel" class="oe_link" states="step1"/>
<button name="print_zpl" type="object" string="Print" class="btn-primary" states="step2"/>
<button name="print_zpl" type="object" string="Print and New" class="btn-primary" context="{'print_and_new': True}" attrs="{'invisible': ['|', ('state', '!=', 'step2'), ('barcode_type', '=', 'product')]}"/>
<button special="cancel" string="Close" class="oe_link" states="step2"/>
</footer>
</form>
</field>
</record>
<record id="action_label_zpl_form" model="ir.actions.act_window">
<field name="name">Label Zpl</field>
<field name="res_model">label.zpl</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
</record>
<menuitem id="menu_config" name="Configuration" parent="base.menu_administration"
sequence="2" />
<menuitem id="menu_label_config_view" action="action_label_zpl_form"
parent="menu_config" />
-------------------------------------------------------------------------------------------------
__openerp__.py
Traceback
D\xe9tails de l'erreur :
Mod\xe8le non trouv\xe9 : label.zpl
Contexte de l'erreur :
Vue `label.zpl.form`
[view_id: 849, xml_id: n/a, model: label.zpl, parent_id: n/a]
None" while parsing file:///d:/projet_odoo/odoo 9.0-20180426/server/openerp/addons/test/views/views.xml:6, near
<record id="view_label_zpl_form" model="ir.ui.view">
<field name="name">label.zpl.form</field>
<field name="model">label.zpl</field>
<field name="arch" type="xml">
<form string="Generate and Print Product Barcode">
<group name="step1" string="Configuration">
<field name="state" invisible="1"/>
make sure you have imported the python file declaring "label.zpl", also you need to restart odoo instance to load python file changes.