odoo-addon-l10n-es-verifactu-oca 17.0.1.0.2.1__py3-none-any.whl → 18.0.1.0.1__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.
Potentially problematic release.
This version of odoo-addon-l10n-es-verifactu-oca might be problematic. Click here for more details.
- odoo/addons/l10n_es_verifactu_oca/README.rst +6 -6
- odoo/addons/l10n_es_verifactu_oca/__manifest__.py +1 -2
- odoo/addons/l10n_es_verifactu_oca/data/ir_cron.xml +0 -1
- odoo/addons/l10n_es_verifactu_oca/data/verifactu_registration_key_data.xml +0 -2
- odoo/addons/l10n_es_verifactu_oca/i18n/l10n_es_verifactu_oca.pot +9 -70
- odoo/addons/l10n_es_verifactu_oca/static/description/index.html +4 -4
- odoo/addons/l10n_es_verifactu_oca/tests/common.py +8 -4
- odoo/addons/l10n_es_verifactu_oca/tests/test_10n_es_verifactu.py +6 -5
- odoo/addons/l10n_es_verifactu_oca/views/account_fiscal_position_view.xml +0 -1
- odoo/addons/l10n_es_verifactu_oca/views/account_journal_view.xml +0 -4
- odoo/addons/l10n_es_verifactu_oca/views/account_move_view.xml +4 -9
- odoo/addons/l10n_es_verifactu_oca/views/report_invoice.xml +4 -4
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_chaining_view.xml +6 -8
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_developer_view.xml +6 -8
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_invoice_entry_response_view.xml +16 -46
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_invoice_entry_view.xml +7 -6
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_map_lines_view.xml +2 -3
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_map_view.xml +5 -4
- odoo/addons/l10n_es_verifactu_oca/views/verifactu_registration_keys_view.xml +4 -3
- odoo/addons/l10n_es_verifactu_oca/wizards/account_move_reversal.py +1 -1
- {odoo_addon_l10n_es_verifactu_oca-17.0.1.0.2.1.dist-info → odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info}/METADATA +11 -11
- {odoo_addon_l10n_es_verifactu_oca-17.0.1.0.2.1.dist-info → odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info}/RECORD +24 -25
- odoo/addons/l10n_es_verifactu_oca/views/res_partner_view.xml +0 -14
- {odoo_addon_l10n_es_verifactu_oca-17.0.1.0.2.1.dist-info → odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info}/WHEEL +0 -0
- {odoo_addon_l10n_es_verifactu_oca-17.0.1.0.2.1.dist-info → odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -96,8 +96,9 @@ class TestL10nEsAeatVerifactu(TestVerifactuCommon):
|
|
|
96
96
|
invoice = self.env["account.move"].create(vals)
|
|
97
97
|
self._activate_certificate(self.certificate_password)
|
|
98
98
|
first_now = datetime(2026, 1, 1, 19, 20, 30)
|
|
99
|
-
with
|
|
100
|
-
first_now
|
|
99
|
+
with (
|
|
100
|
+
patch.object(self.env.cr, "now", lambda: first_now),
|
|
101
|
+
freeze_time(first_now),
|
|
101
102
|
):
|
|
102
103
|
invoice.action_post()
|
|
103
104
|
result_dict = invoice._get_verifactu_invoice_dict()
|
|
@@ -106,7 +107,7 @@ class TestL10nEsAeatVerifactu(TestVerifactuCommon):
|
|
|
106
107
|
result_dict["RegistroAlta"].pop("Huella")
|
|
107
108
|
path = file_path(f"{module}/tests/json/{json_file}")
|
|
108
109
|
if not path:
|
|
109
|
-
raise Exception("Incorrect JSON file:
|
|
110
|
+
raise Exception(f"Incorrect JSON file: {json_file}")
|
|
110
111
|
with open(path) as f:
|
|
111
112
|
expected_dict = json.loads(f.read())
|
|
112
113
|
self.assertEqual(expected_dict, result_dict)
|
|
@@ -265,7 +266,7 @@ class TestL10nEsAeatVerifactuQR(TestVerifactuCommon):
|
|
|
265
266
|
json_file = "verifactu_mocked_response_1.json"
|
|
266
267
|
path = file_path(f"{module}/tests/json/{json_file}")
|
|
267
268
|
if not path:
|
|
268
|
-
raise Exception("Incorrect JSON file:
|
|
269
|
+
raise Exception(f"Incorrect JSON file: {json_file}")
|
|
269
270
|
with open(path) as f:
|
|
270
271
|
response_dict = json.loads(f.read())
|
|
271
272
|
mock_service.RegFactuSistemaFacturacion.return_value = response_dict
|
|
@@ -370,7 +371,7 @@ class TestVerifactuSendResponse(TestVerifactuCommon):
|
|
|
370
371
|
json_file = "verifactu_mocked_response_2.json"
|
|
371
372
|
path = file_path(f"{module}/tests/json/{json_file}")
|
|
372
373
|
if not path:
|
|
373
|
-
raise Exception("Incorrect JSON file:
|
|
374
|
+
raise Exception(f"Incorrect JSON file: {json_file}")
|
|
374
375
|
with open(path) as f:
|
|
375
376
|
response_dict = json.loads(f.read())
|
|
376
377
|
mock_service.RegFactuSistemaFacturacion.return_value = response_dict
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
<field name="model">account.journal</field>
|
|
6
6
|
<field name="inherit_id" ref="account.view_account_journal_form" />
|
|
7
7
|
<field name="arch" type="xml">
|
|
8
|
-
<xpath expr="//field[@name='restrict_mode_hash_table']" position="before">
|
|
9
|
-
<field name="restrict_mode_hash_table_readonly" invisible="1" />
|
|
10
|
-
</xpath>
|
|
11
8
|
<xpath
|
|
12
9
|
expr="//field[@name='restrict_mode_hash_table']"
|
|
13
10
|
position="attributes"
|
|
@@ -15,7 +12,6 @@
|
|
|
15
12
|
<attribute name="readonly">restrict_mode_hash_table_readonly</attribute>
|
|
16
13
|
</xpath>
|
|
17
14
|
<xpath expr="//field[@name='restrict_mode_hash_table']" position="before">
|
|
18
|
-
<field name="company_verifactu_enabled" invisible="1" />
|
|
19
15
|
<field
|
|
20
16
|
name="verifactu_enabled"
|
|
21
17
|
invisible="not company_verifactu_enabled or type != 'sale'"
|
|
@@ -19,10 +19,6 @@
|
|
|
19
19
|
/>
|
|
20
20
|
</button>
|
|
21
21
|
<notebook position="inside">
|
|
22
|
-
<field
|
|
23
|
-
name="verifactu_enabled"
|
|
24
|
-
invisible="1"
|
|
25
|
-
/> <!-- To be removed in v18 as not needed -->
|
|
26
22
|
<page
|
|
27
23
|
string="VERI*FACTU"
|
|
28
24
|
name="page_aeat"
|
|
@@ -33,7 +29,6 @@
|
|
|
33
29
|
string="Configuration"
|
|
34
30
|
name="group_verifactu_configuration"
|
|
35
31
|
>
|
|
36
|
-
<field name="aeat_state" invisible="1" />
|
|
37
32
|
<field
|
|
38
33
|
name="verifactu_refund_type"
|
|
39
34
|
string="Refund type"
|
|
@@ -129,7 +124,7 @@
|
|
|
129
124
|
nolabel="1"
|
|
130
125
|
colspan="2"
|
|
131
126
|
>
|
|
132
|
-
<
|
|
127
|
+
<list>
|
|
133
128
|
<field name="create_date" />
|
|
134
129
|
<field name="entry_id" />
|
|
135
130
|
<field
|
|
@@ -139,7 +134,7 @@
|
|
|
139
134
|
decoration-success="send_state == 'correct'"
|
|
140
135
|
decoration-danger="send_state not in ('correct', 'accepted_with_errors')"
|
|
141
136
|
/>
|
|
142
|
-
</
|
|
137
|
+
</list>
|
|
143
138
|
</field>
|
|
144
139
|
</group>
|
|
145
140
|
</page>
|
|
@@ -204,11 +199,11 @@
|
|
|
204
199
|
</record>
|
|
205
200
|
|
|
206
201
|
<record id="invoice_verifactu_tree" model="ir.ui.view">
|
|
207
|
-
<field name="name">account.invoice.
|
|
202
|
+
<field name="name">account.invoice.list</field>
|
|
208
203
|
<field name="model">account.move</field>
|
|
209
204
|
<field name="inherit_id" ref="account.view_invoice_tree" />
|
|
210
205
|
<field name="arch" type="xml">
|
|
211
|
-
<field name="
|
|
206
|
+
<field name="status_in_payment" position="after">
|
|
212
207
|
<field
|
|
213
208
|
name="aeat_state"
|
|
214
209
|
decoration-success="aeat_state == 'sent'"
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
</xpath>
|
|
14
14
|
</template>
|
|
15
15
|
<template id="address_layout" inherit_id="web.address_layout" priority="1000">
|
|
16
|
-
<div class="address row " position="attributes">
|
|
16
|
+
<div t-attf-class="address row mb-4" position="attributes">
|
|
17
17
|
<attribute name="t-if">not verifactu_invoice</attribute>
|
|
18
18
|
</div>
|
|
19
|
-
<div class="address row " position="after">
|
|
19
|
+
<div t-attf-class="address row mb-4" position="after">
|
|
20
20
|
<div t-if="verifactu_invoice" class="row" id="verifactu_row">
|
|
21
21
|
<div
|
|
22
22
|
id="verifactu"
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
<t t-out="information_block" />
|
|
39
39
|
</div>
|
|
40
40
|
<div name="address" t-att-class="colclass">
|
|
41
|
-
|
|
41
|
+
<t t-esc="address" />
|
|
42
42
|
</div>
|
|
43
43
|
</t>
|
|
44
44
|
<t t-if="not information_block">
|
|
45
45
|
<t t-set="colclass" t-value="'col-5 offset-4'" />
|
|
46
46
|
<div name="address" t-att-class="colclass">
|
|
47
|
-
|
|
47
|
+
<t t-esc="address" />
|
|
48
48
|
</div>
|
|
49
49
|
</t>
|
|
50
50
|
</div>
|
|
@@ -15,29 +15,27 @@
|
|
|
15
15
|
<field name="installation_number" />
|
|
16
16
|
</group>
|
|
17
17
|
</sheet>
|
|
18
|
-
<
|
|
19
|
-
<field name="message_follower_ids" groups="base.group_user" />
|
|
20
|
-
<field name="message_ids" />
|
|
21
|
-
</div>
|
|
18
|
+
<chatter />
|
|
22
19
|
</form>
|
|
23
20
|
</field>
|
|
24
21
|
</record>
|
|
25
22
|
<record id="verifactu_chaining_tree_view" model="ir.ui.view">
|
|
26
|
-
<field name="name">verifactu.chaining.
|
|
23
|
+
<field name="name">verifactu.chaining.list</field>
|
|
27
24
|
<field name="model">verifactu.chaining</field>
|
|
28
25
|
<field name="arch" type="xml">
|
|
29
|
-
<
|
|
26
|
+
<list>
|
|
30
27
|
<field name="name" />
|
|
31
28
|
<field name="last_verifactu_invoice_entry_id" />
|
|
32
29
|
<field name="sif_id" />
|
|
33
30
|
<field name="installation_number" />
|
|
34
|
-
</
|
|
31
|
+
</list>
|
|
35
32
|
</field>
|
|
36
33
|
</record>
|
|
37
34
|
<record id="verifactu_chaining_action" model="ir.actions.act_window">
|
|
38
35
|
<field name="name">VERI*FACTU chainings</field>
|
|
36
|
+
<field name="path">verifactu-chainings</field>
|
|
39
37
|
<field name="res_model">verifactu.chaining</field>
|
|
40
|
-
<field name="view_mode">
|
|
38
|
+
<field name="view_mode">list,form</field>
|
|
41
39
|
</record>
|
|
42
40
|
<menuitem
|
|
43
41
|
id="verifactu_chaining_menu"
|
|
@@ -16,29 +16,27 @@
|
|
|
16
16
|
<field name="responsibility_declaration" />
|
|
17
17
|
</group>
|
|
18
18
|
</sheet>
|
|
19
|
-
<
|
|
20
|
-
<field name="message_follower_ids" groups="base.group_user" />
|
|
21
|
-
<field name="message_ids" />
|
|
22
|
-
</div>
|
|
19
|
+
<chatter />
|
|
23
20
|
</form>
|
|
24
21
|
</field>
|
|
25
22
|
</record>
|
|
26
23
|
<record id="verifactu_developer_tree_view" model="ir.ui.view">
|
|
27
|
-
<field name="name">verifactu.developer.
|
|
24
|
+
<field name="name">verifactu.developer.list</field>
|
|
28
25
|
<field name="model">verifactu.developer</field>
|
|
29
26
|
<field name="arch" type="xml">
|
|
30
|
-
<
|
|
27
|
+
<list>
|
|
31
28
|
<field name="name" />
|
|
32
29
|
<field name="vat" />
|
|
33
30
|
<field name="sif_name" />
|
|
34
31
|
<field name="version" />
|
|
35
|
-
</
|
|
32
|
+
</list>
|
|
36
33
|
</field>
|
|
37
34
|
</record>
|
|
38
35
|
<record id="verifactu_developer_action" model="ir.actions.act_window">
|
|
39
36
|
<field name="name">VERI*FACTU developers</field>
|
|
40
37
|
<field name="res_model">verifactu.developer</field>
|
|
41
|
-
<field name="
|
|
38
|
+
<field name="path">verifactu-developers</field>
|
|
39
|
+
<field name="view_mode">list,form</field>
|
|
42
40
|
</record>
|
|
43
41
|
<menuitem
|
|
44
42
|
id="verifactu_developer_menu"
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
|
4
4
|
<odoo>
|
|
5
5
|
<record id="verifactu_invoice_entry_response_view_tree" model="ir.ui.view">
|
|
6
|
-
<field name="name">verifactu.invoice.entry.response.view.
|
|
6
|
+
<field name="name">verifactu.invoice.entry.response.view.list</field>
|
|
7
7
|
<field name="model">verifactu.invoice.entry.response</field>
|
|
8
8
|
<field name="arch" type="xml">
|
|
9
|
-
<
|
|
9
|
+
<list create="false" delete="false" duplicate="0">
|
|
10
10
|
<field name="id" />
|
|
11
11
|
<field name="name" />
|
|
12
12
|
<field name="date_response" />
|
|
13
13
|
<field name="verifactu_csv" />
|
|
14
14
|
<field name="header" />
|
|
15
|
-
</
|
|
15
|
+
</list>
|
|
16
16
|
</field>
|
|
17
17
|
</record>
|
|
18
18
|
<record id="verifactu_invoice_entry_response_view_form" model="ir.ui.view">
|
|
@@ -62,15 +62,7 @@
|
|
|
62
62
|
</page>
|
|
63
63
|
</notebook>
|
|
64
64
|
</sheet>
|
|
65
|
-
<
|
|
66
|
-
<field
|
|
67
|
-
name="name"
|
|
68
|
-
groups="base.group_user"
|
|
69
|
-
options="{'post_refresh': 'recipients'}"
|
|
70
|
-
/>
|
|
71
|
-
<field name="activity_ids" />
|
|
72
|
-
<field name="message_ids" />
|
|
73
|
-
</div>
|
|
65
|
+
<chatter />
|
|
74
66
|
</form>
|
|
75
67
|
</field>
|
|
76
68
|
</record>
|
|
@@ -79,39 +71,16 @@
|
|
|
79
71
|
<field name="model">verifactu.invoice.entry.response</field>
|
|
80
72
|
<field name="arch" type="xml">
|
|
81
73
|
<kanban class="o_kanban_activity">
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</span>
|
|
93
|
-
</strong>
|
|
94
|
-
</div>
|
|
95
|
-
<div class="col-6 text-end">
|
|
96
|
-
<strong><i
|
|
97
|
-
class="fa fa-clock-o"
|
|
98
|
-
aria-label="Date"
|
|
99
|
-
role="img"
|
|
100
|
-
title="Date"
|
|
101
|
-
/> <t
|
|
102
|
-
t-esc="record.date_response.value"
|
|
103
|
-
/></strong>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
<div class="row">
|
|
107
|
-
<div class="col-12">
|
|
108
|
-
<span><field name="activity_type_id" /></span>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
</t>
|
|
113
|
-
</templates>
|
|
114
|
-
</kanban>
|
|
74
|
+
<field name="name" />
|
|
75
|
+
<field name="date_response" />
|
|
76
|
+
<templates>
|
|
77
|
+
<t t-name="card">
|
|
78
|
+
<field name="name" />
|
|
79
|
+
<field name="date_response" />
|
|
80
|
+
<field name="activity_type_id" />
|
|
81
|
+
</t>
|
|
82
|
+
</templates>
|
|
83
|
+
</kanban>
|
|
115
84
|
</field>
|
|
116
85
|
</record>
|
|
117
86
|
<record id="verifactu_invoice_entry_response_view_search" model="ir.ui.view">
|
|
@@ -133,7 +102,8 @@
|
|
|
133
102
|
<record id="action_verifactu_invoice_entry_response" model="ir.actions.act_window">
|
|
134
103
|
<field name="name">VERI*FACTU responses</field>
|
|
135
104
|
<field name="res_model">verifactu.invoice.entry.response</field>
|
|
136
|
-
<field name="
|
|
105
|
+
<field name="path">verifactu-invoice-entry-responses</field>
|
|
106
|
+
<field name="view_mode">list,form</field>
|
|
137
107
|
<field name="help" type="html">
|
|
138
108
|
<p class="o_view_nocontent_smiling_face">
|
|
139
109
|
No VERI*FACTU responses found!
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
2
|
<odoo>
|
|
3
3
|
<record id="view_verifactu_invoice_entry_tree" model="ir.ui.view">
|
|
4
|
-
<field name="name">verifactu.invoice.entry.
|
|
4
|
+
<field name="name">verifactu.invoice.entry.list</field>
|
|
5
5
|
<field name="model">verifactu.invoice.entry</field>
|
|
6
6
|
<field name="arch" type="xml">
|
|
7
|
-
<
|
|
7
|
+
<list create="false" edit="false" delete="false" duplicate="0">
|
|
8
8
|
<field name="create_date" />
|
|
9
9
|
<field name="verifactu_chaining_id" />
|
|
10
10
|
<field name="document_id" optional="hide" />
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
decoration-success="send_state == 'correct'"
|
|
22
22
|
decoration-danger="send_state not in ('correct', 'accepted_with_errors')"
|
|
23
23
|
/>
|
|
24
|
-
</
|
|
24
|
+
</list>
|
|
25
25
|
</field>
|
|
26
26
|
</record>
|
|
27
27
|
<record id="view_verifactu_invoice_entry_form" model="ir.ui.view">
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<page string="Responses">
|
|
59
59
|
<group>
|
|
60
60
|
<field name="response_line_ids">
|
|
61
|
-
<
|
|
61
|
+
<list>
|
|
62
62
|
<field name="entry_id" column_invisible="1" />
|
|
63
63
|
<field name="entry_response_id" />
|
|
64
64
|
<field name="create_date" />
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
decoration-success="send_state == 'correct'"
|
|
70
70
|
decoration-danger="send_state not in ('correct', 'accepted_with_errors')"
|
|
71
71
|
/>
|
|
72
|
-
</
|
|
72
|
+
</list>
|
|
73
73
|
</field>
|
|
74
74
|
</group>
|
|
75
75
|
</page>
|
|
@@ -110,7 +110,8 @@
|
|
|
110
110
|
<record id="action_verifactu_invoice_entry" model="ir.actions.act_window">
|
|
111
111
|
<field name="name">VERI*FACTU invoices</field>
|
|
112
112
|
<field name="res_model">verifactu.invoice.entry</field>
|
|
113
|
-
<field name="
|
|
113
|
+
<field name="path">verifactu-invoice-entries</field>
|
|
114
|
+
<field name="view_mode">list,form</field>
|
|
114
115
|
<field name="help" type="html">
|
|
115
116
|
<p class="o_view_nocontent_smiling_face">
|
|
116
117
|
No VERI*FACTU invoice entries found!
|
|
@@ -6,12 +6,11 @@
|
|
|
6
6
|
<record id="l10n_es_verifactu_map_lines_view_tree" model="ir.ui.view">
|
|
7
7
|
<field name="model">verifactu.map.line</field>
|
|
8
8
|
<field name="arch" type="xml">
|
|
9
|
-
<
|
|
9
|
+
<list editable="bottom">
|
|
10
10
|
<field name="code" />
|
|
11
11
|
<field name="name" />
|
|
12
12
|
<field name="tax_xmlid_ids" widget="many2many_tags" />
|
|
13
|
-
</
|
|
13
|
+
</list>
|
|
14
14
|
</field>
|
|
15
15
|
</record>
|
|
16
|
-
|
|
17
16
|
</odoo>
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
|
4
4
|
<odoo>
|
|
5
5
|
<record id="verifactu_map_view_tree" model="ir.ui.view">
|
|
6
|
-
<field name="name">verifactu.map.view.
|
|
6
|
+
<field name="name">verifactu.map.view.list</field>
|
|
7
7
|
<field name="model">verifactu.map</field>
|
|
8
8
|
<field name="arch" type="xml">
|
|
9
|
-
<
|
|
9
|
+
<list>
|
|
10
10
|
<field name="name" />
|
|
11
11
|
<field name="date_from" />
|
|
12
12
|
<field name="date_to" />
|
|
13
|
-
</
|
|
13
|
+
</list>
|
|
14
14
|
</field>
|
|
15
15
|
</record>
|
|
16
16
|
<record id="verifactu_map_view_form" model="ir.ui.view">
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
<record id="action_verifactu_mapping" model="ir.actions.act_window">
|
|
44
44
|
<field name="name">VERI*FACTU mappings</field>
|
|
45
45
|
<field name="res_model">verifactu.map</field>
|
|
46
|
-
<field name="
|
|
46
|
+
<field name="path">verifactu-maps</field>
|
|
47
|
+
<field name="view_mode">list,form</field>
|
|
47
48
|
</record>
|
|
48
49
|
<menuitem
|
|
49
50
|
id="menu_verifactu_map"
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<record id="verifactu_registration_keys_view_tree" model="ir.ui.view">
|
|
6
6
|
<field name="model">verifactu.registration.key</field>
|
|
7
7
|
<field name="arch" type="xml">
|
|
8
|
-
<
|
|
8
|
+
<list editable="bottom">
|
|
9
9
|
<field name="code" />
|
|
10
10
|
<field name="name" />
|
|
11
11
|
<field name="verifactu_tax_key" />
|
|
12
|
-
</
|
|
12
|
+
</list>
|
|
13
13
|
</field>
|
|
14
14
|
</record>
|
|
15
15
|
<record id="verifactu_registration_keys_view_search" model="ir.ui.view">
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
<record id="action_verifactu_registration_keys" model="ir.actions.act_window">
|
|
33
33
|
<field name="name">VERI*FACTU registration keys</field>
|
|
34
34
|
<field name="res_model">verifactu.registration.key</field>
|
|
35
|
-
<field name="
|
|
35
|
+
<field name="path">verifactu-registration-keys</field>
|
|
36
|
+
<field name="view_mode">list,form</field>
|
|
36
37
|
</record>
|
|
37
38
|
<menuitem
|
|
38
39
|
id="menu_verifactu_registration_keys"
|
|
@@ -11,6 +11,6 @@ class AccountMoveReversal(models.TransientModel):
|
|
|
11
11
|
def reverse_moves(self):
|
|
12
12
|
res = super().reverse_moves()
|
|
13
13
|
self.move_ids.filtered(lambda mov: mov.move_type == "out_invoice").mapped(
|
|
14
|
-
"
|
|
14
|
+
"reversal_move_ids"
|
|
15
15
|
).write({"verifactu_refund_type": "I"})
|
|
16
16
|
return res
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-l10n_es_verifactu_oca
|
|
3
|
-
Version:
|
|
3
|
+
Version: 18.0.1.0.1
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
|
-
Requires-Dist: odoo-addon-account_invoice_refund_link
|
|
6
|
-
Requires-Dist: odoo-addon-l10n_es_aeat
|
|
7
|
-
Requires-Dist: odoo
|
|
5
|
+
Requires-Dist: odoo-addon-account_invoice_refund_link==18.0.*
|
|
6
|
+
Requires-Dist: odoo-addon-l10n_es_aeat==18.0.*
|
|
7
|
+
Requires-Dist: odoo==18.0.*
|
|
8
8
|
Summary: =?utf-8?q?Comunicaci=C3=B3n_VERI*FACTU?=
|
|
9
9
|
Home-page: https://github.com/OCA/l10n-spain
|
|
10
10
|
License: AGPL-3
|
|
@@ -12,7 +12,7 @@ Author: Aures Tic,ForgeFlow,Tecnativa,Odoo Community Association (OCA)
|
|
|
12
12
|
Author-email: support@odoo-community.org
|
|
13
13
|
Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Framework :: Odoo
|
|
15
|
-
Classifier: Framework :: Odoo ::
|
|
15
|
+
Classifier: Framework :: Odoo :: 18.0
|
|
16
16
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
17
17
|
Description-Content-Type: text/x-rst
|
|
18
18
|
|
|
@@ -29,7 +29,7 @@ Comunicación VERI*FACTU
|
|
|
29
29
|
!! This file is generated by oca-gen-addon-readme !!
|
|
30
30
|
!! changes will be overwritten. !!
|
|
31
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
32
|
-
!! source digest: sha256:
|
|
32
|
+
!! source digest: sha256:ee6a3185ffd29e9b87ce09b4f8c84bfe3003e8607887f780dcbbbc35f122f1f1
|
|
33
33
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
34
34
|
|
|
35
35
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -39,13 +39,13 @@ Comunicación VERI*FACTU
|
|
|
39
39
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
40
40
|
:alt: License: AGPL-3
|
|
41
41
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
|
|
42
|
-
:target: https://github.com/OCA/l10n-spain/tree/
|
|
42
|
+
:target: https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_verifactu_oca
|
|
43
43
|
:alt: OCA/l10n-spain
|
|
44
44
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
45
|
-
:target: https://translation.odoo-community.org/projects/l10n-spain-
|
|
45
|
+
:target: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_verifactu_oca
|
|
46
46
|
:alt: Translate me on Weblate
|
|
47
47
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
48
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=
|
|
48
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=18.0
|
|
49
49
|
:alt: Try me on Runboat
|
|
50
50
|
|
|
51
51
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -145,7 +145,7 @@ Bug Tracker
|
|
|
145
145
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
|
|
146
146
|
In case of trouble, please check there if your issue has already been reported.
|
|
147
147
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
148
|
-
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_verifactu_oca%0Aversion:%
|
|
148
|
+
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_verifactu_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
149
149
|
|
|
150
150
|
Do not contact contributors directly about support or help with technical issues.
|
|
151
151
|
|
|
@@ -203,6 +203,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
203
203
|
mission is to support the collaborative development of Odoo features and
|
|
204
204
|
promote its widespread use.
|
|
205
205
|
|
|
206
|
-
This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/
|
|
206
|
+
This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_verifactu_oca>`_ project on GitHub.
|
|
207
207
|
|
|
208
208
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
odoo/addons/l10n_es_verifactu_oca/README.rst,sha256=
|
|
1
|
+
odoo/addons/l10n_es_verifactu_oca/README.rst,sha256=I-Yp9FsPuAe7nBpBBs2oLDgje9Ys-tnm0vGbqEgNwWo,7087
|
|
2
2
|
odoo/addons/l10n_es_verifactu_oca/__init__.py,sha256=GnWm38RNVl0F1QEHgICghDeuin84Dfykn-GEIm_MLUo,92
|
|
3
|
-
odoo/addons/l10n_es_verifactu_oca/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/l10n_es_verifactu_oca/__manifest__.py,sha256=Rf2sljNQIguMkXaFkyux4hHbhVsQu_jCDCZnv69Vbd0,1786
|
|
4
4
|
odoo/addons/l10n_es_verifactu_oca/hooks.py,sha256=6N6n-GUbWnzR3yYOJdueqXpfVXR-tINLasbkAD7rHWk,1865
|
|
5
5
|
odoo/addons/l10n_es_verifactu_oca/data/ir_config_parameter.xml,sha256=JEq2J9YjsjCbFRY9XeoZUuHvP8hs2rhTAgs7fqmFuf8,393
|
|
6
|
-
odoo/addons/l10n_es_verifactu_oca/data/ir_cron.xml,sha256=
|
|
6
|
+
odoo/addons/l10n_es_verifactu_oca/data/ir_cron.xml,sha256=o-_hgrUaf7clBVzTTdZ6EftXnIDZzBikztD1KARKNfw,654
|
|
7
7
|
odoo/addons/l10n_es_verifactu_oca/data/l10n.es.aeat.map.tax.line.tax.csv,sha256=d8xXnjIJQrOifCNk-Cgu1qrRuMoR8Da47Oqi_Qb4Aas,1948
|
|
8
8
|
odoo/addons/l10n_es_verifactu_oca/data/mail_activity_data.xml,sha256=3TVX1YY2AJyoBa_sizJ9PGyY5uHUxAYSm56b27jHSSU,495
|
|
9
9
|
odoo/addons/l10n_es_verifactu_oca/data/neutralize.sql,sha256=eTzbCKiCMSm5NaKhA1mWfhEKHkQdqJf7TuzqIBedua0,81
|
|
10
10
|
odoo/addons/l10n_es_verifactu_oca/data/verifactu.map.csv,sha256=Wsgb3LG0l91CQJtNWgQRKjEoixeWrAnr09zXzEMBmWo,41
|
|
11
11
|
odoo/addons/l10n_es_verifactu_oca/data/verifactu.map.line.csv,sha256=3NnObZLtu1dCplWIPD08IJB-jF8ODvshv772nAAi-Yw,1263
|
|
12
|
-
odoo/addons/l10n_es_verifactu_oca/data/verifactu_registration_key_data.xml,sha256=
|
|
12
|
+
odoo/addons/l10n_es_verifactu_oca/data/verifactu_registration_key_data.xml,sha256=nEJ7xDVElXxAnNAau_fpMNa2khksEmb6IKmkXsIPv2s,10696
|
|
13
13
|
odoo/addons/l10n_es_verifactu_oca/data/verifactu_tax_agency_data.xml,sha256=_YUGlGGJQAObWECaketUzWudrTCVwT2IwTaocse6fMo,888
|
|
14
14
|
odoo/addons/l10n_es_verifactu_oca/data/template/account.fiscal.position-es_common.csv,sha256=rF3gj9iSA8TBjczIFI3ZxwXVqMClFcfB4Z8fdzkgEew,1351
|
|
15
15
|
odoo/addons/l10n_es_verifactu_oca/i18n/es.po,sha256=kFgExkbuehNsZtoOy5AA-CMbcz4XaYhQh_woFeWaZj8,75411
|
|
16
|
-
odoo/addons/l10n_es_verifactu_oca/i18n/l10n_es_verifactu_oca.pot,sha256=
|
|
16
|
+
odoo/addons/l10n_es_verifactu_oca/i18n/l10n_es_verifactu_oca.pot,sha256=4v30PzCtEe0BgewE75N8H0Awi-UuL3tI2o_Up97zncs,63838
|
|
17
17
|
odoo/addons/l10n_es_verifactu_oca/models/__init__.py,sha256=0q84HT4f_I54KG6PsiqiMFtAWhziVYVBYuPEmX1rIO4,517
|
|
18
18
|
odoo/addons/l10n_es_verifactu_oca/models/account_chart_template.py,sha256=Aq2FVb1HYK-y5Pfvim3zEmOoGNwUIXuUugt6iRVyOPo,518
|
|
19
19
|
odoo/addons/l10n_es_verifactu_oca/models/account_fiscal_position.py,sha256=u8G-XgHIrqv45amDX0P85DlsyExeshfPgg6gAX72x6Q,1171
|
|
@@ -39,33 +39,32 @@ odoo/addons/l10n_es_verifactu_oca/readme/USAGE.md,sha256=j__r7F3ZFSPDhKCaaqHiZ1d
|
|
|
39
39
|
odoo/addons/l10n_es_verifactu_oca/security/ir.model.access.csv,sha256=xSYMPaYz5lc9A_ngmwaJkTM3onEJ5zlhahprTDxQOAQ,3025
|
|
40
40
|
odoo/addons/l10n_es_verifactu_oca/security/verifactu_security.xml,sha256=CRVoyXoLa8ovzDMIAc_3F8HOzEkZdnk_JH2YH1n3PkY,227
|
|
41
41
|
odoo/addons/l10n_es_verifactu_oca/static/description/icon.png,sha256=CgnOEZCwoe6f1vlLwkqFVfc2q_uwBMU0UnXN8j6X5ag,10254
|
|
42
|
-
odoo/addons/l10n_es_verifactu_oca/static/description/index.html,sha256=
|
|
42
|
+
odoo/addons/l10n_es_verifactu_oca/static/description/index.html,sha256=atAIAOUlYqsDrD9mjqvPd4Eu-j7yW5BGAmWP1LKaXjM,17795
|
|
43
43
|
odoo/addons/l10n_es_verifactu_oca/tests/__init__.py,sha256=6LNl_lyd3IHnmLNKN6TlxcntSYIJ-y159FbnzPF6rPA,73
|
|
44
|
-
odoo/addons/l10n_es_verifactu_oca/tests/common.py,sha256=
|
|
45
|
-
odoo/addons/l10n_es_verifactu_oca/tests/test_10n_es_verifactu.py,sha256=
|
|
44
|
+
odoo/addons/l10n_es_verifactu_oca/tests/common.py,sha256=2ZsmIhn22OXuFP9FXyUPU-i7YXPQfP_SwwcjwTE3YHs,10026
|
|
45
|
+
odoo/addons/l10n_es_verifactu_oca/tests/test_10n_es_verifactu.py,sha256=b6kfqmjbCjCz6KGTEXA4CPsigOvXA4s-oSw9q2NNVk8,15952
|
|
46
46
|
odoo/addons/l10n_es_verifactu_oca/tests/test_verifactu_invoice.py,sha256=rkd8-fcKyqU8dbPoF7_gBEQwm9pmMalohJ-UNHnaww4,12659
|
|
47
47
|
odoo/addons/l10n_es_verifactu_oca/tests/json/verifactu_mocked_response_1.json,sha256=Yb_D0IwEquC97yAFwN0pxSTwgfhdeo55172AhcxRCOw,831
|
|
48
48
|
odoo/addons/l10n_es_verifactu_oca/tests/json/verifactu_mocked_response_2.json,sha256=LHm5V879epI67rc6a9AwUXBZavog2sy_pMEUU1B7ta8,841
|
|
49
49
|
odoo/addons/l10n_es_verifactu_oca/tests/json/verifactu_out_invoice_s_iva10b_s_iva21s_dict.json,sha256=FdOL4fbSZ0X_W6YKa_TcnQZoN72_FP20VxMXkI3SY0M,1496
|
|
50
50
|
odoo/addons/l10n_es_verifactu_oca/tests/json/verifactu_out_invoice_s_iva21s_s_req52_dict.json,sha256=YYxduFRWxA5fsnjtjEY4KU8CXLDzlYo_XlNXbhpX-hQ,1558
|
|
51
51
|
odoo/addons/l10n_es_verifactu_oca/tests/json/verifactu_out_refund_s_iva10b_s_iva10b_s_iva21s_dict.json,sha256=JooUcpXB3PqAQFnXBRIZmlRquImCsskHGjdTLT8MwfU,1783
|
|
52
|
-
odoo/addons/l10n_es_verifactu_oca/views/account_fiscal_position_view.xml,sha256=
|
|
53
|
-
odoo/addons/l10n_es_verifactu_oca/views/account_journal_view.xml,sha256=
|
|
54
|
-
odoo/addons/l10n_es_verifactu_oca/views/account_move_view.xml,sha256=
|
|
52
|
+
odoo/addons/l10n_es_verifactu_oca/views/account_fiscal_position_view.xml,sha256=qbWbUbMC9cQJOsmkvRNFtXjqcvyrKU-D6ltEg6-ZdeY,1285
|
|
53
|
+
odoo/addons/l10n_es_verifactu_oca/views/account_journal_view.xml,sha256=6dDGsK5kfrVu9OVGeddzPm0e6_28kabvrolw7g2yUJ8,921
|
|
54
|
+
odoo/addons/l10n_es_verifactu_oca/views/account_move_view.xml,sha256=FX2vGoD_enUoakzpTVVxX39CGI5HIWrQeoNrxJ_kcUU,10600
|
|
55
55
|
odoo/addons/l10n_es_verifactu_oca/views/aeat_tax_agency_view.xml,sha256=dF2VoTFu-OenP9vRZ8-f2x5Ooxfoey7qEn9kAwV27lQ,1393
|
|
56
|
-
odoo/addons/l10n_es_verifactu_oca/views/report_invoice.xml,sha256=
|
|
56
|
+
odoo/addons/l10n_es_verifactu_oca/views/report_invoice.xml,sha256=u4OltFwc8u6gYuEXI3Ve8FLDw9M3CwgJpPYbYFPqlt8,2162
|
|
57
57
|
odoo/addons/l10n_es_verifactu_oca/views/res_company_view.xml,sha256=fuEwygLUeZ5EvsR0DukMPvcUu-MwhG7vAZ8_z9BidF4,2340
|
|
58
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
59
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
60
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
61
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
62
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
63
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
64
|
-
odoo/addons/l10n_es_verifactu_oca/views/
|
|
65
|
-
odoo/addons/l10n_es_verifactu_oca/views/verifactu_registration_keys_view.xml,sha256=xHlr8YQnqyUIg5B1IW_4E6OlMxAabxMfP5KGzODkc4I,1687
|
|
58
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_chaining_view.xml,sha256=CV4OORpqk3PJ73VdeD8EI2uPPCfG9tS033Ll0q9i0c8,1785
|
|
59
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_developer_view.xml,sha256=op3pt365qpj2-I2OletnQ6nntjlgoiJwBjS_u9uHrwA,1789
|
|
60
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_invoice_entry_response_view.xml,sha256=s53STZ5bsO2SideM4GgXeLBXURw2Piz-1Kye7CkaI04,5219
|
|
61
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_invoice_entry_view.xml,sha256=ioVJ_xE3IYhVhup8nDfgl_6bYuxZbptT-psy33_o1Ck,5719
|
|
62
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_map_lines_view.xml,sha256=z9aj9FnIOukKBRNvs3F_1jGuIeRdcjcTYufJQV2nGmw,636
|
|
63
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_map_view.xml,sha256=vDdPcfyebCEjROfQjqgjl4kx3e39gL6elE1js2Q5NCI,2037
|
|
64
|
+
odoo/addons/l10n_es_verifactu_oca/views/verifactu_registration_keys_view.xml,sha256=HQVuarK7MFa2WHuuAQLPFkRhcEkxFxljWepaR0Ldy68,1750
|
|
66
65
|
odoo/addons/l10n_es_verifactu_oca/wizards/__init__.py,sha256=h3RXjkbm-pOsNi6H8t9DO61-oFjlUkha7P_TjOBkPT4,36
|
|
67
|
-
odoo/addons/l10n_es_verifactu_oca/wizards/account_move_reversal.py,sha256=
|
|
68
|
-
odoo_addon_l10n_es_verifactu_oca-
|
|
69
|
-
odoo_addon_l10n_es_verifactu_oca-
|
|
70
|
-
odoo_addon_l10n_es_verifactu_oca-
|
|
71
|
-
odoo_addon_l10n_es_verifactu_oca-
|
|
66
|
+
odoo/addons/l10n_es_verifactu_oca/wizards/account_move_reversal.py,sha256=ThEl8NSO417K5ay1M44Dc9e6yzytmE5kqzIyB5oa5io,510
|
|
67
|
+
odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info/METADATA,sha256=Y1ZZyrerhAbnezQshxLLPaVuZ8d_hzYBNhD7jR5lDO8,7777
|
|
68
|
+
odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
69
|
+
odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
70
|
+
odoo_addon_l10n_es_verifactu_oca-18.0.1.0.1.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<!-- Copyright 2024 Aures Tic - Jose Zambudio
|
|
3
|
-
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
4
|
-
<odoo>
|
|
5
|
-
<record id="view_partner_form" model="ir.ui.view">
|
|
6
|
-
<field name="model">res.partner</field>
|
|
7
|
-
<field name="inherit_id" ref="l10n_es_aeat.view_partner_form" />
|
|
8
|
-
<field name="arch" type="xml">
|
|
9
|
-
<xpath expr="//field[@name='aeat_sending_enabled']" position="after">
|
|
10
|
-
<field name="verifactu_enabled" invisible="1" />
|
|
11
|
-
</xpath>
|
|
12
|
-
</field>
|
|
13
|
-
</record>
|
|
14
|
-
</odoo>
|
|
File without changes
|