Account Invoice Export
account_invoice_export · OCA/edi
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 6 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
2 models
4 views
0 HTTP endpoints
Description
The goal of this module is to allow sending invoices in different format to external systems.
It extends the module account_invoice_transmit_method, adding options to configure an url and credentials (Basic Authentication). In the UI a new button Send ebill send the invoice pdf to the configure url.
The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
exception_sending_invoice |
exception_sending_invoice | ir.ui.view | qweb | New |
transmit_method_form |
Transmit Method Form view Export | transmit.method | form | Inherits account_invoice_transmit_method.transmit_method_form |
view_invoice_tree |
account.move | tree | Inherits account.view_invoice_tree | |
view_move_form |
Account Invoice Export on Invoice form view | account.move | form | Inherits account.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
invoice_export_confirmedBooleancopy=False -
invoice_exportedBooleancopy=False -
send_through_httpBooleanrelated='transmit_method_id.send_through_http'
-
export_invoice(self) -
log_error_sending_invoice(self, values)Log an exception in invoice's chatter when sending fails. If an exception already exists it is update otherwise a new one is created. -
log_success_sending_invoice(self)Log success sending invoice and clear existing exception, if any.
New fields (5)
-
destination_pwdCharcopy=Falsestring='Password' -
destination_urlCharstring='Url' -
destination_userCharcopy=Falsestring='User' -
export_connection_timeoutIntegerdefault=10help='Timeout in seconds, use 0 (zero) for no timeout.'string='Connection timeout' -
send_through_httpBooleanhelp='Adds a Send eBill button on the invoice'string='Enable send eBill'
-
get_transmission_http_header(self)Generate the HTTP header needed by the transmission method. For now only basic authentication is implemented. -
get_transmission_url(self)Returns the base url used to export. Override it to add variable parameters.
Loading…
Loading…
Loading…
Loading…
Loading…