Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1833 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
abr. 22
2401
2
ago. 21
3747
2
out. 20
5179
1
jul. 25
750
1
fev. 25
4046