コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
7075 ビュー

I want to define a new menu under After Sales Service in CRM module

So i've defined the below menu in project_view.xml

<menuitem name="Helpdesk and Support" id="menu_help_support_main"
        groups="base.group_sale_salesman" parent="base.menu_aftersale"
        action="action_view_task" sequence="2" />

The parent menu is defined in crm_claim_menu.xml

<menuitem id="base.menu_aftersale" name="After-Sale Services"
        groups="base.group_sale_salesman"
        parent="base.menu_base_partner" sequence="2" />

When did the above i got the followin error.

raise ValueError('No such external ID currently defined in the system: %s.%s' %  (module, xml_id))
ValueError: No such external ID currently defined in the system:base.menu_aftersale

Thanks for any help!!

アバター
破棄

In which module did you define the new menu ? (crm , crm helpdesk or crm_claim)

著作者

Hi, i've updated my ques, please check and guide me.

最善の回答

As I understand it, you are trying to add menu in project module.

If so, go on __openerp.py in project module and add 'crm_claim' to depends tag.

アバター
破棄
著作者

Yeah, i didt it already, but the prob is still unresolved.

著作者 最善の回答

Hi,

Thanks, my problem is resolved. i did the below

i've added this in project_view.xml

<menuitem id="base.menu_aftersale" name="After-Sale Services"
        groups="base.group_sale_salesman"
        parent="base.menu_base_partner" sequence="2" />

<menuitem name="Helpdesk and Support" id="menu_action_view_task"
        groups="base.group_sale_salesman" parent="base.menu_aftersale"
        action="action_view_task" sequence="2" />

as did in file crm_claim_menu.xml and added the dependency as 'crm' in __openerp__.py.

Thanks for your suggestion

アバター
破棄

Good job !

関連投稿 返信 ビュー 活動
0
12月 24
970
4
10月 19
33440
1
4月 17
3719
2
1月 24
13646
2
8月 24
1164