Skip to content

Commit f1922a8

Browse files
OCA-git-botFernandoRomera
authored andcommitted
[MIG] l10n_es_aeat_sii_match: Migration to 18.0
1 parent efd3a1d commit f1922a8

7 files changed

Lines changed: 25 additions & 24 deletions

File tree

l10n_es_aeat_sii_match/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Sistema de comprobación y contraste de facturas enviadas al SII
1111
!! This file is generated by oca-gen-addon-readme !!
1212
!! changes will be overwritten. !!
1313
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14-
!! source digest: sha256:949a3939ba1f6fdfe7de335c67ff6bd243121f0afec65cfef419260362e031bb
14+
!! source digest: sha256:df0cd0be8f8ea5f3aeec781b1c63e04e918c9a067156d6ef92e14d315b914d19
1515
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1616
1717
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png

l10n_es_aeat_sii_match/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
55
{
66
"name": "Sistema de comprobación y contraste de facturas enviadas al SII",
7-
"version": "17.0.1.0.2",
7+
"version": "18.0.1.0.0",
88
"category": "Accounting & Finance",
99
"website": "https://github.com/OCA/l10n-spain",
1010
"author": "Studio73, Odoo Community Association (OCA)",

l10n_es_aeat_sii_match/models/aeat_sii_match_report.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,9 @@ def open_result(self):
451451
)
452452
return {
453453
"name": _("Results"),
454-
"view_mode": "tree, form",
454+
"view_mode": "list, form",
455455
"res_model": "l10n.es.aeat.sii.match.result",
456-
"views": [(tree_view and tree_view.id or False, "tree"), (False, "form")],
456+
"views": [(tree_view and tree_view.id or False, "list"), (False, "form")],
457457
"type": "ir.actions.act_window",
458458
"domain": [("id", "in", self.sii_match_result.ids)],
459459
"context": {},

l10n_es_aeat_sii_match/static/description/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ <h1>Sistema de comprobación y contraste de facturas enviadas al SII</h1>
372372
!! This file is generated by oca-gen-addon-readme !!
373373
!! changes will be overwritten. !!
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375-
!! source digest: sha256:949a3939ba1f6fdfe7de335c67ff6bd243121f0afec65cfef419260362e031bb
375+
!! source digest: sha256:df0cd0be8f8ea5f3aeec781b1c63e04e918c9a067156d6ef92e14d315b914d19
376376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377377
<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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_aeat_sii_match"><img alt="OCA/l10n-spain" src="https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_aeat_sii_match"><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-spain&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378378
<ul class="simple">

l10n_es_aeat_sii_match/views/account_move_views.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
groups="l10n_es_aeat.group_account_aeat"
3232
>
3333
<field name="sii_match_difference_ids">
34-
<tree>
34+
<list>
3535
<field name="sii_field" />
3636
<field name="sii_return_field_value" />
3737
<field name="sii_sent_field_value" />
38-
</tree>
38+
</list>
3939
</field>
4040
</group>
4141
</page>
@@ -49,12 +49,12 @@
4949
</field>
5050
</record>
5151
<record id="view_invoice_tree" model="ir.ui.view">
52-
<field name="name">account.invoice.sii.match.tree</field>
52+
<field name="name">account.invoice.sii.match.list</field>
5353
<field name="model">account.move</field>
5454
<field name="inherit_id" ref="account.view_invoice_tree" />
5555
<field name="arch" type="xml">
5656
<field name="state" position="after">
57-
<!-- We add the fields to tree view to see the value of the
57+
<!-- We add the fields to list view to see the value of the
5858
selection instead of the key when grouping -->
5959
<field
6060
name="sii_match_state"

l10n_es_aeat_sii_match/views/aeat_sii_match_report.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@
127127
icon="fa-check"
128128
/>
129129
<field name="sii_match_result" nolabel="1">
130-
<tree>
130+
<list>
131131
<field name="invoice" />
132132
<field name="invoice_id" />
133133
<field name="sii_match_state" />
134134
<field name="sii_contrast_state" />
135135
<field name="invoice_location" />
136-
</tree>
136+
</list>
137137
</field>
138138
</group>
139139
</page>
@@ -145,10 +145,10 @@
145145
</record>
146146

147147
<record id="view_l10n_es_aeat_sii_match_report_tree" model="ir.ui.view">
148-
<field name="name">l10n_es.aeat.sii.match.report.tree</field>
148+
<field name="name">l10n_es.aeat.sii.match.report.list</field>
149149
<field name="model">l10n.es.aeat.sii.match.report</field>
150150
<field name="arch" type="xml">
151-
<tree
151+
<list
152152
decoration-info="state == 'draft'"
153153
decoration-muted="state in ('cancelled', 'done')"
154154
decoration-danger="state == 'error'"
@@ -160,7 +160,7 @@
160160
<field name="calculate_date" />
161161
<field name="state" />
162162
<field name="company_id" groups="base.group_multi_company" />
163-
</tree>
163+
</list>
164164
</field>
165165
</record>
166166

@@ -206,14 +206,14 @@
206206
/>
207207
</group>
208208
</search>
209-
</field>
210-
</record>
209+
</field>
210+
</record>
211211

212212
<!-- Window action -->
213213
<record id="action_l10n_es_aeat_sii_match_report" model="ir.actions.act_window">
214214
<field name="name">AEAT SII Match</field>
215215
<field name="res_model">l10n.es.aeat.sii.match.report</field>
216-
<field name="view_mode">tree,form</field>
216+
<field name="view_mode">list,form</field>
217217
</record>
218218

219219
<!-- ### MENU ACCESS ### -->
@@ -244,11 +244,11 @@
244244
<group colspan="4" invisible="sii_match_difference_ids == []">
245245
<label for="sii_match_difference_ids" />
246246
<field name="sii_match_difference_ids" nolabel="1">
247-
<tree>
247+
<list>
248248
<field name="sii_field" />
249249
<field name="sii_return_field_value" />
250250
<field name="sii_sent_field_value" />
251-
</tree>
251+
</list>
252252
<form>
253253
<group>
254254
<field name="sii_field" />
@@ -264,16 +264,16 @@
264264
</record>
265265

266266
<record id="view_l10n_es_aeat_sii_match_result_tree" model="ir.ui.view">
267-
<field name="name">l10n_es.aeat.sii.match.result.tree</field>
267+
<field name="name">l10n_es.aeat.sii.match.result.list</field>
268268
<field name="model">l10n.es.aeat.sii.match.result</field>
269269
<field name="arch" type="xml">
270-
<tree create="0" delete="0">
270+
<list create="0" delete="0">
271271
<field name="invoice" />
272272
<field name="invoice_id" />
273273
<field name="sii_match_state" />
274274
<field name="sii_contrast_state" />
275275
<field name="invoice_location" />
276-
</tree>
276+
</list>
277277
</field>
278278
</record>
279279

@@ -369,6 +369,6 @@
369369
/>
370370
</group>
371371
</search>
372-
</field>
373-
</record>
372+
</field>
373+
</record>
374374
</odoo>

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# generated from manifests external_dependencies
22
chardet
3+
deepdiff<8
34
pycountry
45
pycryptodome
56
requests

0 commit comments

Comments
 (0)