Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
4101 Weergaven

How to make these read-only fields false




I tried this but not working?


Avatar
Annuleer
Auteur Beste antwoord



This is the correct answer

Avatar
Annuleer
Beste antwoord

 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
Annuleer
Auteur

I tried this, not working

Beste antwoord

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
Annuleer
Auteur

I tried this before but it's not working

Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
4
mei 25
2562
2
mei 25
5941
1
mrt. 25
1710
4
mrt. 25
4553
3
feb. 25
5551