Integra gate hr_user de la página Personal
This commit is contained in:
commit
6d8331607d
1 file changed
+8
@@ -123,6 +123,14 @@
|
||||
<xpath expr="//page[@name='personal_information']" position="attributes">
|
||||
<attribute name="groups">base.group_system</attribute>
|
||||
</xpath>
|
||||
<!-- Al reemplazar los groups de la página Personal se perdió su
|
||||
gate nativo hr_user y el linter acusa todos los elementos
|
||||
con invisible= sobre campos de hr_user (bancos, visa,
|
||||
pasaporte…). Se restituye el gate en el único envoltorio
|
||||
directo de la página: visibilidad = system ∩ hr_user. -->
|
||||
<xpath expr="//page[@name='personal_information']/group" position="attributes">
|
||||
<attribute name="groups">hr.group_hr_user</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//header//field[@name='version_id']" position="attributes">
|
||||
<attribute name="groups">base.group_system</attribute>
|
||||
</xpath>
|
||||
|
||||
Reference in new issue
Block a user