Odoo Help

0

0
5 Answers
2
Avatar

Lucio

--Lucio--

853
| 6 5 9
Buenos Aires, Argentina
--Lucio--
Karma will give me a place in heaven!
Lucio
9/2/14, 1:00 PM

Hi,

just change the order of the definitions. 
Put the menuitems at the bottom of the file (before  </data></openerp> though) and that will do it.

OpenERP or Odoo for that matter, parse the xml files in a bottom-down fashion and at the moment that you are declaring the menuitem with id=menu_action_daily_transaction the action does not exists, it is defined later on the same file.

Hope I made myself clear!

0
Tien Nguyen
12/21/18, 2:43 AM

Dear 

Please try move 

<record id="action_daily_transaction" model="ir.actions.act_window"> ...
Go up
<menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20"/> ...
Because the content in *.xml run sequentially,
I think it will work.
0
Tushar Donga
8/28/18, 8:25 AM

face same error in while creating a group for security i give id to my main menu like  groups="module_name.group_id"

but it still show the external id not found

0
Ehtesham
2/16/16, 5:27 PM

Yes the order does matter, I had a similar issue I had to move definitions before/above before referring to them.

0
Toni Mas
11/23/14, 6:39 AM

The same error could appear if you call a undefined view in a view_id field.

Ask a Question
Keep Informed
3 follower(s)
About This Community

This platform 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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now