Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
6978 Visualizzazioni

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

thanks hedi

Risposta migliore

 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
Abbandona
Risposta migliore

<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
Abbandona
Risposta migliore

 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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
set 17
3220
2
apr 24
5090
3
apr 21
5727
3
ott 19
12835
0
ott 19
3030