Skip to Content
Menu
This question has been flagged
3 Replies
4173 Rodiniai

How to make these read-only fields false




I tried this but not working?


Portretas
Atmesti
Autorius Best Answer



This is the correct answer

Portretas
Atmesti
Best Answer

 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

Portretas
Atmesti
Autorius

I tried this, not working

Best Answer

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,


Portretas
Atmesti
Autorius

I tried this before but it's not working

Autorius

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

Related Posts Replies Rodiniai Veikla
4
geg. 25
2687
2
geg. 25
6119
1
kov. 25
1802
4
kov. 25
4674
3
vas. 25
5760