Skip to content

Commit 2334a2b

Browse files
committed
[MIG] l10n_it_pos_fiscalcode: Migration to 18.0
1 parent cd9dcf0 commit 2334a2b

5 files changed

Lines changed: 22 additions & 19 deletions

File tree

l10n_it_pos_fiscalcode/README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ ITA - POS - Codice fiscale
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
20-
:target: https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_pos_fiscalcode
20+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_pos_fiscalcode
2121
:alt: OCA/l10n-italy
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_pos_fiscalcode
23+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_pos_fiscalcode
2424
:alt: Translate me on Weblate
2525
.. |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=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -50,7 +50,7 @@ Bug Tracker
5050
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
5151
In case of trouble, please check there if your issue has already been reported.
5252
If you spotted it first, help us to smash it by providing a detailed and welcomed
53-
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_pos_fiscalcode%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
53+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_pos_fiscalcode%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5454

5555
Do not contact contributors directly about support or help with technical issues.
5656

@@ -60,7 +60,7 @@ Credits
6060
Contributors
6161
------------
6262

63-
- Lorenzo Battistini <https://github.com/eLBati>
63+
- Lorenzo Battistini <https://github.com/eLBati>
6464

6565
Maintainers
6666
-----------
@@ -83,6 +83,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
8383

8484
|maintainer-eLBati|
8585

86-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_pos_fiscalcode>`_ project on GitHub.
86+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_pos_fiscalcode>`_ project on GitHub.
8787

8888
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_it_pos_fiscalcode/__manifest__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "ITA - POS - Codice fiscale",
66
"summary": "Gestione codice fiscale del cliente all'interno "
77
"dell'interfaccia del POS",
8-
"version": "16.0.1.0.0",
8+
"version": "18.0.1.0.0",
99
"development_status": "Beta",
1010
"category": "Point Of Sale",
1111
"website": "https://github.com/OCA/l10n-italy",
@@ -16,7 +16,7 @@
1616
"installable": True,
1717
"depends": [
1818
"point_of_sale",
19-
"l10n_it_fiscalcode",
19+
"l10n_it_edi_extension",
2020
],
2121
"assets": {
2222
"point_of_sale.assets": [

l10n_it_pos_fiscalcode/models/pos_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ class PosSession(models.Model):
1010

1111
def _loader_params_res_partner(self):
1212
result = super()._loader_params_res_partner()
13-
result["search_params"]["fields"].append("fiscalcode")
13+
result["search_params"]["fields"].append("l10n_it_codice_fiscale")
1414
return result

l10n_it_pos_fiscalcode/static/description/index.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -368,7 +369,7 @@ <h1 class="title">ITA - POS - Codice fiscale</h1>
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369370
!! source digest: sha256:973fd17a70e0726fc9c4bc7168d59f1553a9b06da22ad14fb29ff45e134e54f2
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371-
<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/16.0/l10n_it_pos_fiscalcode"><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-16-0/l10n-italy-16-0-l10n_it_pos_fiscalcode"><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&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
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_pos_fiscalcode"><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_pos_fiscalcode"><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&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372373
<p><strong>Italiano</strong></p>
373374
<p>Il modulo aggiunge il campo codice fiscale nella schermata del cliente
374375
nell’interfaccia del punto vendita, permettendo di visualizzarlo e
@@ -392,7 +393,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
392393
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
393394
In case of trouble, please check there if your issue has already been reported.
394395
If you spotted it first, help us to smash it by providing a detailed and welcomed
395-
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_pos_fiscalcode%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
396+
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_pos_fiscalcode%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
396397
<p>Do not contact contributors directly about support or help with technical issues.</p>
397398
</div>
398399
<div class="section" id="credits">
@@ -406,13 +407,15 @@ <h2><a class="toc-backref" href="#toc-entry-3">Contributors</a></h2>
406407
<div class="section" id="maintainers">
407408
<h2><a class="toc-backref" href="#toc-entry-4">Maintainers</a></h2>
408409
<p>This module is maintained by the OCA.</p>
409-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
410+
<a class="reference external image-reference" href="https://odoo-community.org">
411+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
412+
</a>
410413
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
411414
mission is to support the collaborative development of Odoo features and
412415
promote its widespread use.</p>
413416
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
414417
<p><a class="reference external image-reference" href="https://github.com/eLBati"><img alt="eLBati" src="https://github.com/eLBati.png?size=40px" /></a></p>
415-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_pos_fiscalcode">OCA/l10n-italy</a> project on GitHub.</p>
418+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_pos_fiscalcode">OCA/l10n-italy</a> project on GitHub.</p>
416419
<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>
417420
</div>
418421
</div>

l10n_it_pos_fiscalcode/static/src/xml/pos.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<div class="partner-detail">
1212
<span class="label">F.C.</span>
1313
<input
14-
class="detail fiscalcode"
15-
name="fiscalcode"
14+
class="detail l10n_it_codice_fiscale"
15+
name="l10n_it_codice_fiscale"
1616
t-on-change="captureChange"
17-
t-att-value="props.partner.fiscalcode || ''"
17+
t-att-value="props.partner.l10n_it_codice_fiscale || ''"
1818
/>
1919
</div>
2020
</xpath>

0 commit comments

Comments
 (0)