Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
4729 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
Okt. 25
2688
2
Sept. 25
1732
4
Sept. 25
6803
0
Aug. 25
824
4
Mai 25
3438