Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
4955 Prikazi

How to make these read-only fields false




I tried this but not working?


Avatar
Opusti
Avtor Best Answer



This is the correct answer

Avatar
Opusti
Best 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

Avatar
Opusti
Avtor

I tried this, not working

Best Answer

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,


Avatar
Opusti
Avtor

I tried this before but it's not working

Avtor

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

Related Posts Odgovori Prikazi Aktivnost
1
okt. 25
1084
4
okt. 25
3325
2
sep. 25
2098
4
sep. 25
7312
0
avg. 25
1031