Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
6266 มุมมอง

Hello All,

I tried to install jasper report on my Odoo server (Version 8.0rc1) but got an error saying error like this,

 OpenERP server error

ImportError No module named osv

Can anyone help me to resolve this?

Thank You.. :)

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Use this as repo:  https://github.com/andrea4ever/Jasperv8

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Please help me in this,

I tried to import jasper_report package in parser file 

It is showing 

File "/opt/.........../report/parser.py", line 26, in <module>

import jasper_reports

ImportError: No module named jasper_reports

Pleas can any one help me in this ..... I am using odoo 8, I downloaded jasper_reports for odoo8 from odoo community.


Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Madura,

I was also looking for a module in Odoo but didn't find anything. I've managed to install the module by changing the import clause from:

import osv ->To ->from openerp import osv

This is the new way of importing some of the openerp classes, so if you have this problem you can solve it like this.

This installs you the module in Odoo but i'm still having problems by importing a new jrxml template, this is because openerp 7 (and older) uses a function of netsvc which is not longer available. I'm currently trying to solve this.

Bye!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to use Jasper Reports for OpenERP? แก้ไขแล้ว
5
ม.ค. 24
15946
1
ก.ย. 22
3145
1
พ.ค. 18
3616
2
มิ.ย. 17
125
1
ธ.ค. 23
1868