summaryrefslogtreecommitdiff
path: root/addons/document/models
AgeCommit message (Collapse)Author
2018-12-06[REF] document, attachment_indexation: renames the module documentThanhDodeurOdoo
This commit renames the module document into attachment_indexation to provide a more descriptive name and avoid confusion with enterprise's documents module. task: #1908896
2017-08-20[FIX] P3: bytes.startswith(bytes)Xavier Morel
2017-08-20[FIX] P3: text model typesXavier Morel
* remove references to basestring & unicode (use relevant pycompat helpers) * remove some str calls (either entirely or replaced by relevant helper, either text or native) * use better API to avoid unnecessary conversions * remove some XML declarations in views
2017-08-20[FIX] P3: fix base64 and StringIO usesXavier Morel
* StringIO removed from stdlib, replace with io * try to correctly handle BytesIO/StringIO (one is for bytes the other is for text) * fix base64: Python 3 removed bytes-encoding and bytes-bytes codecs (via #encode) so replace all calls to str.encode('base64'), also b64encode is a bytes->bytes conversion so attempt to properly handle that issue #8530
2017-05-12[FIX] P3: replace PyPDF by PyPDF2xmo-odoo
PyPDF is unmaintained and abandoned (as noted on its home page http://pybrary.net/pyPdf/) and was never updated to Python 3. PyPDF2 is a fork which provides a mostly compatible API and is P3-compatible. Replace PyPDF by PyPDF2.
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2016-07-11[MIG] document: Migrated to new API.Ravi Patel
2016-05-13[IMP] document: indexation of MS documentsNicolas Martinelli
Commit 3ced0ff61 removed the support of Microsoft documents for indexation. It makes sense for the old formats such as '.doc' since it requires an external tool ('antiword'), which could lead to a security issue. However, the new formats such '.docx' are simple xml files, therefore they could be indexed with the usual XML parsing tools. opw-677235
2015-07-12[REM] document directoriesAntony Lesuisse
Keeping the attachments widget on form views and document indexation (currently limited to pdf/odt).