[IMP] views

bzr revid: nel@tinyerp.com-20100416065022-2kxranp2h9wm1s1f
This commit is contained in:
nel@tinyerp.com
2010-04-16 08:50:22 +02:00
parent 15b7488c05
commit 6be7dbb1f7
6 changed files with 8 additions and 8 deletions
@@ -13,8 +13,8 @@
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.order</field>
<field name="view_type">form</field>
<field name="domain">[('state','in',('wait','confirmed'))]</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('date_order','&gt;',time.strftime('%Y-01-01 00:00:00')),('date_order','&lt;',time.strftime('%Y-12-31 23:59:59')), ('state','in',('wait','confirmed'))]</field>
<field name="search_view_id" ref="purchase.purchase_order_tree"/>
</record>
@@ -54,4 +54,4 @@
sequence="4"/>
</data>
</openerp>
</openerp>
+1 -1
View File
@@ -239,7 +239,7 @@
</group>
<newline/>
<group col='8' colspan='15' expand='1' string='Group by...'>
<filter string='Employee' icon="terp-stock" domain="[]" context="{'group_by' : 'employee_id'}" />
<filter string='Employee' name="employee" icon="terp-stock" domain="[]" context="{'group_by' : 'employee_id'}" />
<filter string='Plan' icon="terp-stock" domain="[]" context="{'group_by' : 'plan_id'}" />
<filter string='State' icon="terp-stock" domain="[]" context="{'group_by' : 'state'}" />
<separator orientation="vertical"/>
@@ -27,7 +27,7 @@ class hr_evaluation_report(osv.osv):
_auto = False
_rec_name = 'date'
_columns = {
'create_date': fields.datetime('Create Date', readonly=True),
'create_date': fields.date('Create Date', readonly=True),
'deadline': fields.date("Deadline", readonly=True),
'request_id': fields.many2one('survey.request','Request_id', readonly=True),
'closed': fields.date("closed", readonly=True),
@@ -71,7 +71,7 @@
</group>
<newline/>
<group expand="1" string="Group By..." colspan="10" col="12">
<filter string="Employee" icon="terp-hr" context="{'group_by':'employee_id'}"/>
<filter string="Employee" name="employee" icon="terp-hr" context="{'group_by':'employee_id'}"/>
<separator orientation="vertical"/>
<filter string="Plan" icon="terp-hr" context="{'group_by':'plan_id'}"/>
<filter string="State" icon="terp-hr" context="{'group_by':'state'}"/>
@@ -88,6 +88,7 @@
<field name="res_model">hr.evaluation.report</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
<field name="context">{'search_default_employee': 1}</field>
<field name="search_view_id" ref="view_evaluation_report_search"/>
</record>
@@ -69,7 +69,7 @@
</field>
<newline/>
<group expand="1" string="Group By..." colspan="10" col="12">
<filter string="Employee" icon="terp-hr" context="{'group_by':'employee_id'}"/>
<filter string="Employee" name="employee" icon="terp-hr" context="{'group_by':'employee_id'}"/>
<separator orientation="vertical"/>
<filter string="State" icon="terp-hr" context="{'group_by':'state'}"/>
<separator orientation="vertical"/>
@@ -85,6 +85,7 @@
<field name="res_model">hr.holidays.report</field>
<field name="view_type">form</field>
<field name="view_mode">tree,graph</field>
<field name="context">{'search_default_employee': 1}</field>
<field name="search_view_id" ref="view_hr_holidays_report_search"/>
</record>
-2
View File
@@ -157,7 +157,6 @@
<field name="domain">[]</field>
<field name="view_id" ref="view_project"/>
<field name="search_view_id" ref="view_project_project_filter"/>
<field name="context">{'search_default_Users':1}</field>
</record>
<menuitem action="open_view_project_all" id="menu_open_view_project_all" parent="menu_project_management" sequence="1"/>
@@ -445,7 +444,6 @@
<field eval="False" name="filter"/>
<field name="view_id" ref="view_task_tree2"/>
<field name="search_view_id" ref="view_task_search_form"/>
<field name="context">{'search_default_user_id': 1}</field>
</record>
<menuitem action="action_view_task" id="menu_action_view_task" parent="project.menu_project_management" sequence="2"/>