跳至內容
選單
此問題已被標幟
3 回覆
3292 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
4
5月 25
974
2
5月 25
3969
1
3月 25
475
4
3月 25
3132
3
2月 25
3746