Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
4068 Widoki

How to make these read-only fields false




I tried this but not working?


Awatar
Odrzuć
Autor Najlepsza odpowiedź



This is the correct answer

Awatar
Odrzuć
Najlepsza odpowiedź

 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

Awatar
Odrzuć
Autor

I tried this, not working

Najlepsza odpowiedź

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,


Awatar
Odrzuć
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

Powiązane posty Odpowiedzi Widoki Czynność
4
maj 25
2521
2
maj 25
5886
1
mar 25
1694
4
mar 25
4492
3
lut 25
5498