跳至内容
菜单
此问题已终结
1 回复
4212 查看

Hello

I'm working on report with OpenERP Report Designer on LibreOffice, and I have many problems with the langage... Do you have a good report example or any documentation about reports, functions... (except from OpenERP) ?

Thank you.

形象
丢弃

What is your problem?

编写者

It is a problem of algorithm, I would like to avoid many obects to create a table's row in a loop, and allow other objects to do it. I use removeParentNodet('tr'), It works when 1 object minimum create a row, but if no object create one, I've got an "AssertionError"... (sorry for my poor English..!)

编写者

Something like that (in a table) : [[repeatIn(objects,'t')]] [[ ((t.day = '1') or removeParentNode('tr')) ]] (...tables and rows...)

最佳答案

For that kind of question I go directly to YouTube and type something like openerp report libre office into the search bar.

Skip through a few of those and you are sure to find enough bits and pieces to help you over neophyte problems. For worse stuff, you can ask here :-)

形象
丢弃
编写者

ok, thanks !

Did you find what you needed?

编写者

Not really, I realised that I had to do functions in the python file in the report folder of my module. I think it's going to be hard but I'll try to understand the others reports of OpenERP as examples...

相关帖文 回复 查看 活动
1
3月 15
3691
0
3月 15
3559
1
3月 15
3840
1
3月 15
4738
1
6月 24
1286