odoo-addon-l10n-it-edi-related-document 18.0.1.0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/l10n_it_edi_related_document/README.rst +95 -0
- odoo/addons/l10n_it_edi_related_document/__init__.py +26 -0
- odoo/addons/l10n_it_edi_related_document/__manifest__.py +21 -0
- odoo/addons/l10n_it_edi_related_document/data/invoice_it_template.xml +13 -0
- odoo/addons/l10n_it_edi_related_document/i18n/l10n_it_edi_related_document.pot +148 -0
- odoo/addons/l10n_it_edi_related_document/models/__init__.py +4 -0
- odoo/addons/l10n_it_edi_related_document/models/account_move.py +134 -0
- odoo/addons/l10n_it_edi_related_document/models/account_move_line.py +12 -0
- odoo/addons/l10n_it_edi_related_document/readme/CONTRIBUTORS.md +1 -0
- odoo/addons/l10n_it_edi_related_document/readme/DESCRIPTION.md +19 -0
- odoo/addons/l10n_it_edi_related_document/security/ir.model.access.csv +2 -0
- odoo/addons/l10n_it_edi_related_document/static/description/icon.png +0 -0
- odoo/addons/l10n_it_edi_related_document/static/description/index.html +441 -0
- odoo/addons/l10n_it_edi_related_document/tests/__init__.py +1 -0
- odoo/addons/l10n_it_edi_related_document/tests/import_xmls/IT01234567888_FPR01_02.xml +143 -0
- odoo/addons/l10n_it_edi_related_document/tests/test_import_xml.py +33 -0
- odoo/addons/l10n_it_edi_related_document/views/account_move_related_documents.xml +64 -0
- odoo/addons/l10n_it_edi_related_document/views/l10n_it_views.xml +37 -0
- odoo/addons/l10n_it_edi_related_document/views/related_document_views.xml +60 -0
- odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/METADATA +111 -0
- odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/RECORD +23 -0
- odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/WHEEL +5 -0
- odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<odoo>
|
|
3
|
+
<record id="account_invoice_form_related_document" model="ir.ui.view">
|
|
4
|
+
<field name="name">account.move.form.related.document</field>
|
|
5
|
+
<field name="model">account.move</field>
|
|
6
|
+
<field name="priority">20</field>
|
|
7
|
+
<field name="inherit_id" ref="l10n_it_edi.account_invoice_form_l10n_it" />
|
|
8
|
+
<field name="arch" type="xml">
|
|
9
|
+
<xpath
|
|
10
|
+
expr="//group[field[@name='l10n_it_origin_document_type']]"
|
|
11
|
+
position="attributes"
|
|
12
|
+
>
|
|
13
|
+
<attribute name="invisible">1</attribute>
|
|
14
|
+
</xpath>
|
|
15
|
+
<xpath expr="//page[@name='electronic_invoicing']" position="after">
|
|
16
|
+
<page
|
|
17
|
+
string="Related Documents"
|
|
18
|
+
name="related_document"
|
|
19
|
+
invisible="move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund') or country_code != 'IT'"
|
|
20
|
+
>
|
|
21
|
+
<field name="related_document_ids">
|
|
22
|
+
<list editable="bottom">
|
|
23
|
+
<field name="type" />
|
|
24
|
+
<field name="name" />
|
|
25
|
+
<field name="lineRef" />
|
|
26
|
+
<field name="date" />
|
|
27
|
+
<field name="numitem" />
|
|
28
|
+
<field name="code" />
|
|
29
|
+
<field name="cig" />
|
|
30
|
+
<field name="cup" />
|
|
31
|
+
</list>
|
|
32
|
+
</field>
|
|
33
|
+
</page>
|
|
34
|
+
</xpath>
|
|
35
|
+
</field>
|
|
36
|
+
</record>
|
|
37
|
+
</odoo>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<odoo>
|
|
3
|
+
<record id="account_move_related_document_view_list" model="ir.ui.view">
|
|
4
|
+
<field name="name">Tree view for related_document</field>
|
|
5
|
+
<field name="model">account.move.related_document</field>
|
|
6
|
+
<field name="arch" type="xml">
|
|
7
|
+
<list editable="bottom">
|
|
8
|
+
<field name="type" />
|
|
9
|
+
<field name="name" />
|
|
10
|
+
<field name="lineRef" />
|
|
11
|
+
<field name="date" />
|
|
12
|
+
<field name="numitem" />
|
|
13
|
+
<field name="code" />
|
|
14
|
+
<field name="cig" />
|
|
15
|
+
<field name="cup" />
|
|
16
|
+
</list>
|
|
17
|
+
</field>
|
|
18
|
+
</record>
|
|
19
|
+
|
|
20
|
+
<record id="account_move_related_document_view_form" model="ir.ui.view">
|
|
21
|
+
<field name="name">Form view for related_document</field>
|
|
22
|
+
<field name="model">account.move.related_document</field>
|
|
23
|
+
<field name="arch" type="xml">
|
|
24
|
+
<form>
|
|
25
|
+
<sheet>
|
|
26
|
+
<group>
|
|
27
|
+
<group>
|
|
28
|
+
<field name="type" />
|
|
29
|
+
<field name="name" />
|
|
30
|
+
<field name="lineRef" />
|
|
31
|
+
<field name="date" />
|
|
32
|
+
<field name="numitem" />
|
|
33
|
+
<field name="code" />
|
|
34
|
+
<field name="cig" />
|
|
35
|
+
<field name="cup" />
|
|
36
|
+
</group>
|
|
37
|
+
<group groups="base.group_no_one">
|
|
38
|
+
<field name="invoice_id" />
|
|
39
|
+
<field name="invoice_line_id" />
|
|
40
|
+
</group>
|
|
41
|
+
</group>
|
|
42
|
+
</sheet>
|
|
43
|
+
</form>
|
|
44
|
+
</field>
|
|
45
|
+
</record>
|
|
46
|
+
|
|
47
|
+
<record id="account_move_related_document_action" model="ir.actions.act_window">
|
|
48
|
+
<field name="name">Related documents</field>
|
|
49
|
+
<field name="res_model">account.move.related_document</field>
|
|
50
|
+
<field name="view_mode">form,list</field>
|
|
51
|
+
<field name="view_id" ref="account_move_related_document_view_list" />
|
|
52
|
+
<field name="context">{'create': False, 'edit': False, 'delete': False}</field>
|
|
53
|
+
</record>
|
|
54
|
+
|
|
55
|
+
<menuitem
|
|
56
|
+
id="account_move_related_document_menu"
|
|
57
|
+
parent="account.account_account_menu"
|
|
58
|
+
action="account_move_related_document_action"
|
|
59
|
+
/>
|
|
60
|
+
</odoo>
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: odoo-addon-l10n_it_edi_related_document
|
|
3
|
+
Version: 18.0.1.0.0.3
|
|
4
|
+
Requires-Python: >=3.10
|
|
5
|
+
Requires-Dist: odoo==18.0.*
|
|
6
|
+
Summary: Related Documents for EDI
|
|
7
|
+
Home-page: https://github.com/OCA/l10n-italy
|
|
8
|
+
License: AGPL-3
|
|
9
|
+
Author: Nextev Srl, Odoo Community Association (OCA)
|
|
10
|
+
Author-email: support@odoo-community.org
|
|
11
|
+
Classifier: Programming Language :: Python
|
|
12
|
+
Classifier: Framework :: Odoo
|
|
13
|
+
Classifier: Framework :: Odoo :: 18.0
|
|
14
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
|
+
Description-Content-Type: text/x-rst
|
|
16
|
+
|
|
17
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
18
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
19
|
+
:alt: Odoo Community Association
|
|
20
|
+
|
|
21
|
+
=========================
|
|
22
|
+
Related Documents for EDI
|
|
23
|
+
=========================
|
|
24
|
+
|
|
25
|
+
..
|
|
26
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
27
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
28
|
+
!! changes will be overwritten. !!
|
|
29
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
30
|
+
!! source digest: sha256:9635cb722bff9cdf86aa4c791204157e4ab84e3440f753772ca8a8484b2f5ba8
|
|
31
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
32
|
+
|
|
33
|
+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
34
|
+
:target: https://odoo-community.org/page/development-status
|
|
35
|
+
:alt: Beta
|
|
36
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
37
|
+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
38
|
+
:alt: License: AGPL-3
|
|
39
|
+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
|
|
40
|
+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_related_document
|
|
41
|
+
:alt: OCA/l10n-italy
|
|
42
|
+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
43
|
+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_edi_related_document
|
|
44
|
+
:alt: Translate me on Weblate
|
|
45
|
+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
46
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
|
|
47
|
+
:alt: Try me on Runboat
|
|
48
|
+
|
|
49
|
+
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
50
|
+
|
|
51
|
+
**English**
|
|
52
|
+
|
|
53
|
+
Module for managing the types of documents linked to invoices. The data
|
|
54
|
+
related to the linked documents is then exported in the electronic
|
|
55
|
+
invoice XML or imported during the creation of an invoice from an XML
|
|
56
|
+
file. If a related document has 0 as the line reference, it means that
|
|
57
|
+
it refers to the entire document and not to a specific invoice line.
|
|
58
|
+
|
|
59
|
+
**Italiano**
|
|
60
|
+
|
|
61
|
+
Modulo per la gestione dei tipi di documenti collegati alle fatture. I
|
|
62
|
+
dati relativi ai documenti collegati vengono poi esportati nell'XML
|
|
63
|
+
della fattura elettronica oppure importati durante la creazione di una
|
|
64
|
+
fattura da XML. Nel caso in cui un documento collegato abbia 0 come
|
|
65
|
+
riferimento linea, significa che è riferito all’intero documento e non
|
|
66
|
+
ad una specifica linea della fattura.
|
|
67
|
+
|
|
68
|
+
**Table of contents**
|
|
69
|
+
|
|
70
|
+
.. contents::
|
|
71
|
+
:local:
|
|
72
|
+
|
|
73
|
+
Bug Tracker
|
|
74
|
+
===========
|
|
75
|
+
|
|
76
|
+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
77
|
+
In case of trouble, please check there if your issue has already been reported.
|
|
78
|
+
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
79
|
+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_edi_related_document%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
80
|
+
|
|
81
|
+
Do not contact contributors directly about support or help with technical issues.
|
|
82
|
+
|
|
83
|
+
Credits
|
|
84
|
+
=======
|
|
85
|
+
|
|
86
|
+
Authors
|
|
87
|
+
-------
|
|
88
|
+
|
|
89
|
+
* Nextev Srl
|
|
90
|
+
|
|
91
|
+
Contributors
|
|
92
|
+
------------
|
|
93
|
+
|
|
94
|
+
- Nextev Srl <odoo@nextev.it>
|
|
95
|
+
|
|
96
|
+
Maintainers
|
|
97
|
+
-----------
|
|
98
|
+
|
|
99
|
+
This module is maintained by the OCA.
|
|
100
|
+
|
|
101
|
+
.. image:: https://odoo-community.org/logo.png
|
|
102
|
+
:alt: Odoo Community Association
|
|
103
|
+
:target: https://odoo-community.org
|
|
104
|
+
|
|
105
|
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
106
|
+
mission is to support the collaborative development of Odoo features and
|
|
107
|
+
promote its widespread use.
|
|
108
|
+
|
|
109
|
+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_related_document>`_ project on GitHub.
|
|
110
|
+
|
|
111
|
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
odoo/addons/l10n_it_edi_related_document/README.rst,sha256=cDvCI9rsJy7jIVMyQO_atTz3mZdlbi0wayJNH_Xs1OM,3737
|
|
2
|
+
odoo/addons/l10n_it_edi_related_document/__init__.py,sha256=RMJcLWNrEHXIXLAZxKcPYxYDOyTcrz2jqoY2zjJB_Vo,885
|
|
3
|
+
odoo/addons/l10n_it_edi_related_document/__manifest__.py,sha256=pi1FnhGG9-CIyg8nj0Cjudt20KVGAyj4mxhJdVtdS6Q,704
|
|
4
|
+
odoo/addons/l10n_it_edi_related_document/data/invoice_it_template.xml,sha256=Xf919uLDRJUEw0Vyp4X_XsfxJ8HZJ6YVKlCepSPiivw,426
|
|
5
|
+
odoo/addons/l10n_it_edi_related_document/i18n/l10n_it_edi_related_document.pot,sha256=7gm8MZqb4hG05yZRlyoCSpr1I9Js-0a3ePDqwatlSfc,5633
|
|
6
|
+
odoo/addons/l10n_it_edi_related_document/models/__init__.py,sha256=PR94GOLlO0hNl9BsyjYDv0T9XOACxW8xU2QzAJnZpOw,125
|
|
7
|
+
odoo/addons/l10n_it_edi_related_document/models/account_move.py,sha256=bNjmzurneSx4pH_M_a4oOSDjb3RhAi7fLzzOi1KMeyM,4743
|
|
8
|
+
odoo/addons/l10n_it_edi_related_document/models/account_move_line.py,sha256=fJG-GeEdMNhzxPuBKkTZn3PcOdmeQh4dKQBYBLmOhWM,274
|
|
9
|
+
odoo/addons/l10n_it_edi_related_document/readme/CONTRIBUTORS.md,sha256=rtaGAOozCOLgiqDZL-NTYUfskZzySSe-Gv70HHXFjFM,33
|
|
10
|
+
odoo/addons/l10n_it_edi_related_document/readme/DESCRIPTION.md,sha256=KuhEZMYvGZVVmd6FIyau5reZcqMq0tlsz4VpPiyBTFI,771
|
|
11
|
+
odoo/addons/l10n_it_edi_related_document/security/ir.model.access.csv,sha256=pJgHg9dBqGER9OMDw2OdJAntvmN6ONRh5uGYxUvne9o,283
|
|
12
|
+
odoo/addons/l10n_it_edi_related_document/static/description/icon.png,sha256=CgnOEZCwoe6f1vlLwkqFVfc2q_uwBMU0UnXN8j6X5ag,10254
|
|
13
|
+
odoo/addons/l10n_it_edi_related_document/static/description/index.html,sha256=JX_p9W09GmrkM8fztgT_djnFgJJmP3eKDaM8GB2iNWY,13134
|
|
14
|
+
odoo/addons/l10n_it_edi_related_document/tests/__init__.py,sha256=AiEh7CK9G5Bdw5C50qyWWgcThLmcg5tRyVm92fDMrho,30
|
|
15
|
+
odoo/addons/l10n_it_edi_related_document/tests/test_import_xml.py,sha256=PRQvWeueCdWPyLyO2N3C1ahrW997Uy_m-2WRZzksR8U,1320
|
|
16
|
+
odoo/addons/l10n_it_edi_related_document/tests/import_xmls/IT01234567888_FPR01_02.xml,sha256=bA84c1DM0Tkat2cUZsFaczdsdgs30ExUg0JnYHO4x3Y,6169
|
|
17
|
+
odoo/addons/l10n_it_edi_related_document/views/account_move_related_documents.xml,sha256=sfs60rTQ3znmwe7g9oeqUo8QAuwd5ugub9qAvmpJHQs,2818
|
|
18
|
+
odoo/addons/l10n_it_edi_related_document/views/l10n_it_views.xml,sha256=kng6oc5X_Sh4iOr9MtCxAYKGd2-exMTExGfaav4m0d0,1627
|
|
19
|
+
odoo/addons/l10n_it_edi_related_document/views/related_document_views.xml,sha256=AqlnwX51fox6YDiBZ3O6NPux2bTpZLOFTf_PErC40B8,2412
|
|
20
|
+
odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/METADATA,sha256=xsAl1K474avB3SnjHMsV_VYTnS-fGZgurz2yPQM6m7E,4294
|
|
21
|
+
odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
22
|
+
odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
23
|
+
odoo_addon_l10n_it_edi_related_document-18.0.1.0.0.3.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
odoo
|