FatturaPA - Notifications
l10n_it_fatturapa_notifications · OCA/l10n-italy
-
Security25/25No findings
-
Activity0/25Last human commit 123 months ago
-
Required by15/251 module depends 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 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
FatturaPANotification— 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. 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=`. 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 `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_fatturapa_notification_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.l10n_it_fatturapa.bindings`) 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
======================= FatturaPA Notifications
The module handles notifications linked to fatturaPA files. http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-3.htm?l=en http://www.fatturapa.gov.it/export/fatturazione/it/b-2.htm?l=it
Usage
The module adds 'fatturapa.notification' model and exposes 'parse_xml' method to be called by other modules. It also adds the 'Import notification' wizard that allows to load XML notification files and link them to fatturaPA
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_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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_fatturapa_notification_form |
view_fatturapa_notification_form | fatturapa.notification | form | New |
view_fatturapa_notification_tree |
view_fatturapa_notification_tree | fatturapa.notification | tree | New |
wizard_fatturapa_import_notification |
Import notification | wizard.fatturapa.import.notification | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (2)-
get_file_identifier(self, file_name)Accepts file name and produces file identifier, without file extension See 2.2 at http://www.fatturapa.gov.it/export/fatturazione/sdi/Specifiche_tecniche_SdI_v1.1.pdf -
save_notification_xml(self, cr, uid, ids, xml, file_name, invoice_type='supplier', context=None)IT accepts an XML string and creates a related 'fatturapa.notification' record file_name must be in the form IT01234567890_11111_MT_001.xml invoice_type is used by derived modules Returns new record ID
No new fields.
Public methods (1)-
import_file(self, cr, uid, ids, context=None)