İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
4056 Görünümler

How to make these read-only fields false




I tried this but not working?


Avatar
Vazgeç
Üretici En İyi Yanıt



This is the correct answer

Avatar
Vazgeç
En İyi Yanıt

 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
Vazgeç
Üretici

I tried this, not working

En İyi Yanıt

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
Vazgeç
Üretici

I tried this before but it's not working

Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
4
May 25
2500
2
May 25
5858
1
Mar 25
1686
4
Mar 25
4463
3
Şub 25
5467