[MOD]hr_*: usability improvement
bzr revid: amp@tinyerp.com-20100911073659-bw007nehrgegongk
This commit is contained in:
parent
e24686760b
commit
7c72bf1491
|
@ -147,7 +147,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<tree colors="red:state in ('refuse');blue:state in (' draft');black:state in ('confirm','validate','validate1');gray:state in ('cancel') " string="Leaves" >
|
||||
<field name="employee_id"/>
|
||||
<field name="department_id"/>
|
||||
<field name="department_id" invisible="1"/>
|
||||
<field name="holiday_status_id"/>
|
||||
<field name="name"/>
|
||||
<field name="number_of_days" string="Number of Days" sum='Remaining Days'/>
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
<separator orientation="vertical"/>
|
||||
<field name="user_id"/>
|
||||
<field name="account_id" select="1" widget="selection"/>
|
||||
<field name="product_id" select="1"/>
|
||||
<field name="date" select="1"/>
|
||||
</group>
|
||||
<newline/>
|
||||
|
|
|
@ -77,7 +77,7 @@ class account_analytic_line(osv.osv):
|
|||
_inherit = 'account.analytic.line'
|
||||
_columns = {
|
||||
'invoice_id': fields.many2one('account.invoice', 'Invoice', ondelete="set null"),
|
||||
'to_invoice': fields.many2one('hr_timesheet_invoice.factor', 'Type of Invoicing'),
|
||||
'to_invoice': fields.many2one('hr_timesheet_invoice.factor', 'Type of Invoicing', help="You can Select the invoice type which you have to created"),
|
||||
}
|
||||
|
||||
def unlink(self, cursor, user, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue