[MOD] usability improvement
bzr revid: amp@tinyerp.com-20101004111442-njhnokcljhulji4g
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
<field name="progress_bar" widget="progressbar"/>
|
||||
<field name="delay_date"/>
|
||||
<field name="overpass_delay"/>
|
||||
<field name="state" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -77,8 +76,6 @@
|
||||
<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'}"/>
|
||||
<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"/>
|
||||
<filter string="Year" icon="terp-go-month" context="{'group_by':'year'}" help="Creation Date"/>
|
||||
|
||||
@@ -43,8 +43,6 @@ class hr_holidays_summary_dept(osv.osv_memory):
|
||||
if context is None:
|
||||
context = {}
|
||||
data = self.read(cr, uid, ids, [], context=context)[0]
|
||||
print context
|
||||
print data
|
||||
if not data['depts']:
|
||||
raise osv.except_osv(_('Error'), _('You have to select at least 1 Department. And try again'))
|
||||
datas = {
|
||||
@@ -52,7 +50,6 @@ class hr_holidays_summary_dept(osv.osv_memory):
|
||||
'model': 'ir.ui.menu',
|
||||
'form': data
|
||||
}
|
||||
print datas
|
||||
return {
|
||||
'type': 'ir.actions.report.xml',
|
||||
'report_name': 'holidays.summary',
|
||||
|
||||
Reference in New Issue
Block a user