-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][ADD] account_edi_simple_pdf #1091
Open
hbrunn
wants to merge
67
commits into
OCA:16.0
Choose a base branch
from
hbrunn:16.0-account_edi_simple_pdf
base: 16.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This new module is an improved alternative to the module account_invoice_import_invoice2data. Refer to README for more information.
Make pre-commit green
…urences of cut string Add tests on string cut method
…e VAT number of the customer
Before this fix, Page Analysis was always "First page" in the code. FIX on view inheritance to avoid access right issues
Support combining accent letters Support bad accent extraction of mupdf on invoices such as Free mobile
Migration scripts provided
Use getattr to find the method which parses a particular field, as suggested by Graeme Gellatly
…sition_max Add list of fields on search_read() to improve perf
…instead of pip To goal: make travis green!
Add test for apostrophe as thousand separator
Add tests such as "July 14th, 2022" and "1er Janvier 2022"
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: edi-14.0/edi-14.0-account_invoice_import_simple_pdf Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_simple_pdf/
Add a hook to easily inherit the module account_invoice_import_simple_pdf to match partners on fields other than "vat". For example, the module l10n_fr_account_invoice_import_simple_pdf takes advantage of this hook to match partners on SIREN (French identification number for companies).
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: edi-14.0/edi-14.0-account_invoice_import_simple_pdf Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_simple_pdf/
Currently translated at 100.0% (145 of 145 strings) Translation: edi-14.0/edi-14.0-account_invoice_import_simple_pdf Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_simple_pdf/fr/
Add a tests for this new type.
Issue reported here OCA#544 is fixed in recent version of dateparser
Add pypdf text extraction backend Update README for pypdf, and also for the fact that PyMuPDF is now easy to install Remove embedded XML file from PDF test file tests/pdf/akretion_france-test.pdf !
Currently translated at 77.9% (113 of 145 strings) Translation: edi-14.0/edi-14.0-account_invoice_import_simple_pdf Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_simple_pdf/es/
Currently translated at 100.0% (145 of 145 strings) Translation: edi-14.0/edi-14.0-account_invoice_import_simple_pdf Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_simple_pdf/es/
pdfplumber depends on Pillow >= 9.1, whereas Odoo v14 depends on Pillow==8.1.1. This causes python dependency issues. So, to make it easier to deploy the module account_invoice_import_simple_pdf, I decided to remove the support for pdfplumber. Since october 2023, we have support for pypdf, which is also a pure-python lib and doesn't depend on additional python libs, so it's kind of a replacement for pdfplumber.
…f dateparser and regex
hbrunn
force-pushed
the
16.0-account_edi_simple_pdf
branch
from
December 4, 2024 18:06
d8595c1
to
772657b
Compare
hbrunn
force-pushed
the
16.0-account_edi_simple_pdf
branch
from
December 4, 2024 20:21
e63190f
to
5b30e74
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this is the v14 account_invoice_simple_pdf code yanked and integrated with Odoo's version of edi parsing.
For details see #959