Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2030 Vistas

I tried to set a user group for the field cost(purchase_price) in the Sales Order form - order lines, from python code as well as through XML, but the group is not accepted for that field.


Any assistance you can provide would be greatly appreciated

Avatar
Descartar
Mejor respuesta

Hi,

Please try any of the following: In Python -- 

Your_field = fields.Date(string="Spouse Birthdate", groups="hr.group_hr_user")

in .xml

<field name="your_field_name" groups="base.group_no_one"/>


Regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 22
2576
2
ago 21
3909
2
oct 20
5503
1
sept 25
1168
1
feb 25
4233