[IMP] improved code.

bzr revid: tpa@tinyerp.com-20120719105719-x0rvgw3eg4mbjcck
This commit is contained in:
Turkesh Patel (Open ERP) 2012-07-19 16:27:19 +05:30
parent 2fa5b4c96d
commit ab213ad261
2 changed files with 4 additions and 7 deletions

View File

@ -71,7 +71,7 @@
<field name="date_created"/>
<field name="date_maturity"/>
<field name="account_id"/>
<field name="journal_id" widget="selection"/>
<field name="journal_id"/>
<field name="period_id"/>
<filter icon="terp-go-year" string="This F.Year" name="thisyear" context="{'year':'current_year'}" help="Journal Entries with period in current year"/>
<filter icon="terp-go-month" string="This Period" name="period" context="{'period':'current_period'}" help="Journal Entries with period in current period"/>

View File

@ -36,12 +36,9 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Treasury Analysis">
<group>
<field name="fiscalyear_id"/>
<field name="period_id"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
<newline/>
<field name="fiscalyear_id"/>
<field name="period_id"/>
<field name="company_id" groups="base.group_multi_company"/>
</search>
</field>
</record>