如何在openerp 6.1的另一个模型中对一个列表进行分组? [英] how to group one2many list view inside another model in openerp 6.1?

查看:56
本文介绍了如何在openerp 6.1的另一个模型中对一个列表进行分组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的sale.order中,我添加了一个新的one2many字段sale_bom来显示物料清单行.每当我添加销售订单行时,如果产品有物料清单,则其物料清单行应显示在新字段sale_bom下.

In my sale.order, i have added a new one2many field sale_bom for showing the bill of material lines. Whenever i add a sale order line, if the product have a bill of material then its bom lines should be shown under the new field sale_bom.

我找到了在openerp v6.0.3的Web客户端和gtk客户端中使用context="{'group_by':'sale_order_line'}"将sale_bom行按sale_order_lines分组的方法,但是在openerp v6.1中不起作用 有什么办法可以对openerp v6.1 Web客户端进行分组?

I found the way to group the sale_bom lines by sale_order_lines using context="{'group_by':'sale_order_line'}" in web client and gtk client of openerp v6.0.3 but it is not working in openerp v6.1 Is there any way to group in openerp v6.1 web client?

推荐答案

在openerp6.1 webclient中无法使用GTK客户端.或在右侧面板中提供树视图的链接.

in openerp6.1 webclient it is not possible to please use GTK client. or provide a link for the tree view in right panel .

这篇关于如何在openerp 6.1的另一个模型中对一个列表进行分组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆