[MOD] Improvemetns in reports

bzr revid: vir@tinyerp.com-20101007134746-38gevpiqxagm15sn
This commit is contained in:
Vir (Open ERP)
2010-10-07 19:17:46 +05:30
parent cfcbf1ab1e
commit 7f603c334e
3 changed files with 8 additions and 4 deletions
@@ -18,6 +18,7 @@
<field name="year" invisible="1"/>
<field name="month" invisible="1"/>
<field name="rating" invisible="1"/>
<field name="state" invisible="1"/>
<field name="nbr" sum="# of Requests"/>
<field name="progress_bar" widget="progressbar"/>
<field name="delay_date"/>
@@ -74,7 +75,9 @@
<filter string="Employee" name="employee" icon="terp-personal" context="{'group_by':'employee_id'}"/>
<separator orientation="vertical"/>
<filter string="Plan" icon="terp-stock_align_left_24" context="{'group_by':'plan_id'}"/>
<filter string="Appreciation" icon="terp-rating-rated" context="{'group_by':'rating'}"/>
<filter string="Appreciation" icon="terp-face-plain" context="{'group_by':'rating'}"/>
<separator orientation="vertical"/>
<filter string="State" icon="terp-stock_effects-object-colorize" context="{'group_by':'state'}"/>
<separator orientation="vertical"/>
<filter string="Day" icon="terp-go-today" context="{'group_by':'day'}" help="Creation Date"/>
<filter string="Month" icon="terp-go-month" context="{'group_by':'create_date'}" help="Creation Date"/>
+3 -1
View File
@@ -149,7 +149,9 @@
<filter icon="terp-personal+" domain="[('department_id','=',context.get('department_id',False))]"
string="Expenses of My Department"/>
</field>
<field name="department_id" widget="selection" groups="base.group_extended"/>
<field name="department_id" widget="selection" string="Department" context="{'invisible_department': False}">
<filter icon="terp-personal+" context="{'invisible_department': False}" domain="[('department_id','=',context.get('department_id',False))]" help="My Department"/>
</field>
</group>
<newline />
<group expand="0" string="Group By...">
@@ -91,11 +91,10 @@
</group>
<newline/>
<group expand="0" string="Extended Filters..." groups="base.group_extended">
<field name="job_id" />
<!--field name="job_id"/-->
<field name="priority"/>
<field name="stage_id" widget="selection"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
<newline/>
<field name="date" string="Creation Date"/>
<field name="date_closed"/>
</group>