You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[account_invoice_import](account_invoice_import/) | 14.0.3.3.2 | [](https://github.com/alexis-via) | Import supplier invoices/refunds as PDF or XML files
Beware that *PyMuPDF* is not a pure-python library: it uses MuPDF, which is written in C language. If a python wheel for your OS, CPU architecture and Python version is available on pypi (check the `list of PyMuPDF wheels <https://pypi.org/project/PyMuPDF/#files>`_ on pypi), it will install smoothly. Otherwize, the installation via pip will require MuPDF and all its development libs to compile the binding.
98
98
@@ -109,7 +109,7 @@ and then install the lib via pip:
109
109
110
110
.. code::
111
111
112
-
sudo pip3 install --upgrade pdftotext
112
+
pip3 install --upgrade pdftotext
113
113
114
114
On OSes other than Debian/Ubuntu, follow the instructions on the `project page <https://github.com/jalan/pdftotext>`_.
115
115
@@ -129,7 +129,7 @@ To install the **pypdf** python lib, run:
129
129
130
130
.. code::
131
131
132
-
sudo pip3 install --upgrade pypdf
132
+
pip3 install --upgrade pypdf
133
133
134
134
135
135
Other requirements
@@ -144,20 +144,14 @@ The dateparser lib depends itself on regex. So you can install these Python libr
144
144
145
145
.. code::
146
146
147
-
sudo pip3 install --upgrade dateparser
147
+
pip3 install --upgrade dateparser
148
148
149
-
The dateparser lib is not compatible with all regex lib versions. As of September 2022, the `version requirement <https://github.com/scrapinghub/dateparser/blob/master/setup.py#L30>`_ declared by dateparser for regex is **!=2019.02.19, !=2021.8.27, <2022.3.15**. So the latest version of regex which is compatible with dateparser is **2022.3.2**. To know the version of regex installed in your environment, run:
149
+
The dateparser lib is not compatible with all regex lib versions. As of February 2024, the `version requirement <https://github.com/scrapinghub/dateparser/blob/master/setup.py#L36>`_ declared by dateparser for regex is **!=2019.02.19, !=2021.8.27**. So the latest version of dateparser is currenly compatible with the latest version of regex. To know the version of regex installed in your environment, run:
<p><aclass="reference external image-reference" href="https://odoo-community.org/page/development-status"><imgalt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a><aclass="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><imgalt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a><aclass="reference external image-reference" href="https://github.com/OCA/edi/tree/14.0/account_invoice_import_simple_pdf"><imgalt="OCA/edi" src="https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github" /></a><aclass="reference external image-reference" href="https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_simple_pdf"><imgalt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a><aclass="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=14.0"><imgalt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
372
<p>This module is an extension of the module <em>account_invoice_import</em>: it adds support for simple PDF invoices i.e. PDF invoice that don’t have an embedded XML file. This module has been developped to solve the drawbacks of the OCA module <strong>account_invoice_import_invoice2data</strong> ; its advantages are the following:</p>
<p>Beware that <em>PyMuPDF</em> is not a pure-python library: it uses MuPDF, which is written in C language. If a python wheel for your OS, CPU architecture and Python version is available on pypi (check the <aclass="reference external" href="https://pypi.org/project/PyMuPDF/#files">list of PyMuPDF wheels</a> on pypi), it will install smoothly. Otherwize, the installation via pip will require MuPDF and all its development libs to compile the binding.</p>
<p>On OSes other than Debian/Ubuntu, follow the instructions on the <aclass="reference external" href="https://github.com/jalan/pdftotext">project page</a>.</p>
<p>The dateparser lib depends itself on regex. So you can install these Python libraries via pip with the following command:</p>
481
480
<preclass="code literal-block">
482
-
sudo pip3 install --upgrade dateparser
481
+
pip3 install --upgrade dateparser
483
482
</pre>
484
-
<p>The dateparser lib is not compatible with all regex lib versions. As of September 2022, the <aclass="reference external" href="https://github.com/scrapinghub/dateparser/blob/master/setup.py#L30">version requirement</a> declared by dateparser for regex is <strong>!=2019.02.19, !=2021.8.27, <2022.3.15</strong>. So the latest version of regex which is compatible with dateparser is <strong>2022.3.2</strong>. To know the version of regex installed in your environment, run:</p>
483
+
<p>The dateparser lib is not compatible with all regex lib versions. As of February 2024, the <aclass="reference external" href="https://github.com/scrapinghub/dateparser/blob/master/setup.py#L36">version requirement</a> declared by dateparser for regex is <strong>!=2019.02.19, !=2021.8.27</strong>. So the latest version of dateparser is currenly compatible with the latest version of regex. To know the version of regex installed in your environment, run:</p>
0 commit comments