From ed5e8a4d820fee1052d56130cbaa469da179b319 Mon Sep 17 00:00:00 2001 From: Broken Stone Date: Fri, 26 May 2017 09:22:41 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=A2=9E=E5=8A=A0=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=EF=BC=9B2=E3=80=81=E4=BF=AE=E5=A4=8Dodoo10?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=E5=AF=BC=E5=85=A5excel=E6=97=B6=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E5=87=BA=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 10.0/Dockerfile | 3 ++- 10.0/README.txt | 12 ++++++++++++ README.md | 14 ++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 10.0/README.txt diff --git a/10.0/Dockerfile b/10.0/Dockerfile index 11940ed..5100e8a 100644 --- a/10.0/Dockerfile +++ b/10.0/Dockerfile @@ -19,7 +19,8 @@ RUN set -x; \ && apt-get -y install -f --no-install-recommends \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \ && rm -rf /var/lib/apt/lists/* wkhtmltox.deb \ - && pip install psycogreen==1.0 + && pip install psycogreen==1.0 \ + && pip install xlrd==1.0.0 # Install Odoo ENV ODOO_VERSION 10.0 diff --git a/10.0/README.txt b/10.0/README.txt new file mode 100644 index 0000000..e30f123 --- /dev/null +++ b/10.0/README.txt @@ -0,0 +1,12 @@ + +基于官方Docker修改,修复或增强以下功能: + + +1、升级xlrd到1.0.0版,以解决导入excel文件时中文出错(UnicodeEncodeError: 'ascii' codec can't encode characters in position...) +升级办法: +在Docker中第22行 + && pip install psycogreen==1.0 +后面增加 + && pip install xlrd=1.0.0 + + diff --git a/README.md b/README.md index 6799328..5e95ac8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ +这是从官方fork的odoo镜像,对实际使用中遇到的情况进行了修复或增强。 + +使用方法请参看[官方说明](https://hub.docker.com/_/odoo/). +---------- +康虎软件工作是一家提供odoo实施、顾问服务,专业web打印解决方案的软件工作室。我工作室提供的康虎云报表系统可以让浏览器打印达到C/S系统打印的效果和体验。 + +QQ:360026606 微信: 360026606 + + +============================== +以下是官方原始说明: + + + About this Repo ======