在OpenERP中单击树视图的事件(Click event of tree view in OpenERP)

编程入门 行业动态 更新时间:2024-10-22 10:41:06
在OpenERP中单击树视图的事件(Click event of tree view in OpenERP)

我在OpenERP中创建了一个树视图。 它没有“可编辑”属性,并且包含许多2个字段。

当我点击many2one字段时,如何让它打开相关对象的表单视图?

例如,此树视图中有一个“销售订单”字段。 当我单击此列时,它会打开销售订单的表单视图,因为我单击表单视图中的相同字段。

I created a tree View in OpenERP . It's without 'editable' property , and contains some many2one fields.

How to make it open the related object's form view , when I click the many2one fields?

For example, there is a 'sale order' field in this tree view. When I click this column, it open the sale order's form view, as I click the same field in form View.

最满意答案

如果你看到OpenERP 6.1和trunk这个Thing对所有关系字段的影响,我附加了一个OpenERP 6.1和trunk的屏幕截图,它显示了Relation字段作为URL,它将你重定向到该关系记录的from视图。

OpenERP 6.1销售订单表单视图,您可以查看合作伙伴和地址m2o作为URL。 OpenERP 6.1 Sales Forom View OpenERO Trunk Opportuniyt表单视图yu可以看到关系字段Partenr和Sales Personas URL: OpenERP Trunk

谢谢

If you See on OpenERP 6.1 and trunk this Thing implmentated on all relation Field, I have attached a Screen Shot of the OpenERP 6.1 and trunk which shows the Relation field as URL which Re-direct you on to the from view of that relational record.

OpenERP 6.1 Sales Order Form view, Whre you can See Partner and Address m2o as URL.OpenERP 6.1 Sales Forom View OpenERO Trunk Opportuniyt Form view yu can see the relation fields Partenr and Sales Personas URL:OpenERP Trunk

Thank You

更多推荐

本文发布于:2023-04-29 10:41:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1336372.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:视图   单击   事件   OpenERP   view

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!