I'd like to change the name of menu 'Opportunities' in Sales/Sales/Opportunities
(CRM).
我想在销售/销售/机会(CRM)中更改菜单'机会'的名称。
I tried this code :
我试过这段代码:
<menuitem
id="crm.menu_crm_opportunities"
parent="base.menu_sales"
name="Affaire"
sequence="4"
groups="base.group_sale_salesman,base.group_sale_manager"/>
But it doesn't work; what would I do ?
但它不起作用;我该怎么办?
2 个解决方案
#1
2
<record model="ir.ui.menu" id="crm.menu_crm_opportunities">
<field name='name'>Affaire</field>
</record>
Please use the above code to change the name of existing menu Item name.
请使用上面的代码更改现有菜单项名称的名称。
#2
0
try to change this one
试着改变这个
**<field name="name">Opportunities</field>**
in
在
<record model="ir.actions.act_window" id="crm_case_category_act_oppor11">
<field name="name">Opportunities</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">kanban,tree,graph,form,calendar</field>
<field name="domain">[('type','=','opportunity')]</field>
<field name="context">{
'stage_type': 'opportunity',
'default_type': 'opportunity',
'default_user_id': uid
}
</field>
<field name="view_id" eval="False"/>
<field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
<field name="help" type="html">
<p>
Odoo helps you keep track of your sales pipeline to follow
up potential sales and better forecast your future revenues.
</p><p>
You will be able to plan meetings and phone calls from
opportunities, convert them into quotations, attach related
documents, track all discussions, and much more.
</p>
</field>
</record>
<menuitem name="Opportunities" id="menu_crm_opportunities" parent="base.menu_sales" sequence="4"
action="crm_case_category_act_oppor11"
groups="base.group_sale_salesman,base.group_sale_manager"/>
in crm_lead_menu.xml
在crm_lead_menu.xml中
#1
2
<record model="ir.ui.menu" id="crm.menu_crm_opportunities">
<field name='name'>Affaire</field>
</record>
Please use the above code to change the name of existing menu Item name.
请使用上面的代码更改现有菜单项名称的名称。
#2
0
try to change this one
试着改变这个
**<field name="name">Opportunities</field>**
in
在
<record model="ir.actions.act_window" id="crm_case_category_act_oppor11">
<field name="name">Opportunities</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">kanban,tree,graph,form,calendar</field>
<field name="domain">[('type','=','opportunity')]</field>
<field name="context">{
'stage_type': 'opportunity',
'default_type': 'opportunity',
'default_user_id': uid
}
</field>
<field name="view_id" eval="False"/>
<field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
<field name="help" type="html">
<p>
Odoo helps you keep track of your sales pipeline to follow
up potential sales and better forecast your future revenues.
</p><p>
You will be able to plan meetings and phone calls from
opportunities, convert them into quotations, attach related
documents, track all discussions, and much more.
</p>
</field>
</record>
<menuitem name="Opportunities" id="menu_crm_opportunities" parent="base.menu_sales" sequence="4"
action="crm_case_category_act_oppor11"
groups="base.group_sale_salesman,base.group_sale_manager"/>
in crm_lead_menu.xml
在crm_lead_menu.xml中