TIP: You can type at any time to perform a new search.
Related Documents for EDI
l10n_it_edi_related_document · OCA/l10n-italy
- Repository
- OCA/l10n-italy · module folder · Try on Runboat
- Module version
- 1.2.1
- Category
- Localization/Italy
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-italy
- Last tracking update
- 2026-08-07 08:42:51
- Authors
- Odoo Community Association (OCA), Nextev Srl
- Maintainers
- Odoo Community Association (OCA), Nextev Srl
- Committers
- micheledic, Simone Rubino, Weblate, OCA-git-bot, oca-ci, matteo.tognini, Marco Colombo, grosso-k-stesi, temuccio
- Odoo dependencies
- Python dependencies
- cryptography
- System dependencies
- None
- Required by
- l10n_it_riba_oca
- Description
**English** Module for managing the types of documents linked to invoices. The data related to the linked documents is then exported in the electronic invoice XML or imported during the creation of an invoice from an XML file. If a related document has 0 as the line reference, it means that it refers to the entire document and not to a specific invoice line. **Italiano** Modulo per la gestione dei tipi di documenti collegati alle fatture. I dati relativi ai documenti collegati vengono poi esportati nell'XML della fattura elettronica oppure importati durante la creazione di una fattura da XML. Nel caso in cui un documento collegato abbia 0 come riferimento linea, significa che è riferito all’intero documento e non ad una specifica linea della fattura.
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_form_related_document |
account.move.form.related.document | account.move | form | Inherits l10n_it_edi.account_invoice_form_l10n_it |
account_invoice_it_FatturaPA_export_inherit |
account_invoice_it_FatturaPA_export_inherit | ir.ui.view | qweb | Inherits l10n_it_edi.account_invoice_it_FatturaPA_export |
account_invoice_it_dati_documenti_correlati |
account_invoice_it_dati_documenti_correlati | ir.ui.view | qweb | New |
account_invoice_it_dati_documento_correlato |
account_invoice_it_dati_documento_correlato | ir.ui.view | qweb | New |
account_move_related_document_view_form |
Form view for related_document | account.move.related_document | form | New |
account_move_related_document_view_list |
Tree view for related_document | account.move.related_document | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (7)
-
l10n_it_cigCharinverse='_inverse_original_related_document_fields' -
l10n_it_cupCharinverse='_inverse_original_related_document_fields' -
l10n_it_origin_document_dateDateinverse='_inverse_original_related_document_fields' -
l10n_it_origin_document_nameCharinverse='_inverse_original_related_document_fields' -
l10n_it_origin_document_typeSelectioninverse='_inverse_original_related_document_fields' -
related_document_idsOne2many → account.move.related_documentcopy=False args: 'account.move.related_document', 'invoice_id' -
standard_related_document_idMany2one → account.move.related_documentcomodel_name='account.move.related_document'help='Technical field to store the document corresponding to standard fields'string='Standard Related Document'
-
create_related_document(self, invoice, rel_docs_dict) -
remove_redundant_values(self, values)
New fields (1)
-
related_document_idsOne2many → account.move.related_documentcopy=False args: 'account.move.related_document', 'invoice_line_id', 'Related Documents'
No public methods.
New fields (10)
-
cigCharsize=15 args: 'CIG Code' -
codeCharsize=100 args: 'Order Agreement Code' -
cupCharsize=15 args: 'CUP Code' -
dateDate -
invoice_idMany2one → account.moveindex=Trueondelete='cascade'readonly=True args: 'account.move', 'Related Invoice' -
invoice_line_idMany2one → account.move.lineindex=Trueondelete='cascade'readonly=True args: 'account.move.line', 'Related Invoice Line' -
lineRefIntegerargs: 'Line Ref.' -
nameCharrequired=Truesize=20 args: 'Document ID' -
numitemCharsize=20 args: 'Item Num.' -
typeSelectionrequired=True args: [('order', 'Order'), ('contract', 'Contract'), ('agreement', 'Agreement'), ('reception', 'Reception'), ('invoice', 'Related Invoice')], 'Document'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 195 days ago
- Last activity
- 41 days ago
- Repository
- OCA/l10n-italy
- Pull request
- [19.0][MIG] l10n_it_edi_related_document: Migration to 19.0 (#5084)