Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
8594 มุมมอง

I try to add - a new menu Item from another module, but parent=x doesn't work

<menuitem id="my_config_menu" name="test" parent="base.menu_purchase_root" action="test.test_action"/>

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_purchase_root

I also have difficulties at adding a wizard to another module, let say sales_order...

Seems that this comes from the same issue. Am I supposed to inherit the view ?? I found nothing about it, and inherit the model is not needed here... By adding wizard am I also supposed to inherit something ?

อวตาร
ละทิ้ง

Have add purchase in depend. __openerp__.py file

ผู้เขียน

Thanks ! that was my problem with the menu... But I still don't know how to make a wizard for another module

<record id="action" model="ir.actions.act_window"> <field name="name">name</field> <field name="type">ir.actions.act_window</field> <field name="res_model">your model</field> <field name="view_type">tree</field> <field name="view_id" ref="view"/> <field name="target">current</field> </record>

คำตอบที่ดีที่สุด

https://accounts.openerp.com/forum/Help-1/question/44108

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

To call a wizard from another module:-

https://accounts.openerp.com/forum/Help-1/question/44108

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 22
11869
2
ก.พ. 19
4080
2
มิ.ย. 16
5989
2
พ.ย. 23
3469
1
ก.ค. 23
3495