Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
4054 Zobrazení

How to make these read-only fields false




I tried this but not working?


Avatar
Zrušit
Autor Nejlepší odpověď



This is the correct answer

Avatar
Zrušit
Nejlepší odpověď

 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
Zrušit
Autor

I tried this, not working

Nejlepší odpověď

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
Zrušit
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

Related Posts Odpovědi Zobrazení Aktivita
4
kvě 25
2496
2
kvě 25
5857
1
bře 25
1684
4
bře 25
4462
3
úno 25
5465