Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
4212 มุมมอง

How to make these read-only fields false




I tried this but not working?


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด



This is the correct 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

อวตาร
ละทิ้ง
ผู้เขียน

I tried this, not working

คำตอบที่ดีที่สุด

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,


อวตาร
ละทิ้ง
ผู้เขียน

I tried this before but it's not working

ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 25
133
4
พ.ค. 25
2736
2
พ.ค. 25
6160
1
มี.ค. 25
1826
4
มี.ค. 25
4730