İçereği Atla
Menü
This question has been flagged
3 Cevaplar
3274 Görünümler

How to make these read-only fields false




I tried this but not working?


Avatar
Vazgeç
Üretici Best Answer



This is the correct answer

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

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

Related Posts Cevaplar Görünümler Aktivite
4
May 25
921
2
May 25
3915
1
Mar 25
458
4
Mar 25
3109
3
Şub 25
3694