Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
4189 Vues

How to make these read-only fields false




I tried this but not working?


Avatar
Ignorer
Auteur Meilleure réponse



This is the correct answer

Avatar
Ignorer
Meilleure réponse

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

I tried this, not working

Meilleure réponse

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
Ignorer
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

Publications associées Réponses Vues Activité
4
mai 25
2704
2
mai 25
6137
1
mars 25
1811
4
mars 25
4701
3
févr. 25
5773