Odoo Help


This community 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.


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

on 4/29/13, 7:41 AM 1,353 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)

--Sudhir Arya (SA)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow




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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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