-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
[14.0][MIG] account_invoice_import #387
[14.0][MIG] account_invoice_import #387
Conversation
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
Add support for partner creation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - but maybe link in the description to the example of the mass import bash script.
# nothing when there is no attachment or when the attachment | ||
# fails to import or when the invoice is already created | ||
# So, for the moment, we leave it like that... | ||
# If you have a better idea, please suggest! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've implemented the obvious solution here: akretion#4, letting this model inherit from mail.thread, and it works. Maybe you have considered it before, and there may be good reasons not to use it that I've missed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking it! I see now that I did not remove this comment in the proposed PR. Can you squash that in somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And a rebase while you are at it, to squash out the merge commit from my intermediate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@rconjour I added a note about it via USAGE.rst |
8b01db7
to
a1de6ab
Compare
I see the PR is approved, can it be merged @StefanRijnhart ? |
@mylbco a merge commit still needs to be squashed out. |
a1de6ab
to
3b62bd2
Compare
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 9a06de1. Thanks a lot for contributing to OCA. ❤️ |
No description provided.