Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
4190 Näkymät

How to make these read-only fields false




I tried this but not working?


Avatar
Hylkää
Tekijä Paras vastaus



This is the correct answer

Avatar
Hylkää
Paras vastaus

 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
Hylkää
Tekijä

I tried this, not working

Paras vastaus

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
Hylkää
Tekijä

I tried this before but it's not working

Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
toukok. 25
2705
2
toukok. 25
6137
1
maalisk. 25
1811
4
maalisk. 25
4702
3
helmik. 25
5773