Supplier FatturaPA - Notifications
l10n_it_fatturapa_in_notifications · OCA/l10n-italy
-
Security25/25No findings
-
Activity0/25Last human commit 123 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 11.0: the workflow engine (`trg_validate`) was removed: rewrite as state-field transitions. migration-workflow-call · source
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountInvoice— Class 'AccountInvoice' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceAccountInvoice— Class 'AccountInvoice' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceFatturaPANotification— Class 'FatturaPANotification' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourceFatturaPANotification— Class 'FatturaPANotification' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceImportNotification— Class 'ImportNotification' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceImportNotification— Class 'ImportNotification' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceSendAcceptNotification— Class 'SendAcceptNotification' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourceSendAcceptNotification— Class 'SendAcceptNotification' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (4 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3
================================ Supplier FatturaPA Notifications
This module handles SDI notifications related to supplier invoices (fatturaPA). See http://fatturapa.gov.it/export/fatturazione/it/b-2.htm
Usage
Within 'fatturaPA' tab of supplier invoice form, you can click on 2 buttons:
- Accept fatturaPA
- Reject fatturaPA This allows to generate the 'notifica esito committente' message http://fatturapa.gov.it/export/fatturazione/sdi/messaggi/v1.0/IT01234567890_11111_EC_001.xml
Bug Tracker
Bugs are tracked on GitHub Issues <https://github.com/OCA/l10n-italy/issues>. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback <https://github.com/OCA/ l10n-italy/issues/new?body=module:%20 l10n_it_fatturapa_in_notifications%0Aversion:%20 7.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>.
Credits
Contributors
- Lorenzo Battistini lorenzo.battistini@agilebg.com
Maintainer
.. image:: http://odoo-community.org/logo.png :alt: Odoo Community Association :target: http://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.
Dependencies
- Odoo dependencies
- Python dependencies
- pyxb
- System dependencies
- None
- Required by
- None
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 |
|---|---|---|---|---|
view_fatturapa_in_attachment_form |
fatturapa.attachment.in.form | fatturapa.attachment.in | form | Inherits l10n_it_fatturapa_in.view_fatturapa_in_attachment_form |
view_invoice_form_fatturapa_in |
account.invoice.fatturapa_in | account.invoice | form | Inherits l10n_it_fatturapa_in.view_invoice_form_fatturapa_in |
wizard_fatturapa_in_accept |
Accept fatturaPA | wizard.fatturapa.in.accept | form | New |
wizard_fatturapa_in_reject |
Reject fatturaPA | wizard.fatturapa.in.reject | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
No new fields.
Public methods (2)-
action_cancel_draft(self, cr, uid, ids, *args) -
action_cancel_reject(self, cr, uid, ids, context=None)
No new fields.
Public methods (2)-
generate_next_notification_number(self, cr, uid, fatturapa_att, context=None) -
is_number_present(self, fatturapa_att, number)
No new fields.
Public methods (2)-
create_notifica_esito_committente(self, cr, uid, ids, invoice, esito='EC01', description=False, context=None)It creates 'notifica di esito committente' notification and links it to fatturaPA attachment 'esito' can be - EC01 (vale Accettazione) - EC02 (vale Rifiuto) -
save_notification_xml(self, cr, uid, ids, xml, file_name, invoice_type='supplier', context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
send(self, cr, uid, ids, context=None)
No new fields.
Public methods (1)-
send(self, cr, uid, ids, context=None)