Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
3269 Ansichten

How to make these read-only fields false




I tried this but not working?


Avatar
Verwerfen
Autor Beste Antwort



This is the correct answer

Avatar
Verwerfen
Beste Antwort

 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
Verwerfen
Autor

I tried this, not working

Beste Antwort

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
Verwerfen
Autor

I tried this before but it's not working

Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Mai 25
915
2
Mai 25
3897
1
März 25
454
4
März 25
3102
3
Feb. 25
3689