Hi everyone, I added a notebook in my page .xml but i have this error help please my file.xml
enter code here
<openerp>
<data>
<menuitem name="Gestion Ecoles" id="menu_stage_parent"/>
<menuitem name="Etudiants" id="menu_enseignant_parent1" parent="menu_stage_parent"/>
<record model="ir.ui.view" id="view_school_student_form">
<field name="name">student.form</field>
<field name="model">student</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Information Eleve">
<sheet>
<group colspan="4" col="8">
<group col="6" colspan="6">
<field name="name" colspan="6" />
<field name="prenom" colspan="6"/>
<field name="cne" colspan="6"/>
</group>
<group col="2" colspan="1">
<field name="photo" widget='image' nolabel="1" />
</group>
</group>
<notebook colspan="4">
<page string="Remarques">
<field name="remark" nolabel="1" colspan="4"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="view_school_student_tree">
<field name="name">student.tree</field>
<field name="model">student</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="stages.enseignant">
<field name="name"/>
<field name="prenom"/>
<field name="cne" />
<field name="date_adm" />
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_school_student_form">
<field name="name">Eleves</field>
<field name="res_model">student</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Et finalement il y a le menu qui contient l'action pour ouvrir la vue tree de ton module -->
<menuitem action="action_school_student_form" id="menu_stages_enseignant" parent="menu_enseignant_parent1" />
</data> </openerp>
CAn you copy and paste all the error in a paste site, please?
ValidateError
Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!
All the error. Complete.
it's the complete error :)
before i added the <notebook> it works...
Mmh...usually this type of errors are preceded by the part of view with the error inside.
notebook syntax seems ok..
it works now,i have to create a new db and delete the nolabel="1" colspan="4" .<field name="remark" colspan="6" /> Even if I did not understand the mistake
sheet! Add version 7.0 isnt it?
yes version 7 have to be added,thk u :)