Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
4186 Visualizações

How to make these read-only fields false




I tried this but not working?


Avatar
Cancelar
Autor Melhor resposta



This is the correct answer

Avatar
Cancelar
Melhor resposta

 HI  Vikas Maharana


  • You should try below code to make analytic distribution field as readonly False , 





 I hope this is helpful to you.


 Thanks & Regards,

 Email: odoo@devintellecs.com

 Skype: devintelle

Avatar
Cancelar
Autor

I tried this, not working

Melhor resposta

Hi,

To make the analytic distribution as read-only, add the following code


  <xpath expr="//field[@name='analytic_distribution]"
                   position="attributes">
                <attribute name="readonly">1</attribute>
            </xpath>

If you want to make this field as read-only false, add the following code


  <xpath expr="//field[@name='analytic_distribution]"
                   position="attributes">
                <attribute name="readonly">0</attribute>
            </xpath>



Hope it helps,


Avatar
Cancelar
Autor

I tried this before but it's not working

Autor

I think we can't make one field editable.
How to make an entire tree view field editable

Publicações relacionadas Respostas Visualizações Atividade
4
mai. 25
2697
2
mai. 25
6129
1
mar. 25
1810
4
mar. 25
4700
3
fev. 25
5770