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

I have created custom fields in customer master but the same is getting displayed in the Supplier master also. Can any one help on this please

Avatar
Cancelar
Melhor resposta

Hello Senthil,


Customer and Supplier have same object so it reflact on the both form.


You need to set atts on the custom field,


In xml file :-

<field name="custom_field" attrs="{'invisible' : [('customer', '=', False)]}" />


Hope this works for you.

Avatar
Cancelar