Odoo Help

0
4 Answers
0
Sudhamsu Khanal
12/20/18, 6:44 AM

 In v11 I got the error,

"""ValueError: View inheritance may not use attribute 'string' as a selector."""

  <xpath expr="//page[@name='sales']" position="attributes">

    <attribute name="string">Purchase</attribute> 

  </xpath>

So, I used the page string position to work with it 

<xpath expr="//page[1]" position="attributes">

    <attribute name="string">Purchase</attribute> 

</xpath>

0
Esther Martín
4/18/17, 2:38 PM

<record id="module.action_name" model="ir.actions.act_window">

      <field name="name">scheduler</field>

</record>


<page string="Meeting Details" position="attributes">

     <attribute name="string">Scheduler</string>

</page>

0
hedi
4/18/17, 5:20 AM

 1- <record model="ir.ui.menu" id="id_of_the_menu">

         <field name="name">scheduler</field>          

    </record>


2- inherit the form and modify the form string to Scheduler Details

Ask a Question
Writer
Keep Informed
2 follower(s)
About This Community

This platform 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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now