Odoo Help


Report error "name 'getLines' is not defined" [Closed]

on 4/29/13, 7:41 AM 1,790 views

The Question has been closed

Sudhir Arya (SA)
on 01/14/2014 13:14:06

Using openoffice I have

Changed the "overdue payment" report to a "Very Late Statement" report - works perfect

I created a "Normal Statement" using res.partner report and copy and pasted the above report into it (assuming they would be identical), then saved it to the server.

It appears in the drop down...good start!

However, when I come to use it I get an Openerp Warning...

Any guidance please?

image description

Sudhir Arya (SA)
On 4/29/13, 8:35 AM

It seems you have called getLines function from rml and it does not appear in report parsing py file. Make sure you have imported parsing py file in __init__.py.

Hi Sudhir, I'm not clear with this Make sure you have imported parsing py file in __init__.py. Please help me, i'm struggling with this for last 3 days and not able to generate the report. Waiting for ur reply :)

on 1/14/14, 8:14 AM

parsing py file is the file which we create for report in which we define methods.

Sudhir Arya (SA)
on 1/14/14, 1:13 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/29/13, 7:41 AM
Seen: 1790 times
Last updated: 3/16/15, 8:10 AM