Hello, I try to add a page in the product.product form view after the page "Notes" to insert a treeview of a table that I've created.
I tried this in XML :
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_variantes_conditionnement_form">
<field name="model">miadi.poidsconditionnement</field>
<field name="name">view.inherit.variantes.conditionnement.form</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='notes']" position="after">
<page name="miadi_variantes_conditionnement" string="Packaging">
<tree string="Packaging" editable="bottom">
<field name="nb_articles" />
</tree>
</page>
</xpath>
</field>
</record>
</data>
</openerp>
But it gives me this error :
ParseError: "Erreur lors de la validation de la contrainte Le champ `message_follower_ids` n'existe pas
Why I have this error ?
Is the code is good ?
Please help me
Thanks for answers
Odoo 10