跳至内容
菜单
此问题已终结

Hi, 

m trying to show/hide the control create tag under tree view but it is not working. Looks like the attrs attribute is not available in tag. Is there a way to modify this? The hide/show behavior will be based from the sale order form view checkbox field which has a related field to sale order lines.

I've done some research and 1 solution was to hide/show based from context ("invisible": context.get() != True).

形象
丢弃

I am also curious of the solution.
The <create> tag works with invisible attribute in form of
<create name="add_product_control" string="Add a product" invisible="1"/>
But none of other methods works for me so far. Could you also paste the line that works for you?

相关帖文 回复 查看 活动
1
8月 24
1259
4
3月 15
11690
1
8月 23
3312
4
12月 23
20843
0
11月 21
2390