Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
4191 Visualizzazioni

How to make these read-only fields false




I tried this but not working?


Avatar
Abbandona
Autore Risposta migliore



This is the correct answer

Avatar
Abbandona
Risposta migliore

 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
Abbandona
Autore

I tried this, not working

Risposta migliore

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
Abbandona
Autore

I tried this before but it's not working

Autore

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

Post correlati Risposte Visualizzazioni Attività
4
mag 25
2706
2
mag 25
6137
1
mar 25
1811
4
mar 25
4703
3
feb 25
5777