我在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。 OpenERO Trunk Opportuniyt表单视图yu可以看到关系字段Partenr和Sales Personas URL:谢谢
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. OpenERO Trunk Opportuniyt Form view yu can see the relation fields Partenr and Sales Personas URL:Thank You
更多推荐
发布评论