Skip to Content
Menú
This question has been flagged
3 Respostes
4031 Vistes

How to make these read-only fields false




I tried this but not working?


Avatar
Descartar
Autor Best Answer



This is the correct answer

Avatar
Descartar
Best Answer

 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
Descartar
Autor

I tried this, not working

Best Answer

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
Descartar
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

Related Posts Respostes Vistes Activitat
4
de maig 25
2388
2
de maig 25
5734
1
de març 25
1580
4
de març 25
4378
3
de febr. 25
5351