Odoo Help

0

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

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

The Question has been closed

by
Sudhir Arya (ERP Harbor Consulting Services)
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 (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
11594
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 

LinkedIn

Blog

Stackoverflow

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com 
Sudhir Arya (ERP Harbor Consulting Services)
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 (ERP Harbor Consulting Services)
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: 1951 times
Last updated: 3/16/15, 8:10 AM