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

Can't find field 'sequence' in the following view parts composing the view of object model 'account.bank.statement':

By
Gbolahan
on 8/12/14, 3:12 AM 589 views

ERROR store_dbase openerp.osv.orm: Can't find field 'sequence' in the following view parts composing the view of object model 'account.bank.statement':
 * account.bank.statement.form
 * account.bank.statement.voucher.tree.inherit

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <!-- Top menu item -->
          
           <!-- view form -->
        <record id="view_store1_form" model="ir.ui.view">
            <field name="name">store.sale</field>
            <field name="model">store.sale</field>
            <field name="arch" type="xml">
                <form string="Store" version="7.0">
                        <group>
                        <field name="name" />
                        <field name="store_id" />
                        </group>
                </form>
           </field>
        </record>
        
                  <!-- Inherit Sale Form View -->
        <record model="ir.ui.view" id="store_view_inherit">
           <field name="name">store.sale.inherit</field>
           <field name="model">sale.order</field>
           <field name="inherit_id" ref="sale.view_order_form"/>
                             <field name="arch" type="xml">
                               <field name="partner_id" position="after">
                                       <field name="store_id" string="Company_Id"/>
                               </field>
                       </field>              
       </record>
 
        <!-- Inherit Account Form View -->
        <record model="ir.ui.view" id="store_view_account_inherit">
           <field name="name">store.account.inherit</field>
           <field name="model">account.invoice</field>
           <field name="inherit_id" ref="account.view_bank_statement_form"/>
                             <field name="arch" type="xml">
                               <field name="journal_id" position="after">
                                       <field name="store_id" string="Company_Id"/>
                               </field>
                       </field>              
       </record>
 
        
        
        <!-- view search -->
         <record id="view_store_search" model="ir.ui.view">
            <field name="name">store.sale</field>
            <field name="model">store.sale</field>
            <field name="arch" type="xml">
                <search string="Sales Shop" version="7.0">
                           <field name="store_id" />
                </search>
           </field>
        </record>
       
       <!-- view tree -->
         <record id="view_store_tree" model="ir.ui.view">
            <field name="name">store.sale</field>
            <field name="model">store.sale</field>
            <field name="arch" type="xml">
                <tree string="Sales Shop" version="7.0">
                         <field name="name" />
                        <field name="store_id" />
                </tree>
           </field>
        </record>
        
                    
                    <!--Action -->
       <record model="ir.actions.act_window" id="action_store_sale">
        <field name="name">Store</field>
        <field name="res_model">store.sale</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <!--<field name="view_store_search" ref="view_store_form"/-->
        </record>
        
                    <!-- windows -->
    <menuitem name="Store" id="base.store_lunch_survey_root" />
    <menuitem name="Store Information" parent="base.store_lunch_survey_root" id="menu_store" />
    <menuitem name="Store" parent="menu_store" id="menu_store_category" action="action_store_sale" />
    </data>
</openerp>


Can someone help out, pls.

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: 8/12/14, 3:12 AM
Seen: 589 times
Last updated: 3/16/15, 8:10 AM