Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
5426 Lượt xem

I found a community module for reports called cubic reports.When I start to import that i got error called

from geraldo.utils import cm ImportError: No module named geraldo.utils.

Can any one help me over come this issue

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Install Cubic Reports

  1. Download the module from https://www.openerp.com/apps/7.0/report_geraldo/

  2. Install it from “Local Modules” menu in OpenERP

Install and patch Geraldo Reports Library

$ sudo easy_install Geraldo

$ cd /usr/local/lib/python2.7/dist-packages/

$ cd Geraldo-0.4.17-py2.7.egg/

$ sudo mv geraldo geraldo.bk

$ sudo ln -s /opt/openerp/addons/report_geraldo/lib/geraldo/geraldo geraldo

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

In side the Geraldo file that you downloaded from  "https://pypi.python.org/pypi/Geraldo" there is a file named "geraldo" in windows copy it to "C:\Program Files (x86)\OpenERP 7.0\Server" i had the same issued and it fixed it



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Refer this link will help you

link

Or

Try this command >> pip install Geraldo

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Still have the same problem after trying Dhinesh or Panchal directions.  
Any other suggestions is appreciated.

 

 

 

Ảnh đại diện
Huỷ bỏ