Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
4170 Visninger

How to make these read-only fields false




I tried this but not working?


Avatar
Kassér
Forfatter Bedste svar



This is the correct answer

Avatar
Kassér
Bedste svar

 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
Kassér
Forfatter

I tried this, not working

Bedste svar

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
Kassér
Forfatter

I tried this before but it's not working

Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
4
maj 25
2685
2
maj 25
6116
1
mar. 25
1801
4
mar. 25
4673
3
feb. 25
5756