-
-
Notifications
You must be signed in to change notification settings - Fork 308
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][MIG] account_invoice_import: Migration to 16.0 #1064
Draft
V3st1g3
wants to merge
126
commits into
OCA:16.0
Choose a base branch
from
V3st1g3:16.0-mig-account_invoice_import
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.
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
FIX raise error when we don't identify a partner Update README
…+ instructions OCR
Rename test/pdf/ to test/invoices/ to host XML invoices too
… total untaxed (depends on invoice layout)
PEP8 stuff
…invoice_zugferd (see README.rst for more info) Move the ZUGFeRD/CII-specific code of account_invoice_import to account_invoice_import_zugferd
Disable test of invoice2data, because this lib is difficult to install
Add support for UBL refunds If you have an UBL refund that I could use to test, please contact me !
Convert YAML test to unittest
…edicated module account_invoice_import_invoice2data Update README.rst and headers to latest OCA conventions.
Better key names in the parsed_inv dict parsed_inv doesn't need to be JSON serializable anymore (small drawback: the invoice is parsed a second time on the second step... but the second step is rarely used)
Move code from account_invoice_import_invoice2data to account_invoice_import
Update REAME and some interface strings about UBL being an ISO standard Small code changes
…voice dict, cleaner organisation) Code refactoring: move code in base_business_document_import, factorise code for tax matching (it was duplicated in UBL and ZUGFeRD) Now support PDF with embedded UBL XML file Enable unittests on account_invoice_import_ubl More absolute xpath in account_invoice_import_ubl instead of relative xpath WARNING: these are big changes, I may have broken a few details
Adapt module account_invoice_import_ubl to use the new base_ubl module Small fixes
Add unitests in base_business_document_import Small code enhancements/simplifications
Code cleanup/minor changes
Currently translated at 94.3% (100 of 106 strings) Translation: edi-14.0/edi-14.0-account_invoice_import Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import/fr/
Currently translated at 96.4% (136 of 141 strings) Translation: edi-14.0/edi-14.0-account_invoice_import Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import/nl/
* do not spoil emails * message_id is enough to find the msg in Odoo * no need to be so verbose on where it happened since the logger name is precise
You can now set a specific journal, either via the account.invoice.import.config or by the pivot dict. Fix setting invoice_date_due via pivot dict. Improve multi-company handling in tests. Add test for setting journal via pivot dict. Add more checks in test.
Implement what is described in issue OCA#610: - account_invoice_import_simple_pdf and account_invoice_import_invoice2data can now be use d together - when importing an invoice for an unknown partner, it creates an empty invoice with PDF a s attachment - when importing an invoice via mail gateway and the from email is set on a partner that doesn't have any import config, create a supplier invoice with PDF as attachment and with that partner - when importing an invoice via mail gateway and the from email is set on a partner that has a single-line import config, create a supplier invoice with PDF as attachment, that partner and 1 invoice line with price_unit=0.
FIX import of XML files via mail gateway FIX attachment number in logs
Currently translated at 94.3% (100 of 106 strings) Translation: edi-14.0/edi-14.0-account_invoice_import Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import/fr/
* line notes * section headers * narration fields
Currently translated at 93.1% (135 of 145 strings) Translation: edi-14.0/edi-14.0-account_invoice_import Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import/nl/
The method get_invoice_line_account() was removed from the "account" module in odoo v13. So we now use the underlying method get_product_accounts() Fixes bug OCA#572
Currently translated at 100.0% (145 of 145 strings) Translation: edi-14.0/edi-14.0-account_invoice_import Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import/fr/
In the supplier invoice tree view, when the user clicks on the "Upload" button at the top of the tree view, he now uses the OCA invoice import wizard instead of the native feature from the 'account' module.
Currently translated at 100.0% (145 of 145 strings) Translation: edi-14.0/edi-14.0-account_invoice_import Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import/es/
Add support for discount on lines in the multi-line create scenario
V3st1g3
force-pushed
the
16.0-mig-account_invoice_import
branch
from
November 8, 2024 15:12
57c161f
to
a8f10a7
Compare
V3st1g3
force-pushed
the
16.0-mig-account_invoice_import
branch
from
November 8, 2024 15:14
a8f10a7
to
2fd8464
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.
No description provided.