Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
4045 Tampilan

How to make these read-only fields false




I tried this but not working?


Avatar
Buang
Penulis Jawaban Terbai



This is the correct answer

Avatar
Buang
Jawaban Terbai

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

I tried this, not working

Jawaban Terbai

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

I tried this before but it's not working

Penulis

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

Post Terkait Replies Tampilan Aktivitas
4
Mei 25
2468
2
Mei 25
5808
1
Mar 25
1639
4
Mar 25
4430
3
Feb 25
5417