Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
4177 Vizualizări

How to make these read-only fields false




I tried this but not working?


Imagine profil
Abandonează
Autor Cel mai bun răspuns



This is the correct answer

Imagine profil
Abandonează
Cel mai bun răspuns

 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

Imagine profil
Abandonează
Autor

I tried this, not working

Cel mai bun răspuns

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,


Imagine profil
Abandonează
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 Răspunsuri Vizualizări Activitate
4
mai 25
2689
2
mai 25
6119
1
mar. 25
1802
4
mar. 25
4683
3
feb. 25
5762