[IMP] hr_contract: update field label using attribute selector
before this commit, to update the string for departure_date field the entire field has been replaced after this commit, using attribute selector(string) updated the string for this field closes odoo/odoo#110649 Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
<xpath expr="//div[@id='activities']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='departure_date']" position="replace">
|
||||
<field name="departure_date" string="Contract End Date"/>
|
||||
<xpath expr="//field[@name='departure_date']" position="attributes">
|
||||
<attribute name="string">Contract End Date</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='activities']" position="inside">
|
||||
<div><field name="set_date_end"/><label for="set_date_end" string="Contract"/></div>
|
||||
|
||||
Reference in New Issue
Block a user