Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Install a lib xlrd module in my Pyhton datebase on my Synology NAS

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
pythonnassynologyopenxlrd
6 Trả lời
13803 Lượt xem
Ảnh đại diện
MetAandacht

Hello People,  I need to install the "lib xlrd" for my OpenErp 7.0 system so I can install de the "bank_statement_module".

I don't now what I am doing rong!

1. I installed the Putty for my windows 7 machine 

2. I configured my Synology NAS for a terminal connection including the firewall setting

3. I start-up a connection with Putty between my windows 7 machine and my Synology NAS

4. I downloaded the xlrd module on the Python website

5. I tried to install the module but it doesn't work! :-(

I used different kind of actions like

"sudo apt-get update"

"sudo apt-get upgrade"

"sudo apt-get install xlrd"

But I get all the time a massage like "Not found"

Please good some one help my?

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

Extract the downloaded package and use this comment to install: sudo python setup.py install

More info here...

1
Ảnh đại diện
Huỷ bỏ
MetAandacht
Tác giả

Dear Dhinesh, I am in the root folder of the synology NAS I use. But do not now where I have to download the package so I can comment it in Putty to install. Do you maby no where i can find this, I am searching for 4 hours on the internet but I see no answer. I hope to here you soon. Kind regards, Remco Willekus

Ảnh đại diện
Jan-Paul Theunissen
Câu trả lời hay nhất

Dear Synology users,

This answer is directly targeting those of you who'd like to use OpenERP on a Synology NAS server.

I've gone through substantial efforts to get to the bottom of certain issues with the combination of OpenERP7.x with a Synology server. In this posting I'd like to give you a heads-up on some of the most "crucial" elements one has to think about when (or before deciding if) starting to customise the standard OpenERP installation:

1. By default only a "limited" set of modules are available on a standard OpenERP installation on a syno Box. If a user want to add more modules this is quite well possible but one needs to have some knowledge of SSH and command line syntax to do this succesfully. More about this later (see Ad 1. section).

2. If Python needs additional modules (like xlrd), this will require adding the python code to OpenERP7.x's "modules" directory (this is located in the following path on a Synlogy box: /volume1/@appstore/OpenERP7.x/openerp/modules. This is completely different from adding a "module" through OpenERP7.x directly and also completely different from adding a library like xlrd to Python.

Ad 1.

  1. To add "non-standard" modules first download whatever module you'd like to add to your Mac/PC and,

  2. unzip/untar the downloaded file (for those of you adventurous enough, obviously you can also do the unzipping/untar-ing on the box)

  3. now copy the unzipped folder (whole directory) to your Synology NAS (I'll assume you copy it using your web-interface to /volume1/homes/admin (the main admin directory)

  4. access your Syno box via SSH and enter the following command (adapt the paths to the locations you have used)

  5. cp -R /volume1/homes/admin/name_of_directory_with_OpenERP7_module /volume1/@appstore/OpenERP7.x/openerp/addons 
  6. Check if the new module "landed" in the correct spot

  7. ls -la /volume1/@appstore/OpenERP7.x/openerp/addons/name_of_directory_with_OpenERP7_module 
  8.  The response should be a listing of the contents of the directory you just added. If you get an error (directory does not exist or something, please make sure the paths you entered were correct)

  9. The last thing you need to do is to change the owner of the new files in the module
    (by default any file for OpenERP7.x is owned by http and the group http

  10. chown -R http:http /volume1/@appstore/OpenERP7.x/openerp/addons/name_of_directory_with_OpenERP7_module 
  11. Now you can reload the modules in OpenERP "Update Modules list" from within OpenERP (in "settings" menu)

Ad 2. To add a library/module like xlrd (which is required for a module like for instance "Swiss bank statements import" for OpenERP7.x, the following steps need to be executed:

  1. Download the library/module https://pypi.python.org/pypi/xlrd and unpack the package on local HD

  2. Copy the contents of the package to the Synology. Copy it to any location of the user's desire (I'll assume /volume1/homes/admin/xlrd-0.9.3, using rsync via SSH or just drag and drop via web interface)

  3. cd /volume1/homes/admin/xlrd-0.9.3
    python setup.py install
  4. The above commands will add the module to Python but still not available to OpenERP7.x. It took me a while to realise this so I'm hoping this line will help you go the next steps. So if you're not quite feeling satisfied, read on...

  5. In order for OpenERP7.x to be able to use 'xlrd' copy a file called 'runxlrd.py' into the modules directory (located at: /volume1/@appstore/OpenERP7.x/openerp/modules

  6. cp /volume1/homes/admin/xlrd-0.9.3/scripts/runxlrd.py /volume1/@appstore/OpenERP7.x/openerp/modules
  7. Now xlrd will be accessible to OpenERP7.x but OpenERP may require a reboot (this you can do via the package manager (stop/start) or using a command like this:

  8. su -s /bin/sh -m -c "/volume1/@appstore/OpenERP7.x/bin/openerp-server --config=/volume1/@appstore/OpenERP7.x/openerp-server.conf --addons-path=/volume1/@appstore/OpenERP7.x/openerp/addons/ --logfile=/volume1/@appstore/OpenERP8.x/logs/server.log" http 

 All done, hope this helps.

Happy OpenERP-ing! 

Cheers Jappie




0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
MetAandacht
Tác giả Câu trả lời hay nhất

Dear Dhinesh, Thank you very much for your time so far.

I do not now how and where I have to extract the Package.

I use a Synology server connected with Putty.

I hope this is enough information.

kind regards, Remco Willekus

 

 

 

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

you can also try like this:

sudo apt-get install python-pip
sudo pip install xlutils  

-> xlutils contains xlrd and xlwt (libraries for reading xls files : xlrd , and for writing xls file: xlwt)

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

Synology linux is a very customized version of linux. The usual linux command language doesn't work. The directory structure is also very special. Adding libraries is possible but difficult and can give conflicts. Starting with synology installed openerp version is easy but it is only nice to play with. I have tried it for more than a year and couldn' t make it functional and stable for my business environment. The community is not familiar enough with this combination. You are on your own. Anyway i didn't succeed in it. And i have put everything on hold waiting for more interest in the community for this.

0
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Exception: Please install python lib xlrd NAS Synology
python synology xlrd
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 3 15
8699
Installing Odoo 8.0 to Synology NAS
nas synology odoo8
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 12 15
19170
SyntaxError: JSON.parse: unexpected end of data at line 2 column 1 of the JSON data
nas synology json
Ảnh đại diện
0
thg 10 15
8806
openerp 7.0 on synology nas 713+
nas synology ds713+
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
6
thg 3 15
16048
Hardware requirements - NAS vs 'real' Server Đã xử lý
nas synology hardware
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
5
thg 12 23
32399
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now