0

In version 5 of openerp, you could import directly into an embedded tree view in a form page (eg import sales lines on a sales order). Is there any way to do this in version 6 or 7? It was useful functionality.

version 5 sales order page

There is of course a workaround by importing sub-objects (eg import sales order with "line_ids/name" etc) but it is not very user friendly.

4

1 回答 1

3

答案是否定的,与 v6 一样,此功能已被删除。原因是使用 v5,您必须先保存主记录(或者单击 o2m 小部件时会自动保存),然后您可以添加用于映射新添加(导入数据)与当前对象的 o2m 记录。

现在有了新版本,不保存主记录没有保存 o2m 记录,除非您使用“保存”按钮保存它。所以进口的东西不能在这里工作。

于 2014-07-04T11:44:18.633 回答