Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
3307 Переглядів

How to make these read-only fields false




I tried this but not working?


Аватар
Відмінити
Автор Найкраща відповідь



This is the correct 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

Аватар
Відмінити
Автор

I tried this, not working

Найкраща відповідь

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,


Аватар
Відмінити
Автор

I tried this before but it's not working

Автор

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

Related Posts Відповіді Переглядів Дія
4
трав. 25
990
2
трав. 25
4018
1
бер. 25
485
4
бер. 25
3142
3
лют. 25
3768