-
-
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
account_invoice_import: use native odoo invoice email hook #566
Comments
I like the idea! Some are quite complex. Some functions can be handled on core now? |
This is the thing that run on new message on invoice :
|
Have you seen this? #246 |
You mean this module : https://github.com/OCA/edi/tree/14.0/edi_oca But then account_invoice_import should provide components for edi_oca to process documents. I really like this separation between getting/sending docs and processing them. I'm tagging @simahawk regarding the new backend type. |
There are 2 different things here:
Point one is the main subject of this issue. For integrating them, you can reuse all their features (maybe some little changes / fixes required) in a glue module as I did here for sale_order_import https://github.com/OCA/edi/blob/14.0/edi_sale_order_import/components/process.py -> reuse the same wizard. See also my comment here #246 (comment) |
To answer your question regarding the backend type: it should be done per macro area (eg: standard/format). |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Odoo provide some hook to plug email invoice decoder
https://github.com/odoo/odoo/blob/540dc692495928fedb297d5b0f2a31ddfd590976/addons/account/models/account_move.py#L3468
I was wondering why not using them to plug mail invoices into this module.
What do you think of this ?
I may carry on some work on this to have native integration.
The text was updated successfully, but these errors were encountered: