[19.0][MIG] base_business_document_import: Migration to 19.0#1315
Conversation
…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
Better generation of address block in UBL (make it coherent with the datamodel of Odoo) Add generation of several UBL blocks: language, delivery, payment terms, customer party, spplier party Add parsing of zip in UBL party (will be used in the future for delivery partner match)
Use country code and state code to match partners UBL: Add delivery terms and line item UBL XML block generation UBL: add parsing of delivery block
Add unitests in base_business_document_import Small code enhancements/simplifications
Code cleanup/minor changes
Rename key 'quantity' to 'qty' in all parsing dicts['lines'] Add common methods compare_lines() and post_create_or_update() Make sure price_unit is always untaxed in UBL XML files
Add support for partner bank matching on invoice update (before, it was only supported on invoice creation)
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
Rename __openerp__.py to __manifest__.py and set installable to False
Add match for accounts and journals
Improve match for journals and accounts
Also port all the modules that generate the XML documents: account_invoice_ubl, account_invoice_zugferd, purchase_order_ubl and sale_order_ubl
Note: it requires this fix on odoo 10: odoo/odoo#15649
… module Fix spelling mistake and other remarks on README by Tarteo
…o v10.0 base_business_document_import: Add support for the creation of res.bank
Add support for insertion of title in error messages
Add method to create SO in sale.order.import accessible via JSON-RPC
force_company ctx key is deprecated and fallsback to env.company.
The given seller it's a partner: use it properly.
When wrapping the error was still using the seller.name relation which does not exists anymore.
…andling Add raise_exception argument in several methods Avoid double entries in chatter
Currently translated at 100.0% (40 of 40 strings) Translation: edi-18.0/edi-18.0-base_business_document_import Translate-URL: https://translation.odoo-community.org/projects/edi-18-0/edi-18-0-base_business_document_import/it/
098e9ab to
6460ac2
Compare
cf26afa to
7e4b4ac
Compare
7e4b4ac to
59428b0
Compare
|
Hello @MohamedOsman7 can you pls take a look? |
MohamedOsman7
left a comment
There was a problem hiding this comment.
Some commits can be sqashed (guide: https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate)
Otherwise: Code Review LGTM
I've squashed administrative and translation commits where possible. |
|
Hello @OCA/edi-maintainers can you pls take a look and possibly merge? |
|
/ocabot merge nobump |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 2f896c3. Thanks a lot for contributing to OCA. ❤️ |
Depends on: