Odoo Help


ValueError : No such external ID currently defined in the system ?

on 8/17/13, 4:24 AM 1,795 views

Please help me from Value error. Error is ValueError: No such external ID currently defined in the system: akee_fn_quotation.action_quote_approve_limit_form

     <record id="123_sales_config_quote_change_limit" model="ir.ui.view">
        <field name="name">sale settings</field>
        <field name="model">sale.config.settings</field>
        <field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
        <field name="arch" type="xml">
            <div name="customer feature" position="before">
                <separator string="Quotation Process"/>
                    <label for="id" string="Quotation Process"/>
                        <div name="quote_limit">
                            <field name="quote_limit" class="oe_inline" invisible="1"/>
                            <button name="%(action_quote_approve_limit_form)d" string="Change Limit" type="action" icon="gtk-execute" class="oe_highlight"/>
                            <label for="quote_limit"/>

     <record id="view_quote_approve_limit_form" model="ir.ui.view">
        <field name="name">sale settings</field>
        <field name="model">quote.approve.limit</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <form string="Change Quote Limit">
                <field name="value"/>
                <field name="name"/>

    <record id="view_quote_approve_limit_tree" model="ir.ui.view">
        <field name="name">sale.shop</field>
        <field name="model">quote.approve.limit</field>
        <field name="arch" type="xml">
            <tree string="Change Quote Limit">
                <field name="value"/>
                <field name="name"/>

    <record id="action_quote_approve_limit_form" model="ir.actions.act_window">
        <field name="name">Shop</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">quote.approve.limit</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="view_id" ref="view_quote_limit_tree"/>
        <field name="help" type="html">
          <p class="oe_view_nocontent_create">
            Click to define a new sale shop.

Thierry Godin

--Thierry Godin--
| 8 7 8
Collegien, France
--Thierry Godin--


Thierry Godin
On 8/17/13, 4:39 AM


Write the view (id="action_quote_approve_limit_form") BEFORE the first view (id="123_sales_config_quote_change_limit") for that it can be recognized.

Because you call it but it is declared later.


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


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

0 follower(s)


Asked: 8/17/13, 4:24 AM
Seen: 1795 times
Last updated: 3/16/15, 8:10 AM