Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4 Antworten
6856 Ansichten

1)I Have a custom module and i want to change the name of  menu action name 'meeting' to 'scheduler'

2)I want to change the page string 'Meeting Details' to Scheduler Details

please help me how to get the answer.Thanks in advance.

Avatar
Verwerfen
Autor

thanks hedi

Beste Antwort

 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>

Avatar
Verwerfen
Beste Antwort

<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>

Avatar
Verwerfen
Beste Antwort

 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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Sept. 17
3153
2
Apr. 24
4925
3
Apr. 21
5574
3
Okt. 19
12629
0
Okt. 19
2847