Odoo Help

0

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

By
Cameron
on 4/29/13, 7:41 AM 1,460 views

The Question has been closed

by
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

2

Sudhir Arya (SA)

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

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

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 :)

ASP
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.

Register

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)

Stats

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