跳至内容
菜单
此问题已终结
3 回复
4106 查看

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
2569
2
5月 25
5952
1
3月 25
1715
4
3月 25
4561
3
2月 25
5568