报表最下面合计行实现办法?
-
我需要实现有明细,然后最后一行是合计,在OpenERP上面如何实现?
我当前是用视图,但是合计不知道如何实现?按我们原来做系统的办法,是通过union来实现,但是通过OpenERP不知道是否可以在查询的时候拼SQL,给个现成的addon例子就好了。
-
通过研究,重载 search可以实现
-
-
还在研究,其实就是union一下,出来一条合计记录数据。
在sql执行数据都是可以的,但是在OE执行合计记录没有出来,还要跟踪。 -
-
我需要的横向的合计,不是增加列。
xxxx xxxx xxxx
xxxx xxxx xxxx
合计 ssss ssss -
已经实现。
通过重载 search函数,动态建立view来实现。
最好的办法应该是通过临时表,但是OE好像在读取数据的时候,需要拿 id到数据库里面匹配,匹配不到的就不能显示。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login