[IMP]:hr_recruitment:improve as per suggestion
bzr revid: sunilsharma.sharma07@gmail.com-20131122084113-x9poguilfogtc5fn
This commit is contained in:
parent
6974db0568
commit
4a5ee2721c
|
@ -490,7 +490,7 @@ class hr_job(osv.osv):
|
|||
}
|
||||
|
||||
_defaults = {
|
||||
'alias_name':'jobs@yourcompany.com',
|
||||
'alias_name':lambda self,cr,uid,c: self.pool.get('hr.config.settings').get_default_alias_prefix(cr,uid,uid,c).get('alias_prefix')
|
||||
}
|
||||
|
||||
def _auto_init(self, cr, context=None):
|
||||
|
|
|
@ -344,7 +344,7 @@
|
|||
</div>
|
||||
</group>
|
||||
<xpath expr="//field[@name='department_id']" position="after">
|
||||
<label for="alias_name" string="Specific Email Address" attrs="{'invisible': [('alias_domain', '=', False)]}" help ="Define a specific contact address for this job position. If you keep it empty, the default email address will be used (jobs@yourcompany.com in human resources settings)"/>
|
||||
<label for="alias_name" string="Specific Email Address" attrs="{'invisible': [('alias_domain', '=', False)]}" help ="Define a specific contact address for this job position. If you keep it empty, the default email address will be used which is in human resources settings"/>
|
||||
<div name="alias_def" attrs="{'invisible': [('alias_domain', '=', False)]}">
|
||||
<field name="alias_id" class="oe_read_only oe_inline"
|
||||
string="Email Alias" required="0"/>
|
||||
|
@ -353,7 +353,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='department_id']" position="before">
|
||||
<xpath expr="//field[@name='department_id']" position="after">
|
||||
<field name="user_id" class="oe_inline"/>
|
||||
</xpath>
|
||||
<div name="buttons" position="inside">
|
||||
|
|
Loading…
Reference in New Issue