Skip to Content
Menu
This question has been flagged
1 Reply
2344 Views

Is there an attribute that you can set to a view element such as "field", "tree", "button" that will make odoo behave as if this field wasn't present in the view? Something like 

```
<field name="foo" ignore="1"\>
```

Not talking about invisible / column_invisible behaviour. I really mean like the field wasn't present at the 'arch', for all effects.

Avatar
Discard

Try: <field name="foo" invisible="1"\>

Best Answer

Hi Andres, 


No there is no such option at the moment. Right now the only options that you have are removing the fields from the view or making them invisible as you mentioned. 

There is no global parameter or option for it. It is actually a nice idea. Perhaps you can propose it on Github at https://github.com/odoo/odoo/issues. Just add wishlist in the title and then it will be evaluated as such. For now you'll need to make your own xpaths for all views I'm afraid. ;) 


Regards, 

Yenthe

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 24
127
2
Nov 24
84
1
Oct 24
264
0
Sep 24
213
2
Sep 24
648