Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3275 Lượt xem

How to make these read-only fields false




I tried this but not working?


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất



This is the correct answer

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

 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

Ảnh đại diện
Huỷ bỏ
Tác giả

I tried this, not working

Câu trả lời hay nhất

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,


Ảnh đại diện
Huỷ bỏ
Tác giả

I tried this before but it's not working

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 25
921
2
thg 5 25
3915
1
thg 3 25
459
4
thg 3 25
3112
3
thg 2 25
3694