Odoo Help

Welcome!

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.

1

QWebException: "'NoneType' object has no attribute '__getitem__'" while evaluating [Done]

By
Harsh Dhaduk
on 12/2/14, 2:39 AM 3,418 views

Hello Frieds,

I Try to create new price list report in Odoo v8. i simply copy and past product/views/report_pricelist.xml to other module and also change template id and create one report menu in xml file. i installed this module in odoo i woked but when i try to press button and i call this report i get below error.

QWebException: "'NoneType' object has no attribute '__getitem__'" while evaluating

"get_pricelist(data['form']['price_list'])"

 

how can i resolve this problem?

 

Thanks in advance.

 

@Harsh Either your variable 'data' is empty or data['form'] is empty or none, where it is trying to fetch the data. Check it !!

Emipro Technologies Pvt. Ltd.
on 12/2/14, 2:44 AM

Hi, Thanks for your replay i also checked about blank data but data and data['form'] is not blank. the main question is original report is working but i created copy of that report is it not working. so have any idea?

Harsh Dhaduk
on 12/2/14, 4:01 AM
0
Harsh Dhaduk
On 12/2/14, 6:44 AM

It's Done

Using Parsing File for report and error resolved.

Hey, Facing the same problem, can you show me how u have used to parsing file. thanks.

Chandni
on 10/23/16, 2:35 AM
0
santhosh
On 6/24/16, 1:42 AM

Hi,

Could you help me on this,

how did you resolved this issue i m also facing this issue

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 12/2/14, 2:39 AM
Seen: 3418 times
Last updated: 6/24/16, 1:42 AM