[IMP] account_analytic_default : Improved the Search View.

bzr revid: mdi@tinyerp.com-20120614100228-6bntcmle7ebz84d7
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-06-14 15:32:28 +05:30
parent 790d6e7c0c
commit 64bde99049
1 changed files with 10 additions and 10 deletions

View File

@ -47,7 +47,7 @@
<field name="arch" type="xml">
<search string="Accounts">
<group>
<filter icon="terp-go-month" string="Current" name = "current" help="Analytical defaults whose end date is greater than today or None" domain = "['|', ('date_stop', '&gt;', datetime.date.today().strftime('%%Y-%%m-%%d')), ('date_stop', '=', False)]" />
<field name="date_stop"/>
<separator orientation="vertical"/>
<field name="analytic_id" groups="analytic.group_analytic_accounting"/>
<field name="product_id"/>