Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
6854 Переглядів

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.

Аватар
Відмінити
Автор

thanks hedi

Найкраща відповідь

 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>

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Найкраща відповідь

 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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
вер. 17
3152
2
квіт. 24
4921
3
квіт. 21
5568
3
жовт. 19
12623
0
жовт. 19
2842