Odoo Help

0

External ID not found in the system: daily_transaction.action_daily_transaction

By
Diogenes Ojeda
on 3/15/15, 11:46 PM 1,652 views

 

THE CODE

 

  <?xml version="1.0" ?>

- <openerp>

- <data>

  <menuitem name="Daily Transaction" id="base.daily_transaction_root" sequence="60" />

  <menuitem id="menu_daily_transaction_root" name="Daily Transaction" parent="base.daily_transaction_root" sequence="1" />

  <menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20" />

- <record id="action_daily_transaction" model="ir.actions.act_window">

  <field name="name">Daily Transaction</field>

  <field name="res_model">daily.transaction</field>

  <field name="view_type">form</field>

  <field name="view_mode">tree,form</field>

  <field name="search_view_id" eval="False" />

  <field name="context">{}</field>

  <field name="help">Create new daily transaction.</field>

  </record>

  </data>

  </openerp>

THE ERROR:

ParseError: "External ID not found in the system: daily_transaction.action_daily_transaction" while parsing file:///C:/Program Files/Odoo 8.0-20150309/server/openerp/addons/daily_transaction/daily_transaction_view.xml:15, near <menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20"/>

OR: INTERNAL SERVE ERROR

help! thanKS

 

1

Hi,

I think you need to write your .xml file as like below.

  <?xml version="1.0" ?>

<openerp>

<data>

  <menuitem name="Daily Transaction" id="base.daily_transaction_root" sequence="60" />

  <menuitem id="menu_daily_transaction_root" name="Daily Transaction" parent="base.daily_transaction_root" sequence="1" />

<record id="action_daily_transaction" model="ir.actions.act_window">

  <field name="name">Daily Transaction</field>

  <field name="res_model">daily.transaction</field>

  <field name="view_type">form</field>

  <field name="view_mode">tree,form</field>

  <field name="search_view_id" eval="False" />

  <field name="context">{}</field>

  <field name="help">Create new daily transaction.</field>

  </record>

<menuitem action="action_daily_transaction" id="menu_action_daily_transaction" parent="menu_daily_transaction_root" sequence="20" />

  </data>

  </openerp>

I hope it will not give any error.

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

Question tools

1 follower(s)

Stats

Asked: 3/15/15, 11:46 PM
Seen: 1652 times
Last updated: 3/16/15, 8:10 AM