Hello,
I need to make 'taxes_id' field in Purchase order line, v15, as read only and unselectable.
I made an inherited view, but didn't work:
{'readonly':[('state', 'in', ['draft','purchase', 'done', 'cancel'])]}
True
{'no_create_edit': True}
Thanks
Hello,
I need to make 'taxes_id' field in Purchase order line, v15, as read only and unselectable.
I made an inherited view, but didn't work:
{'readonly':[('state', 'in', ['draft','purchase', 'done', 'cancel'])]}
True
{'no_create_edit': True}
Thanks
Hi,
You can try like this:
xpath expr="//field[@name='order_line']/tree[1]/field[@name='taxes_id']" position="attributes"
"readonly">1
/xpath
Thanks
<xpath expr="/field[@name='order_line']/tree[1]/field[@name='taxes_id']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
Thanks Niyas,
I tried it but still not working:
<?xml version="1.0"?>
<data>
<xpath expr="//field[@name='order_line']/tree[1]//field[@name='taxes_id']" position="attributes">
<attribute name="readonly">1</attribute>
<attribute name="force_save">1</attribute>
</xpath>
</data>
Hi,
Please try this XML code:
<xpath expr="/field[@name='order_
position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
Hope it helps
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
3
jul. 23
|
8285 | |||
|
2
out. 22
|
7389 | |||
|
1
out. 22
|
11120 | |||
|
2
jun. 24
|
13694 | |||
|
0
abr. 22
|
5487 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.