Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

dev : how to add wizard/menuitem to another module

By
wurst
on 3/31/14, 6:44 PM 1,756 views

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

Jagdish Panchal
on 4/1/14, 2:00 AM

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

wurst
on 4/1/14, 11:45 PM

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

silvi
on 4/2/14, 1:07 AM
0

Prakash

--Prakash--
3173
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

Prakash
On 3/31/14, 10:11 PM
0

Prakash

--Prakash--
3173
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

Prakash
On 4/2/14, 8:37 AM

To call a wizard from another module:-

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/31/14, 6:44 PM
Seen: 1756 times
Last updated: 3/16/15, 8:10 AM