コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
4142 ビュー

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
2638
2
5月 25
6049
1
3月 25
1757
4
3月 25
4622
3
2月 25
5645