odoo-addon-l10n-it-bill-of-entry 16.0.1.0.2__py3-none-any.whl → 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_bill_of_entry/README.rst +8 -6
- odoo/addons/l10n_it_bill_of_entry/__manifest__.py +3 -6
- odoo/addons/l10n_it_bill_of_entry/demo/bill_of_entry_demo.xml +13 -4
- odoo/addons/l10n_it_bill_of_entry/i18n/l10n_it_bill_of_entry.pot +41 -28
- odoo/addons/l10n_it_bill_of_entry/models/account_move.py +18 -13
- odoo/addons/l10n_it_bill_of_entry/readme/CONTRIBUTORS.md +1 -0
- odoo/addons/l10n_it_bill_of_entry/static/description/index.html +5 -4
- odoo/addons/l10n_it_bill_of_entry/tests/test_bill_of_entry.py +6 -4
- odoo/addons/l10n_it_bill_of_entry/views/account_invoice_view.xml +19 -65
- odoo/addons/l10n_it_bill_of_entry/views/company_view.xml +26 -56
- {odoo_addon_l10n_it_bill_of_entry-16.0.1.0.2.dist-info → odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info}/METADATA +12 -10
- {odoo_addon_l10n_it_bill_of_entry-16.0.1.0.2.dist-info → odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info}/RECORD +14 -14
- {odoo_addon_l10n_it_bill_of_entry-16.0.1.0.2.dist-info → odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info}/WHEEL +0 -0
- {odoo_addon_l10n_it_bill_of_entry-16.0.1.0.2.dist-info → odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info}/top_level.txt +0 -0
|
@@ -7,7 +7,7 @@ ITA - Bolle doganali
|
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
8
|
!! changes will be overwritten. !!
|
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
10
|
+
!! source digest: sha256:3e00d2ca646f727ba7922495ad3269aac0ba5e27f1d31378f52f1d8822f63b63
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -17,13 +17,13 @@ ITA - Bolle doganali
|
|
|
17
17
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
18
|
:alt: License: AGPL-3
|
|
19
19
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
|
|
20
|
-
:target: https://github.com/OCA/l10n-italy/tree/
|
|
20
|
+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_bill_of_entry
|
|
21
21
|
:alt: OCA/l10n-italy
|
|
22
22
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/l10n-italy-
|
|
23
|
+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_bill_of_entry
|
|
24
24
|
:alt: Translate me on Weblate
|
|
25
25
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
26
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=
|
|
26
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
|
|
27
27
|
:alt: Try me on Runboat
|
|
28
28
|
|
|
29
29
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -146,7 +146,7 @@ Bug Tracker
|
|
|
146
146
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
147
147
|
In case of trouble, please check there if your issue has already been reported.
|
|
148
148
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
149
|
-
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_bill_of_entry%0Aversion:%
|
|
149
|
+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_bill_of_entry%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
150
150
|
|
|
151
151
|
Do not contact contributors directly about support or help with technical issues.
|
|
152
152
|
|
|
@@ -174,6 +174,8 @@ Contributors
|
|
|
174
174
|
|
|
175
175
|
- Simone Rubino <simone.rubino@aion-tech.it>
|
|
176
176
|
|
|
177
|
+
- `Nextev Srl <https://nextev.it/>`__ <odoo@nextev.it>
|
|
178
|
+
|
|
177
179
|
Maintainers
|
|
178
180
|
-----------
|
|
179
181
|
|
|
@@ -187,6 +189,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
187
189
|
mission is to support the collaborative development of Odoo features and
|
|
188
190
|
promote its widespread use.
|
|
189
191
|
|
|
190
|
-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/
|
|
192
|
+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_bill_of_entry>`_ project on GitHub.
|
|
191
193
|
|
|
192
194
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -9,16 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
{
|
|
11
11
|
"name": "ITA - Bolle doganali",
|
|
12
|
-
"version": "
|
|
12
|
+
"version": "18.0.1.0.0",
|
|
13
13
|
"category": "Localization/Italy",
|
|
14
14
|
"author": "Agile Business Group, CQ Creativi Quadrati, TAKOBI, "
|
|
15
15
|
"Odoo Community Association (OCA)",
|
|
16
|
-
"website": "https://github.com/OCA/l10n-italy"
|
|
16
|
+
"website": "https://github.com/OCA/l10n-italy",
|
|
17
17
|
"license": "AGPL-3",
|
|
18
|
-
"depends": [
|
|
19
|
-
"base",
|
|
20
|
-
"account",
|
|
21
|
-
],
|
|
18
|
+
"depends": ["base", "account", "l10n_it"],
|
|
22
19
|
"data": [
|
|
23
20
|
"views/company_view.xml",
|
|
24
21
|
"views/account_invoice_view.xml",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<field name="reconcile">True</field>
|
|
32
32
|
</record>
|
|
33
33
|
|
|
34
|
-
<!--
|
|
34
|
+
<!--
|
|
35
35
|
When l10n_it is installed, it creates the l10n_it.1_4201 account
|
|
36
36
|
(420100 costi di trasporto)
|
|
37
37
|
-->
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
<field name="name">Delivery Expenses</field>
|
|
41
41
|
<field name="account_type">expense</field>
|
|
42
42
|
<field name="reconcile">True</field>
|
|
43
|
+
<field name="company_ids" eval="[(6, 0, [ref('base.demo_company_it')])]" />
|
|
43
44
|
</record>
|
|
44
45
|
|
|
45
46
|
<!-- Account Tax -->
|
|
@@ -54,7 +55,12 @@
|
|
|
54
55
|
<field name="amount_type">percent</field>
|
|
55
56
|
<field name="amount">22</field>
|
|
56
57
|
<field name="description">22aExtraUE</field>
|
|
57
|
-
<field name="
|
|
58
|
+
<field name="country_id" ref="base.it" />
|
|
59
|
+
<field
|
|
60
|
+
name="tax_group_id"
|
|
61
|
+
eval="ref('account.%s_tax_group_iva_22' % ref('base.demo_company_it'))"
|
|
62
|
+
/>
|
|
63
|
+
<field name="company_id" ref="base.demo_company_it" />
|
|
58
64
|
<field name="sequence">99</field>
|
|
59
65
|
</record>
|
|
60
66
|
|
|
@@ -62,19 +68,22 @@
|
|
|
62
68
|
<record id="partner_customs" model="res.partner">
|
|
63
69
|
<field name="name">Customs</field>
|
|
64
70
|
<field name="is_company">True</field>
|
|
71
|
+
<field name="company_id" ref="base.demo_company_it" />
|
|
65
72
|
</record>
|
|
66
73
|
|
|
67
74
|
<!-- Account Fiscal Position -->
|
|
68
75
|
<record id="fiscal_position_extraEU" model="account.fiscal.position">
|
|
69
76
|
<field name="name">Extra EU</field>
|
|
70
|
-
|
|
77
|
+
<field name="company_id" ref="base.demo_company_it" />
|
|
78
|
+
</record>
|
|
71
79
|
|
|
72
80
|
<!-- Account Journal -->
|
|
73
81
|
<record id="account_journal_purchase_extraEU" model="account.journal">
|
|
74
82
|
<field name="name">Supplier Invoices ExtraUE</field>
|
|
75
83
|
<field name="type">purchase</field>
|
|
76
84
|
<field name="code">NOUE</field>
|
|
77
|
-
|
|
85
|
+
<field name="company_id" ref="base.demo_company_it" />
|
|
86
|
+
</record>
|
|
78
87
|
|
|
79
88
|
<!-- Product product -->
|
|
80
89
|
<record id="product_product_extraEU_purchase" model="product.product">
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
msgid ""
|
|
6
6
|
msgstr ""
|
|
7
|
-
"Project-Id-Version: Odoo Server
|
|
7
|
+
"Project-Id-Version: Odoo Server 18.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -14,11 +14,9 @@ msgstr ""
|
|
|
14
14
|
"Plural-Forms: \n"
|
|
15
15
|
|
|
16
16
|
#. module: l10n_it_bill_of_entry
|
|
17
|
-
#:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"specific.\" aria-label=\"Values set here are company-specific.\" "
|
|
21
|
-
"groups=\"base.group_multi_company\" role=\"img\"/>"
|
|
17
|
+
#: model:account.account.tag,name:l10n_it_bill_of_entry.tax_tag_22extraUE
|
|
18
|
+
#: model_terms:account.tax,description:l10n_it_bill_of_entry.tax_22extraUE
|
|
19
|
+
msgid "22aExtraUE"
|
|
22
20
|
msgstr ""
|
|
23
21
|
|
|
24
22
|
#. module: l10n_it_bill_of_entry
|
|
@@ -31,6 +29,16 @@ msgstr ""
|
|
|
31
29
|
msgid "Advance Customs Vat"
|
|
32
30
|
msgstr ""
|
|
33
31
|
|
|
32
|
+
#. module: l10n_it_bill_of_entry
|
|
33
|
+
#: model:account.account,name:l10n_it_bill_of_entry.account_account_adv_customs_expense
|
|
34
|
+
msgid "Advanced Customs Expenses"
|
|
35
|
+
msgstr ""
|
|
36
|
+
|
|
37
|
+
#. module: l10n_it_bill_of_entry
|
|
38
|
+
#: model_terms:ir.ui.view,arch_db:l10n_it_bill_of_entry.view_boe_config_settings
|
|
39
|
+
msgid "Bill of Entries"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
34
42
|
#. module: l10n_it_bill_of_entry
|
|
35
43
|
#: model:ir.model.fields.selection,name:l10n_it_bill_of_entry.selection__account_move__customs_doc_type__bill_of_entry
|
|
36
44
|
msgid "Bill of Entry"
|
|
@@ -39,34 +47,29 @@ msgstr ""
|
|
|
39
47
|
#. module: l10n_it_bill_of_entry
|
|
40
48
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__bill_of_entry_storno_id
|
|
41
49
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__bill_of_entry_storno_id
|
|
42
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__bill_of_entry_storno_id
|
|
43
50
|
msgid "Bill of Entry Storno"
|
|
44
51
|
msgstr ""
|
|
45
52
|
|
|
46
53
|
#. module: l10n_it_bill_of_entry
|
|
47
54
|
#: model_terms:ir.ui.view,arch_db:l10n_it_bill_of_entry.invoice_supplier_boe_form
|
|
48
|
-
#: model_terms:ir.ui.view,arch_db:l10n_it_bill_of_entry.view_boe_config_settings
|
|
49
55
|
msgid "Bill of entries"
|
|
50
56
|
msgstr ""
|
|
51
57
|
|
|
52
58
|
#. module: l10n_it_bill_of_entry
|
|
53
59
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__forwarder_bill_of_entries_count
|
|
54
60
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__forwarder_bill_of_entries_count
|
|
55
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__forwarder_bill_of_entries_count
|
|
56
61
|
msgid "Bill of entries for forwarder"
|
|
57
62
|
msgstr ""
|
|
58
63
|
|
|
59
64
|
#. module: l10n_it_bill_of_entry
|
|
60
65
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__bill_of_entries_count
|
|
61
66
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__bill_of_entries_count
|
|
62
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__bill_of_entries_count
|
|
63
67
|
msgid "Bill of entries number"
|
|
64
68
|
msgstr ""
|
|
65
69
|
|
|
66
70
|
#. module: l10n_it_bill_of_entry
|
|
67
71
|
#. odoo-python
|
|
68
72
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
69
|
-
#, python-format
|
|
70
73
|
msgid "Bill of entry %(partner)s is in state %(state)s"
|
|
71
74
|
msgstr ""
|
|
72
75
|
|
|
@@ -97,7 +100,6 @@ msgstr ""
|
|
|
97
100
|
#. module: l10n_it_bill_of_entry
|
|
98
101
|
#. odoo-python
|
|
99
102
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
100
|
-
#, python-format
|
|
101
103
|
msgid "Can't handle more than 1 tax for line %s"
|
|
102
104
|
msgstr ""
|
|
103
105
|
|
|
@@ -120,7 +122,6 @@ msgstr ""
|
|
|
120
122
|
#. module: l10n_it_bill_of_entry
|
|
121
123
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__customs_doc_type
|
|
122
124
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__customs_doc_type
|
|
123
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__customs_doc_type
|
|
124
125
|
msgid "Customs Doc Type"
|
|
125
126
|
msgstr ""
|
|
126
127
|
|
|
@@ -129,17 +130,20 @@ msgstr ""
|
|
|
129
130
|
msgid "Customs Expense"
|
|
130
131
|
msgstr ""
|
|
131
132
|
|
|
133
|
+
#. module: l10n_it_bill_of_entry
|
|
134
|
+
#: model:account.account,name:l10n_it_bill_of_entry.account_account_customs_expense
|
|
135
|
+
msgid "Customs Expenses"
|
|
136
|
+
msgstr ""
|
|
137
|
+
|
|
132
138
|
#. module: l10n_it_bill_of_entry
|
|
133
139
|
#. odoo-python
|
|
134
140
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
135
|
-
#, python-format
|
|
136
141
|
msgid "Customs expenses"
|
|
137
142
|
msgstr ""
|
|
138
143
|
|
|
139
144
|
#. module: l10n_it_bill_of_entry
|
|
140
145
|
#. odoo-python
|
|
141
146
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
142
|
-
#, python-format
|
|
143
147
|
msgid "Customs supplier"
|
|
144
148
|
msgstr ""
|
|
145
149
|
|
|
@@ -148,17 +152,25 @@ msgstr ""
|
|
|
148
152
|
msgid "Delivery Expense"
|
|
149
153
|
msgstr ""
|
|
150
154
|
|
|
155
|
+
#. module: l10n_it_bill_of_entry
|
|
156
|
+
#: model:account.account,name:l10n_it_bill_of_entry.account_account_delivery_expense
|
|
157
|
+
msgid "Delivery Expenses"
|
|
158
|
+
msgstr ""
|
|
159
|
+
|
|
160
|
+
#. module: l10n_it_bill_of_entry
|
|
161
|
+
#: model:account.fiscal.position,name:l10n_it_bill_of_entry.fiscal_position_extraEU
|
|
162
|
+
msgid "Extra EU"
|
|
163
|
+
msgstr ""
|
|
164
|
+
|
|
151
165
|
#. module: l10n_it_bill_of_entry
|
|
152
166
|
#. odoo-python
|
|
153
167
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
154
|
-
#, python-format
|
|
155
168
|
msgid "Extra UE expenses"
|
|
156
169
|
msgstr ""
|
|
157
170
|
|
|
158
171
|
#. module: l10n_it_bill_of_entry
|
|
159
172
|
#. odoo-python
|
|
160
173
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
161
|
-
#, python-format
|
|
162
174
|
msgid "Extra UE supplier invoice must have no taxes"
|
|
163
175
|
msgstr ""
|
|
164
176
|
|
|
@@ -168,6 +180,7 @@ msgid "Extra invoices"
|
|
|
168
180
|
msgstr ""
|
|
169
181
|
|
|
170
182
|
#. module: l10n_it_bill_of_entry
|
|
183
|
+
#: model:account.account,name:l10n_it_bill_of_entry.account_account_extraEU_purchase
|
|
171
184
|
#: model:product.template,name:l10n_it_bill_of_entry.product_product_extraEU_purchase_product_template
|
|
172
185
|
msgid "ExtraEU Goods Purchase"
|
|
173
186
|
msgstr ""
|
|
@@ -175,14 +188,12 @@ msgstr ""
|
|
|
175
188
|
#. module: l10n_it_bill_of_entry
|
|
176
189
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__forwarder_bill_of_entry_ids
|
|
177
190
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__forwarder_bill_of_entry_ids
|
|
178
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__forwarder_bill_of_entry_ids
|
|
179
191
|
msgid "Forward Bill of Entries"
|
|
180
192
|
msgstr ""
|
|
181
193
|
|
|
182
194
|
#. module: l10n_it_bill_of_entry
|
|
183
195
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__forwarder_invoice_id
|
|
184
196
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__forwarder_invoice_id
|
|
185
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__forwarder_invoice_id
|
|
186
197
|
#: model:ir.model.fields.selection,name:l10n_it_bill_of_entry.selection__account_move__customs_doc_type__forwarder_invoice
|
|
187
198
|
msgid "Forwarder Invoice"
|
|
188
199
|
msgstr ""
|
|
@@ -190,7 +201,6 @@ msgstr ""
|
|
|
190
201
|
#. module: l10n_it_bill_of_entry
|
|
191
202
|
#. odoo-python
|
|
192
203
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
193
|
-
#, python-format
|
|
194
204
|
msgid "Forwarder invoice %s does not have lines with 'Advance Customs Vat'"
|
|
195
205
|
msgstr ""
|
|
196
206
|
|
|
@@ -205,6 +215,11 @@ msgstr ""
|
|
|
205
215
|
msgid "Generate bill of entry"
|
|
206
216
|
msgstr ""
|
|
207
217
|
|
|
218
|
+
#. module: l10n_it_bill_of_entry
|
|
219
|
+
#: model:account.tax,name:l10n_it_bill_of_entry.tax_22extraUE
|
|
220
|
+
msgid "Iva al 22% ExtraUE (credito)"
|
|
221
|
+
msgstr ""
|
|
222
|
+
|
|
208
223
|
#. module: l10n_it_bill_of_entry
|
|
209
224
|
#: model:ir.model,name:l10n_it_bill_of_entry.model_account_move
|
|
210
225
|
msgid "Journal Entry"
|
|
@@ -225,32 +240,29 @@ msgstr ""
|
|
|
225
240
|
#. module: l10n_it_bill_of_entry
|
|
226
241
|
#. odoo-python
|
|
227
242
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
228
|
-
#, python-format
|
|
229
243
|
msgid "No Bill of entry Storno journal configured"
|
|
230
244
|
msgstr ""
|
|
231
245
|
|
|
232
246
|
#. module: l10n_it_bill_of_entry
|
|
233
247
|
#. odoo-python
|
|
234
248
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
235
|
-
#, python-format
|
|
236
249
|
msgid "No bill of entries found for this invoice"
|
|
237
250
|
msgstr ""
|
|
238
251
|
|
|
239
252
|
#. module: l10n_it_bill_of_entry
|
|
240
253
|
#. odoo-python
|
|
241
254
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
242
|
-
#, python-format
|
|
243
255
|
msgid "Please set 'Bill of entry partner' in accounting configuration"
|
|
244
256
|
msgstr ""
|
|
245
257
|
|
|
246
258
|
#. module: l10n_it_bill_of_entry
|
|
247
259
|
#. odoo-python
|
|
248
260
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
249
|
-
#, python-format
|
|
250
261
|
msgid "Please set 'Bill of entry tax' in accounting configuration"
|
|
251
262
|
msgstr ""
|
|
252
263
|
|
|
253
264
|
#. module: l10n_it_bill_of_entry
|
|
265
|
+
#: model:account.account,name:l10n_it_bill_of_entry.account_account_stamp_duties
|
|
254
266
|
#: model:product.template,name:l10n_it_bill_of_entry.product_product_stamp_duties_product_template
|
|
255
267
|
msgid "Stamp Duties"
|
|
256
268
|
msgstr ""
|
|
@@ -258,7 +270,6 @@ msgstr ""
|
|
|
258
270
|
#. module: l10n_it_bill_of_entry
|
|
259
271
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__supplier_bill_of_entry_ids
|
|
260
272
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__supplier_bill_of_entry_ids
|
|
261
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__supplier_bill_of_entry_ids
|
|
262
273
|
msgid "Supplier Bill of Entries"
|
|
263
274
|
msgstr ""
|
|
264
275
|
|
|
@@ -270,10 +281,14 @@ msgstr ""
|
|
|
270
281
|
#. module: l10n_it_bill_of_entry
|
|
271
282
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__supplier_invoice_ids
|
|
272
283
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__supplier_invoice_ids
|
|
273
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__supplier_invoice_ids
|
|
274
284
|
msgid "Supplier Invoices"
|
|
275
285
|
msgstr ""
|
|
276
286
|
|
|
287
|
+
#. module: l10n_it_bill_of_entry
|
|
288
|
+
#: model:account.journal,name:l10n_it_bill_of_entry.account_journal_purchase_extraEU
|
|
289
|
+
msgid "Supplier Invoices ExtraUE"
|
|
290
|
+
msgstr ""
|
|
291
|
+
|
|
277
292
|
#. module: l10n_it_bill_of_entry
|
|
278
293
|
#: model:ir.actions.act_window,name:l10n_it_bill_of_entry.action_supplier_invoice
|
|
279
294
|
#: model:ir.ui.menu,name:l10n_it_bill_of_entry.menu_action_supplier_invoice
|
|
@@ -284,7 +299,6 @@ msgstr ""
|
|
|
284
299
|
#. module: l10n_it_bill_of_entry
|
|
285
300
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_bank_statement_line__extra_supplier_invoices_count
|
|
286
301
|
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_move__extra_supplier_invoices_count
|
|
287
|
-
#: model:ir.model.fields,field_description:l10n_it_bill_of_entry.field_account_payment__extra_supplier_invoices_count
|
|
288
302
|
msgid "Supplier invoices number"
|
|
289
303
|
msgstr ""
|
|
290
304
|
|
|
@@ -309,6 +323,5 @@ msgstr ""
|
|
|
309
323
|
#. module: l10n_it_bill_of_entry
|
|
310
324
|
#. odoo-python
|
|
311
325
|
#: code:addons/l10n_it_bill_of_entry/models/account_move.py:0
|
|
312
|
-
#, python-format
|
|
313
326
|
msgid "You can generate bill of entry from extra UE supplier invoice only"
|
|
314
327
|
msgstr ""
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
from odoo import fields, models
|
|
6
6
|
from odoo.exceptions import UserError
|
|
7
7
|
from odoo.fields import first
|
|
8
|
-
from odoo.tools.translate import _
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
class AccountMove(models.Model):
|
|
@@ -112,7 +111,7 @@ class AccountMove(models.Model):
|
|
|
112
111
|
break
|
|
113
112
|
if not advance_customs_vat_line and list(set(boe_tax_rates)) != [0.0]:
|
|
114
113
|
raise UserError(
|
|
115
|
-
_(
|
|
114
|
+
self.env._(
|
|
116
115
|
"Forwarder invoice %s does not have lines with "
|
|
117
116
|
"'Advance Customs Vat'"
|
|
118
117
|
)
|
|
@@ -123,11 +122,11 @@ class AccountMove(models.Model):
|
|
|
123
122
|
def _get_forwarder_invoice_boe_amounts(self):
|
|
124
123
|
self.ensure_one()
|
|
125
124
|
if not self.forwarder_bill_of_entry_ids:
|
|
126
|
-
raise UserError(_("No bill of entries found for this invoice"))
|
|
125
|
+
raise UserError(self.env._("No bill of entries found for this invoice"))
|
|
127
126
|
for bill_of_entry in self.forwarder_bill_of_entry_ids:
|
|
128
127
|
if bill_of_entry.state not in ("posted", "paid"):
|
|
129
128
|
raise UserError(
|
|
130
|
-
_(
|
|
129
|
+
self.env._(
|
|
131
130
|
"Bill of entry %(partner)s is in state %(state)s",
|
|
132
131
|
partner=bill_of_entry.partner_id.name,
|
|
133
132
|
state=bill_of_entry.state,
|
|
@@ -143,7 +142,7 @@ class AccountMove(models.Model):
|
|
|
143
142
|
def _prepare_bill_of_entry_storno(self):
|
|
144
143
|
self.ensure_one()
|
|
145
144
|
if not self.company_id.bill_of_entry_journal_id:
|
|
146
|
-
raise UserError(_("No Bill of entry Storno journal configured"))
|
|
145
|
+
raise UserError(self.env._("No Bill of entry Storno journal configured"))
|
|
147
146
|
move_vals = {
|
|
148
147
|
"customs_doc_type": False,
|
|
149
148
|
"move_type": "entry",
|
|
@@ -156,7 +155,7 @@ class AccountMove(models.Model):
|
|
|
156
155
|
):
|
|
157
156
|
if inv_line.advance_customs_vat:
|
|
158
157
|
line_vals = {
|
|
159
|
-
"name": _("Customs expenses"),
|
|
158
|
+
"name": self.env._("Customs expenses"),
|
|
160
159
|
"account_id": inv_line.account_id.id,
|
|
161
160
|
"debit": 0.0,
|
|
162
161
|
"credit": inv_line.price_subtotal,
|
|
@@ -172,7 +171,7 @@ class AccountMove(models.Model):
|
|
|
172
171
|
)
|
|
173
172
|
boe_account = first(boe_payable_lines).account_id
|
|
174
173
|
line_vals = {
|
|
175
|
-
"name": _("Customs supplier"),
|
|
174
|
+
"name": self.env._("Customs supplier"),
|
|
176
175
|
"account_id": first(boe_account).id,
|
|
177
176
|
"debit": bill_of_entry.amount_total,
|
|
178
177
|
"credit": 0.0,
|
|
@@ -185,12 +184,12 @@ class AccountMove(models.Model):
|
|
|
185
184
|
if boe_line.tax_ids:
|
|
186
185
|
if len(boe_line.tax_ids) > 1:
|
|
187
186
|
raise UserError(
|
|
188
|
-
_("Can't handle more than 1 tax for line %s")
|
|
187
|
+
self.env._("Can't handle more than 1 tax for line %s")
|
|
189
188
|
% boe_line.name
|
|
190
189
|
)
|
|
191
190
|
|
|
192
191
|
line_vals = {
|
|
193
|
-
"name": _("Extra UE expenses"),
|
|
192
|
+
"name": self.env._("Extra UE expenses"),
|
|
194
193
|
"account_id": boe_line.account_id.id,
|
|
195
194
|
"debit": 0.0,
|
|
196
195
|
"credit": boe_line.price_subtotal,
|
|
@@ -262,21 +261,27 @@ class AccountMove(models.Model):
|
|
|
262
261
|
self.ensure_one()
|
|
263
262
|
for line in self.invoice_line_ids:
|
|
264
263
|
if line.tax_ids:
|
|
265
|
-
raise UserError(
|
|
264
|
+
raise UserError(
|
|
265
|
+
self.env._("Extra UE supplier invoice must have no taxes")
|
|
266
|
+
)
|
|
266
267
|
|
|
267
268
|
def generate_bill_of_entry(self):
|
|
268
269
|
self.ensure_one()
|
|
269
270
|
if self.customs_doc_type != "supplier_invoice":
|
|
270
271
|
raise UserError(
|
|
271
|
-
_(
|
|
272
|
+
self.env._(
|
|
273
|
+
"You can generate bill of entry from extra UE supplier invoice only"
|
|
274
|
+
)
|
|
272
275
|
)
|
|
273
276
|
if not self.company_id.bill_of_entry_tax_id:
|
|
274
277
|
raise UserError(
|
|
275
|
-
_("Please set 'Bill of entry tax' in accounting configuration")
|
|
278
|
+
self.env._("Please set 'Bill of entry tax' in accounting configuration")
|
|
276
279
|
)
|
|
277
280
|
if not self.company_id.bill_of_entry_partner_id:
|
|
278
281
|
raise UserError(
|
|
279
|
-
_(
|
|
282
|
+
self.env._(
|
|
283
|
+
"Please set 'Bill of entry partner' in accounting configuration"
|
|
284
|
+
)
|
|
280
285
|
)
|
|
281
286
|
self._check_no_taxes()
|
|
282
287
|
boe_inv = self.copy(
|
|
@@ -367,9 +367,9 @@ ul.auto-toc {
|
|
|
367
367
|
!! This file is generated by oca-gen-addon-readme !!
|
|
368
368
|
!! changes will be overwritten. !!
|
|
369
369
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
-
!! source digest: sha256:
|
|
370
|
+
!! source digest: sha256:3e00d2ca646f727ba7922495ad3269aac0ba5e27f1d31378f52f1d8822f63b63
|
|
371
371
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
372
|
-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-italy/tree/
|
|
372
|
+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_bill_of_entry"><img alt="OCA/l10n-italy" src="https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_bill_of_entry"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
373
|
<p>This module enables to manage extraUE import purchases, generating a
|
|
374
374
|
bill of entry according to the supplier invoice.</p>
|
|
375
375
|
<p>It involves three documents:</p>
|
|
@@ -485,7 +485,7 @@ contabile di giroconto per chiudere la bolla doganale.</p>
|
|
|
485
485
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
|
|
486
486
|
In case of trouble, please check there if your issue has already been reported.
|
|
487
487
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
488
|
-
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_bill_of_entry%0Aversion:%
|
|
488
|
+
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_bill_of_entry%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
489
489
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
490
490
|
</div>
|
|
491
491
|
<div class="section" id="credits">
|
|
@@ -512,6 +512,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
512
512
|
<li>Simone Rubino <<a class="reference external" href="mailto:simone.rubino@aion-tech.it">simone.rubino@aion-tech.it</a>></li>
|
|
513
513
|
</ul>
|
|
514
514
|
</li>
|
|
515
|
+
<li><a class="reference external" href="https://nextev.it/">Nextev Srl</a> <<a class="reference external" href="mailto:odoo@nextev.it">odoo@nextev.it</a>></li>
|
|
515
516
|
</ul>
|
|
516
517
|
</div>
|
|
517
518
|
<div class="section" id="maintainers">
|
|
@@ -523,7 +524,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
523
524
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
524
525
|
mission is to support the collaborative development of Odoo features and
|
|
525
526
|
promote its widespread use.</p>
|
|
526
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/
|
|
527
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_bill_of_entry">OCA/l10n-italy</a> project on GitHub.</p>
|
|
527
528
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
|
528
529
|
</div>
|
|
529
530
|
</div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
from odoo.exceptions import UserError
|
|
8
8
|
from odoo.fields import first
|
|
9
|
-
from odoo.tests
|
|
9
|
+
from odoo.tests import Form, tagged
|
|
10
10
|
|
|
11
11
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
|
12
12
|
|
|
@@ -51,7 +51,7 @@ class TestBillOfEntry(AccountTestInvoicingCommon):
|
|
|
51
51
|
self.fp_model = self.env["account.fiscal.position"]
|
|
52
52
|
self.fp_tax_model = self.env["account.fiscal.position.tax"]
|
|
53
53
|
|
|
54
|
-
demo_data_company = self.env.ref("base.
|
|
54
|
+
demo_data_company = self.env.ref("base.demo_company_it")
|
|
55
55
|
self.env.user.company_ids |= demo_data_company
|
|
56
56
|
self.env.user.company_id = demo_data_company
|
|
57
57
|
# Now that current user can access the company,
|
|
@@ -71,7 +71,7 @@ class TestBillOfEntry(AccountTestInvoicingCommon):
|
|
|
71
71
|
"l10n_it_bill_of_entry.account_journal_purchase_extraEU"
|
|
72
72
|
)
|
|
73
73
|
# Bill of entry storno journal
|
|
74
|
-
self.company = self.env.ref("base.
|
|
74
|
+
self.company = self.env.ref("base.demo_company_it")
|
|
75
75
|
self.bill_of_entry_journal = self.journal_model.create(
|
|
76
76
|
{
|
|
77
77
|
"name": "bill_of_entry_journal",
|
|
@@ -88,7 +88,9 @@ class TestBillOfEntry(AccountTestInvoicingCommon):
|
|
|
88
88
|
"amount": 22,
|
|
89
89
|
"amount_type": "percent",
|
|
90
90
|
"type_tax_use": "purchase",
|
|
91
|
-
"tax_group_id": self.env.ref(
|
|
91
|
+
"tax_group_id": self.env.ref(
|
|
92
|
+
f"account.{demo_data_company.id}_tax_group_iva_22"
|
|
93
|
+
).id,
|
|
92
94
|
}
|
|
93
95
|
)
|
|
94
96
|
self.fiscpos_extra = self.env.ref(
|
|
@@ -16,13 +16,7 @@
|
|
|
16
16
|
type="object"
|
|
17
17
|
class="oe_stat_button"
|
|
18
18
|
icon="fa-pencil-square-o"
|
|
19
|
-
|
|
20
|
-
'invisible': [
|
|
21
|
-
'|',
|
|
22
|
-
('move_type', '!=', 'in_invoice'),
|
|
23
|
-
('bill_of_entries_count', '=', 0),
|
|
24
|
-
],
|
|
25
|
-
}"
|
|
19
|
+
invisible="move_type != 'in_invoice' or bill_of_entries_count == 0"
|
|
26
20
|
>
|
|
27
21
|
<field
|
|
28
22
|
name="bill_of_entries_count"
|
|
@@ -35,13 +29,7 @@
|
|
|
35
29
|
type="object"
|
|
36
30
|
class="oe_stat_button"
|
|
37
31
|
icon="fa-pencil-square-o"
|
|
38
|
-
|
|
39
|
-
'invisible': [
|
|
40
|
-
'|',
|
|
41
|
-
('move_type', '!=', 'in_invoice'),
|
|
42
|
-
('extra_supplier_invoices_count', '=', 0),
|
|
43
|
-
],
|
|
44
|
-
}"
|
|
32
|
+
invisible="move_type != 'in_invoice' or extra_supplier_invoices_count == 0"
|
|
45
33
|
>
|
|
46
34
|
<field
|
|
47
35
|
name="extra_supplier_invoices_count"
|
|
@@ -54,13 +42,7 @@
|
|
|
54
42
|
type="object"
|
|
55
43
|
class="oe_stat_button"
|
|
56
44
|
icon="fa-pencil-square-o"
|
|
57
|
-
|
|
58
|
-
'invisible': [
|
|
59
|
-
'|',
|
|
60
|
-
('move_type', '!=', 'in_invoice'),
|
|
61
|
-
('forwarder_bill_of_entries_count', '=', 0),
|
|
62
|
-
],
|
|
63
|
-
}"
|
|
45
|
+
invisible="move_type != 'in_invoice' or forwarder_bill_of_entries_count == 0"
|
|
64
46
|
>
|
|
65
47
|
<field
|
|
66
48
|
name="forwarder_bill_of_entries_count"
|
|
@@ -73,15 +55,7 @@
|
|
|
73
55
|
<button
|
|
74
56
|
name="generate_bill_of_entry"
|
|
75
57
|
class="oe_highlight"
|
|
76
|
-
|
|
77
|
-
'invisible': [
|
|
78
|
-
'|',
|
|
79
|
-
('move_type', '!=', 'in_invoice'),
|
|
80
|
-
'|',
|
|
81
|
-
('customs_doc_type', '!=', 'supplier_invoice'),
|
|
82
|
-
('bill_of_entries_count', '!=', 0),
|
|
83
|
-
],
|
|
84
|
-
}"
|
|
58
|
+
invisible="move_type != 'in_invoice' or customs_doc_type != 'supplier_invoice' or bill_of_entries_count != 0"
|
|
85
59
|
string="Generate bill of entry"
|
|
86
60
|
type="object"
|
|
87
61
|
groups="account.group_account_invoice"
|
|
@@ -90,46 +64,32 @@
|
|
|
90
64
|
<group id="header_right_group" position="inside">
|
|
91
65
|
<field
|
|
92
66
|
name="customs_doc_type"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
('move_type', '!=', 'in_invoice'),
|
|
96
|
-
],
|
|
97
|
-
'readonly': [
|
|
98
|
-
'|',
|
|
99
|
-
('state', '!=', 'draft'),
|
|
100
|
-
('forwarder_bill_of_entries_count', '!=', 0),
|
|
101
|
-
],
|
|
102
|
-
}"
|
|
67
|
+
invisible="move_type != 'in_invoice'"
|
|
68
|
+
readonly="state != 'draft' or forwarder_bill_of_entries_count != 0"
|
|
103
69
|
/>
|
|
104
70
|
</group>
|
|
105
71
|
<xpath expr="//notebook/page[2]" position="after">
|
|
106
72
|
<page
|
|
107
73
|
string="Customs"
|
|
108
74
|
name="customs"
|
|
109
|
-
|
|
110
|
-
'invisible': [
|
|
111
|
-
'|',
|
|
112
|
-
('move_type', '!=', 'in_invoice'),
|
|
113
|
-
('customs_doc_type','not in', ['bill_of_entry', 'forwarder_invoice']),
|
|
114
|
-
],
|
|
115
|
-
}"
|
|
75
|
+
invisible="move_type != 'in_invoice' or customs_doc_type not in ('bill_of_entry', 'forwarder_invoice')"
|
|
116
76
|
>
|
|
117
77
|
<separator
|
|
118
78
|
string="Supplier invoices"
|
|
119
79
|
name="supplier_invoices"
|
|
120
80
|
colspan="4"
|
|
121
|
-
|
|
81
|
+
invisible="customs_doc_type != 'bill_of_entry'"
|
|
122
82
|
/>
|
|
123
83
|
<field
|
|
124
84
|
name="supplier_invoice_ids"
|
|
125
|
-
|
|
85
|
+
invisible="customs_doc_type != 'bill_of_entry'"
|
|
126
86
|
domain="[('customs_doc_type', '=', 'supplier_invoice')]"
|
|
127
87
|
context="{'default_customs_doc_type': 'supplier_invoice'}"
|
|
128
88
|
/>
|
|
129
89
|
<group name="forwarder_invoice">
|
|
130
90
|
<field
|
|
131
91
|
name="forwarder_invoice_id"
|
|
132
|
-
|
|
92
|
+
invisible="customs_doc_type != 'bill_of_entry'"
|
|
133
93
|
domain="[('customs_doc_type','=', 'forwarder_invoice'), ('state', '=', 'draft')]"
|
|
134
94
|
context="{'default_customs_doc_type': 'forwarder_invoice'}"
|
|
135
95
|
/>
|
|
@@ -137,24 +97,18 @@
|
|
|
137
97
|
<group name="storno">
|
|
138
98
|
<field
|
|
139
99
|
name="bill_of_entry_storno_id"
|
|
140
|
-
|
|
100
|
+
invisible="customs_doc_type != 'forwarder_invoice'"
|
|
141
101
|
/>
|
|
142
102
|
</group>
|
|
143
103
|
</page>
|
|
144
104
|
</xpath>
|
|
145
105
|
<xpath
|
|
146
|
-
expr="//notebook/page[1]/field[@name='invoice_line_ids']/
|
|
106
|
+
expr="//notebook/page[1]/field[@name='invoice_line_ids']/list/field[@name='price_subtotal']"
|
|
147
107
|
position="after"
|
|
148
108
|
>
|
|
149
109
|
<field
|
|
150
110
|
name="advance_customs_vat"
|
|
151
|
-
|
|
152
|
-
'column_invisible': [
|
|
153
|
-
'|',
|
|
154
|
-
('parent.move_type', '!=', 'in_invoice'),
|
|
155
|
-
('parent.customs_doc_type', '!=', 'forwarder_invoice'),
|
|
156
|
-
],
|
|
157
|
-
}"
|
|
111
|
+
column_invisible="parent.move_type != 'in_invoice' or parent.customs_doc_type != 'forwarder_invoice'"
|
|
158
112
|
/>
|
|
159
113
|
</xpath>
|
|
160
114
|
</field>
|
|
@@ -170,7 +124,7 @@
|
|
|
170
124
|
<record id="action_supplier_invoice" model="ir.actions.act_window">
|
|
171
125
|
<field name="name">Supplier invoices</field>
|
|
172
126
|
<field name="res_model">account.move</field>
|
|
173
|
-
<field name="view_mode">
|
|
127
|
+
<field name="view_mode">list,kanban,form,pivot,graph,activity</field>
|
|
174
128
|
<field
|
|
175
129
|
name="domain"
|
|
176
130
|
>[('move_type','=','in_invoice'), ('customs_doc_type', '=', 'supplier_invoice')]</field>
|
|
@@ -180,7 +134,7 @@
|
|
|
180
134
|
</record>
|
|
181
135
|
<record id="action_supplier_invoice_view1" model="ir.actions.act_window.view">
|
|
182
136
|
<field eval="1" name="sequence" />
|
|
183
|
-
<field name="view_mode">
|
|
137
|
+
<field name="view_mode">list</field>
|
|
184
138
|
<field name="view_id" ref="account.view_move_tree" />
|
|
185
139
|
<field name="act_window_id" ref="action_supplier_invoice" />
|
|
186
140
|
</record>
|
|
@@ -199,7 +153,7 @@
|
|
|
199
153
|
<record id="action_bill_of_entry" model="ir.actions.act_window">
|
|
200
154
|
<field name="name">Bills of entry</field>
|
|
201
155
|
<field name="res_model">account.move</field>
|
|
202
|
-
<field name="view_mode">
|
|
156
|
+
<field name="view_mode">list,kanban,form,pivot,graph,activity</field>
|
|
203
157
|
<field
|
|
204
158
|
name="domain"
|
|
205
159
|
>[('move_type','=','in_invoice'), ('customs_doc_type', '=', 'bill_of_entry')]</field>
|
|
@@ -209,7 +163,7 @@
|
|
|
209
163
|
</record>
|
|
210
164
|
<record id="action_bill_of_entry_view1" model="ir.actions.act_window.view">
|
|
211
165
|
<field eval="1" name="sequence" />
|
|
212
|
-
<field name="view_mode">
|
|
166
|
+
<field name="view_mode">list</field>
|
|
213
167
|
<field name="view_id" ref="account.view_move_tree" />
|
|
214
168
|
<field name="act_window_id" ref="action_bill_of_entry" />
|
|
215
169
|
</record>
|
|
@@ -228,7 +182,7 @@
|
|
|
228
182
|
<record id="action_forwarder_invoice" model="ir.actions.act_window">
|
|
229
183
|
<field name="name">Forwarder invoices</field>
|
|
230
184
|
<field name="res_model">account.move</field>
|
|
231
|
-
<field name="view_mode">
|
|
185
|
+
<field name="view_mode">list,kanban,form,pivot,graph,activity</field>
|
|
232
186
|
<field
|
|
233
187
|
name="domain"
|
|
234
188
|
>[('move_type','=','in_invoice'), ('customs_doc_type', '=', 'forwarder_invoice')]</field>
|
|
@@ -238,7 +192,7 @@
|
|
|
238
192
|
</record>
|
|
239
193
|
<record id="action_forwarder_invoice_view1" model="ir.actions.act_window.view">
|
|
240
194
|
<field eval="1" name="sequence" />
|
|
241
|
-
<field name="view_mode">
|
|
195
|
+
<field name="view_mode">list</field>
|
|
242
196
|
<field name="view_id" ref="account.view_move_tree" />
|
|
243
197
|
<field name="act_window_id" ref="action_forwarder_invoice" />
|
|
244
198
|
</record>
|
|
@@ -4,67 +4,37 @@
|
|
|
4
4
|
~ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
5
5
|
-->
|
|
6
6
|
<odoo>
|
|
7
|
-
|
|
8
7
|
<record id="view_boe_config_settings" model="ir.ui.view">
|
|
9
8
|
<field name="name">view.boe.config.setting</field>
|
|
10
9
|
<field name="model">res.config.settings</field>
|
|
11
10
|
<field name="inherit_id" ref="account.res_config_settings_view_form" />
|
|
12
11
|
<field name="arch" type="xml">
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
<div>
|
|
42
|
-
<label for="bill_of_entry_tax_id" />
|
|
43
|
-
<div
|
|
44
|
-
class="text-muted"
|
|
45
|
-
>Tax used in bill of entries generation, when product is not present</div>
|
|
46
|
-
<field
|
|
47
|
-
name="bill_of_entry_tax_id"
|
|
48
|
-
class="o_light_label"
|
|
49
|
-
options="{'no_create': True}"
|
|
50
|
-
/>
|
|
51
|
-
</div>
|
|
52
|
-
<div>
|
|
53
|
-
<label for="bill_of_entry_partner_id" />
|
|
54
|
-
<div
|
|
55
|
-
class="text-muted"
|
|
56
|
-
>Supplier used in bill of entries</div>
|
|
57
|
-
<field
|
|
58
|
-
name="bill_of_entry_partner_id"
|
|
59
|
-
class="o_light_label"
|
|
60
|
-
/>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</xpath>
|
|
12
|
+
<app name="account" position="inside">
|
|
13
|
+
<block name="bill_of_entries_settings" title="Bill of Entries">
|
|
14
|
+
<setting
|
|
15
|
+
company_dependent="1"
|
|
16
|
+
help="Journal used for reconciliation of bill of entries"
|
|
17
|
+
>
|
|
18
|
+
<field
|
|
19
|
+
name="bill_of_entry_journal_id"
|
|
20
|
+
class="o_light_label"
|
|
21
|
+
options="{'no_create': True}"
|
|
22
|
+
/>
|
|
23
|
+
</setting>
|
|
24
|
+
<setting
|
|
25
|
+
help="Tax used in bill of entries generation, when product is not present"
|
|
26
|
+
>
|
|
27
|
+
<field
|
|
28
|
+
name="bill_of_entry_tax_id"
|
|
29
|
+
class="o_light_label"
|
|
30
|
+
options="{'no_create': True}"
|
|
31
|
+
/>
|
|
32
|
+
</setting>
|
|
33
|
+
<setting help="Supplier used in bill of entries">
|
|
34
|
+
<field name="bill_of_entry_partner_id" class="o_light_label" />
|
|
35
|
+
</setting>
|
|
36
|
+
</block>
|
|
37
|
+
</app>
|
|
67
38
|
</field>
|
|
68
39
|
</record>
|
|
69
|
-
|
|
70
40
|
</odoo>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-l10n_it_bill_of_entry
|
|
3
|
-
Version:
|
|
3
|
+
Version: 18.0.1.0.0.3
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
|
-
Requires-Dist: odoo
|
|
5
|
+
Requires-Dist: odoo==18.0.*
|
|
6
6
|
Summary: ITA - Bolle doganali
|
|
7
|
-
Home-page: https://github.com/OCA/l10n-italy
|
|
7
|
+
Home-page: https://github.com/OCA/l10n-italy
|
|
8
8
|
License: AGPL-3
|
|
9
9
|
Author: Agile Business Group, CQ Creativi Quadrati, TAKOBI, Odoo Community Association (OCA)
|
|
10
10
|
Author-email: support@odoo-community.org
|
|
11
11
|
Classifier: Programming Language :: Python
|
|
12
12
|
Classifier: Framework :: Odoo
|
|
13
|
-
Classifier: Framework :: Odoo ::
|
|
13
|
+
Classifier: Framework :: Odoo :: 18.0
|
|
14
14
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
15
|
|
|
16
16
|
====================
|
|
@@ -22,7 +22,7 @@ ITA - Bolle doganali
|
|
|
22
22
|
!! This file is generated by oca-gen-addon-readme !!
|
|
23
23
|
!! changes will be overwritten. !!
|
|
24
24
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
25
|
-
!! source digest: sha256:
|
|
25
|
+
!! source digest: sha256:3e00d2ca646f727ba7922495ad3269aac0ba5e27f1d31378f52f1d8822f63b63
|
|
26
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
27
27
|
|
|
28
28
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -32,13 +32,13 @@ ITA - Bolle doganali
|
|
|
32
32
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
33
33
|
:alt: License: AGPL-3
|
|
34
34
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
|
|
35
|
-
:target: https://github.com/OCA/l10n-italy/tree/
|
|
35
|
+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_bill_of_entry
|
|
36
36
|
:alt: OCA/l10n-italy
|
|
37
37
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
38
|
-
:target: https://translation.odoo-community.org/projects/l10n-italy-
|
|
38
|
+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_bill_of_entry
|
|
39
39
|
:alt: Translate me on Weblate
|
|
40
40
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
41
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=
|
|
41
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
|
|
42
42
|
:alt: Try me on Runboat
|
|
43
43
|
|
|
44
44
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -161,7 +161,7 @@ Bug Tracker
|
|
|
161
161
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
162
162
|
In case of trouble, please check there if your issue has already been reported.
|
|
163
163
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
164
|
-
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_bill_of_entry%0Aversion:%
|
|
164
|
+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_bill_of_entry%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
165
165
|
|
|
166
166
|
Do not contact contributors directly about support or help with technical issues.
|
|
167
167
|
|
|
@@ -189,6 +189,8 @@ Contributors
|
|
|
189
189
|
|
|
190
190
|
- Simone Rubino <simone.rubino@aion-tech.it>
|
|
191
191
|
|
|
192
|
+
- `Nextev Srl <https://nextev.it/>`__ <odoo@nextev.it>
|
|
193
|
+
|
|
192
194
|
Maintainers
|
|
193
195
|
-----------
|
|
194
196
|
|
|
@@ -202,6 +204,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
202
204
|
mission is to support the collaborative development of Odoo features and
|
|
203
205
|
promote its widespread use.
|
|
204
206
|
|
|
205
|
-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/
|
|
207
|
+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_bill_of_entry>`_ project on GitHub.
|
|
206
208
|
|
|
207
209
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
odoo/addons/l10n_it_bill_of_entry/README.rst,sha256=
|
|
1
|
+
odoo/addons/l10n_it_bill_of_entry/README.rst,sha256=jnrzGDnNNfNEYorbnr2S9ZCByiXfzs1tv9An6cebGyo,7268
|
|
2
2
|
odoo/addons/l10n_it_bill_of_entry/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
|
|
3
|
-
odoo/addons/l10n_it_bill_of_entry/__manifest__.py,sha256=
|
|
4
|
-
odoo/addons/l10n_it_bill_of_entry/demo/bill_of_entry_demo.xml,sha256=
|
|
3
|
+
odoo/addons/l10n_it_bill_of_entry/__manifest__.py,sha256=zVBfcfeGKuh3cLQDMju1Jgq0NTh0gqgs2UjlHTrU5Bk,1007
|
|
4
|
+
odoo/addons/l10n_it_bill_of_entry/demo/bill_of_entry_demo.xml,sha256=YJK4IJVZ-FvMdbLLDiIv_st8-l1v-rN4uUxDTvNFoYo,6365
|
|
5
5
|
odoo/addons/l10n_it_bill_of_entry/i18n/it.po,sha256=aZuPN5qPMu-y-e2djRt36tzYq1V1RDrebSsyETv-iFM,14620
|
|
6
|
-
odoo/addons/l10n_it_bill_of_entry/i18n/l10n_it_bill_of_entry.pot,sha256=
|
|
6
|
+
odoo/addons/l10n_it_bill_of_entry/i18n/l10n_it_bill_of_entry.pot,sha256=13gaV8lpL7xeCgsJTlpqR1vNSvb0GTGJVzi5jN9Bg9w,12272
|
|
7
7
|
odoo/addons/l10n_it_bill_of_entry/models/__init__.py,sha256=Y7JROQtv-6sdgmZdUUAg3PdDYGdyXGnaLSeNcon0yCo,115
|
|
8
|
-
odoo/addons/l10n_it_bill_of_entry/models/account_move.py,sha256=
|
|
8
|
+
odoo/addons/l10n_it_bill_of_entry/models/account_move.py,sha256=9DZxQTlzmLEmp3eAK4Mc4wnd9DlbLf35zi8u33esYZE,11947
|
|
9
9
|
odoo/addons/l10n_it_bill_of_entry/models/company.py,sha256=f-D7l8IIHIBogt7LgtVCRLjK9GU9DDgE0g4-ex8MHWg,1250
|
|
10
10
|
odoo/addons/l10n_it_bill_of_entry/readme/CONFIGURE.md,sha256=c2YSOi5auDOEDtvQHRs4v86vO1Gw2Gxv_PwkFFTxqs8,3266
|
|
11
|
-
odoo/addons/l10n_it_bill_of_entry/readme/CONTRIBUTORS.md,sha256=
|
|
11
|
+
odoo/addons/l10n_it_bill_of_entry/readme/CONTRIBUTORS.md,sha256=UHBww4PhzrKP-RidmH7hc29L87GCkkJAaNFI5aiIJCA,345
|
|
12
12
|
odoo/addons/l10n_it_bill_of_entry/readme/DESCRIPTION.md,sha256=7vAu89RlPuQRrHxbdv7wR5SYaHXUnhZkUnzgubmJbwA,204
|
|
13
13
|
odoo/addons/l10n_it_bill_of_entry/readme/USAGE.md,sha256=vs1XYz7Es9WG9q4Bt7gLWslu7ktV7TkirE-9Ynzyy94,642
|
|
14
14
|
odoo/addons/l10n_it_bill_of_entry/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
15
|
-
odoo/addons/l10n_it_bill_of_entry/static/description/index.html,sha256=
|
|
15
|
+
odoo/addons/l10n_it_bill_of_entry/static/description/index.html,sha256=3-bROLuLwZ9c3uSFdf3jajucAl1CXCKbKYU59dyvjvs,17921
|
|
16
16
|
odoo/addons/l10n_it_bill_of_entry/tests/__init__.py,sha256=2wyRcHlMdzJV4P-H8BDZj2HAvSG1xX4c3M604Vy-LGk,100
|
|
17
|
-
odoo/addons/l10n_it_bill_of_entry/tests/test_bill_of_entry.py,sha256
|
|
18
|
-
odoo/addons/l10n_it_bill_of_entry/views/account_invoice_view.xml,sha256=
|
|
19
|
-
odoo/addons/l10n_it_bill_of_entry/views/company_view.xml,sha256
|
|
20
|
-
odoo_addon_l10n_it_bill_of_entry-
|
|
21
|
-
odoo_addon_l10n_it_bill_of_entry-
|
|
22
|
-
odoo_addon_l10n_it_bill_of_entry-
|
|
23
|
-
odoo_addon_l10n_it_bill_of_entry-
|
|
17
|
+
odoo/addons/l10n_it_bill_of_entry/tests/test_bill_of_entry.py,sha256=-OQpxRcBC_8KTcVxDnxkt0FTONxboTbWvLZcPziIx4M,11912
|
|
18
|
+
odoo/addons/l10n_it_bill_of_entry/views/account_invoice_view.xml,sha256=xk2MclMHVt8dPn2gp5ArVhg-XoMl61zQpLK8cVVO0og,9285
|
|
19
|
+
odoo/addons/l10n_it_bill_of_entry/views/company_view.xml,sha256=-qO2-S68XDRdzKw_shfR-uqYX19tcYhN929zgyEqX54,1705
|
|
20
|
+
odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info/METADATA,sha256=eSNJkBI1_mTYw4jMRbtBFxbzhbsWgYdqMI8KbrEs6LM,7816
|
|
21
|
+
odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
|
22
|
+
odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
23
|
+
odoo_addon_l10n_it_bill_of_entry-18.0.1.0.0.3.dist-info/RECORD,,
|
|
File without changes
|