diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py index 7626bd3c51b..5d4fd21ef15 100644 --- a/addons/document/__openerp__.py +++ b/addons/document/__openerp__.py @@ -26,7 +26,7 @@ 'category': 'Generic Modules/Others', 'description': """This is a complete document management system: * User Authentication - * Document Indexation + * Document Indexation :- .pptx and .docx files are not support in windows platform. ATTENTION: - When you install this module in a running company that have already PDF files stored into the database, diff --git a/addons/document/std_index.py b/addons/document/std_index.py index 4979c05a17d..2f2f2094bc3 100644 --- a/addons/document/std_index.py +++ b/addons/document/std_index.py @@ -57,6 +57,7 @@ class PptxIndex(indexer): return ['.pptx'] def _doIndexFile(self,fname): + # pptx2txt.pl package not support in windows platform. # Download pptx2txt package from http://sourceforge.net/projects/pptx2txt/" link. # To install this tool, just copy pptx2txt.pl to appropriate place (e.g. /usr/bin directory) fp = Popen(['pptx2txt.pl', fname], shell=False, stdout=PIPE).stdout @@ -88,6 +89,7 @@ class DocxIndex(indexer): return ['.docx'] def _doIndexFile(self,fname): + # docx2txt.pl package not support in windows platform. # Download docx2txt package from "http://sourceforge.net/projects/docx2txt/" link. # In case, you don't want to use Makefile for installation, you can follow these steps for manual installation. # Copy docx2txt.pl, docx2txt.sh and docx2txt.config to appropriate place (e.g. /usr/bin directory) . used following command.