Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
4115 Представления

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
2587
2
мая 25
5971
1
мар. 25
1721
4
мар. 25
4577
3
февр. 25
5586