Browse Source

[IMP] Added parent_id in search view.

6.0
Luis E. Escobar V. 13 years ago
parent
commit
a1b2385aa8
  1. 1
      account_financial_report/__openerp__.py
  2. 23
      account_financial_report/view/account_view.xml

1
account_financial_report/__openerp__.py

@ -38,6 +38,7 @@
"update_xml" : [ "update_xml" : [
"wizard/wizard_report_report.xml" , "wizard/wizard_report_report.xml" ,
"wizard/account_report_wizard.xml" , "wizard/account_report_wizard.xml" ,
"view/account_view.xml",
] , ] ,
"active": False , "active": False ,
"installable": True "installable": True

23
account_financial_report/view/account_view.xml

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--
=====================================================
Vista para agregar ala vista en lista de la lista de
cuentas contables el campo padre.
=====================================================
-->
<record id="view_account_search_padre" model="ir.ui.view">
<field name="name">account.account.search.padre</field>
<field name="model">account.account</field>
<field name="type">search</field>
<field name="inherit_id" ref="account.view_account_search"/>
<field name="arch" type="xml">
<xpath expr="/search/group/field[@name='code']" position="after">
<field name="parent_id"/>
</xpath>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save