[IMP]:sale,hr_recruitment,puchase,account:Improved report.

bzr revid: apa@tinyerp.com-20100402070938-3jakviebvmay81qd
This commit is contained in:
apa-tiny 2010-04-02 12:39:38 +05:30
parent 0353f4434c
commit 8b783f1274
4 changed files with 8 additions and 3 deletions

View File

@ -43,6 +43,7 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Invoices">
<group>
<filter icon="terp-account"
string="This Year"
domain="[('year','=',time.strftime('%%Y'))]"
@ -67,7 +68,7 @@
</field>
<field name="partner_id"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
</group>
<newline/>
<group expand="1" string="Extended options..." colspan="10" col="12">
<filter icon="terp-account"

View File

@ -39,6 +39,7 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Recruitments">
<group>
<filter icon="terp-hr"
string="This Year"
domain="[('year','=',time.strftime('%%Y'))]"
@ -59,6 +60,7 @@
default="1"
domain="[('user_id','=',uid)]"/>
</field>
</group>
<newline/>
<group expand="1" string="Extended options..." colspan="10" col="12">
<filter icon="terp-hr"

View File

@ -44,6 +44,7 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Purchase Orders">
<group>
<filter icon="terp-purchase"
string="This Year"
domain="[('name','=',time.strftime('%%Y'))]"
@ -71,7 +72,7 @@
</field>
<field name="partner_id"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
</group>
<newline/>
<group expand="1" string="Group By..." colspan="10" col="12">
<filter string="Company" icon="terp-purchase" context="{'group_by':'company_id'}"/>

View File

@ -43,6 +43,7 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Sale Orders">
<group>
<filter icon="terp-sale"
string="This Year"
domain="[('year','=',time.strftime('%%Y'))]"
@ -70,7 +71,7 @@
<field name="partner_id"/>
<field name="product_id"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
</group>
<newline/>
<group expand="1" string="Group By..." colspan="10" col="12">
<filter string="Company" icon="terp-sale" context="{'group_by':'company_id'}"/>