This question has been flagged
2673 Views

I have a requirement to include Cash Flow in Chart of Accounts Tree View .It should look like

->Balance sheet

->Profit & Loss

->Cash Flow

For thta I have written a module by inherit

 

 <record id="view_account_tree_inherit" model="ir.ui.view">
            <field name="name">account.account.tree</field>
            <field name="model">account.account</field>
            <field name="field_parent">child_id</field>
            <field name="inherit_id" ref="account.view_account_tree"/>
            <field name="priority" eval="3"/>
            <field name="arch" type="xml">
               <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="farararaar" toolbar="1" >
                    <field name="code"/>                   
                    <field name="company_currency_id"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="type"/>
                    <field name="parent_id" invisible="1"/>
                </tree>
            </field>
        </record>     

 

But I could not get Cash flow.Can any one guide what what extra needs to done to satisfy my requiremet

 

 

 

 

 

Avatar
Discard