-
-
Notifications
You must be signed in to change notification settings - Fork 344
[18.0][MIG] l10n_it_pos_fiscalcode: migration to v18 #5006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b78aefa
f653b11
3742203
77891f8
e89d649
81d27d1
4587304
f108af1
868690c
06ce36e
a3ef27f
642a287
cd9dcf0
2334a2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| ========================== | ||
| ITA - POS - Codice fiscale | ||
| ========================== | ||
|
|
||
| .. | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! This file is generated by oca-gen-addon-readme !! | ||
| !! changes will be overwritten. !! | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! source digest: sha256:973fd17a70e0726fc9c4bc7168d59f1553a9b06da22ad14fb29ff45e134e54f2 | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
|
||
| .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
| :target: https://odoo-community.org/page/development-status | ||
| :alt: Beta | ||
| .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
| :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
| :alt: License: AGPL-3 | ||
| .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github | ||
| :target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_pos_fiscalcode | ||
| :alt: OCA/l10n-italy | ||
| .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
| :target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_pos_fiscalcode | ||
| :alt: Translate me on Weblate | ||
| .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
| :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0 | ||
| :alt: Try me on Runboat | ||
|
|
||
| |badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
|
||
| **Italiano** | ||
|
|
||
| Il modulo aggiunge il campo codice fiscale nella schermata del cliente | ||
| nell'interfaccia del punto vendita, permettendo di visualizzarlo e | ||
| modificarlo. | ||
|
|
||
| **English** | ||
|
|
||
| The module adds fiscal code field to partner form within point of sale | ||
| interface, allowing to view and edit it. | ||
|
|
||
| **Table of contents** | ||
|
|
||
| .. contents:: | ||
| :local: | ||
|
|
||
| Bug Tracker | ||
| =========== | ||
|
|
||
| Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_. | ||
| In case of trouble, please check there if your issue has already been reported. | ||
| If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
| `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**>`_. | ||
|
|
||
| Do not contact contributors directly about support or help with technical issues. | ||
|
|
||
| Credits | ||
| ======= | ||
|
|
||
| Contributors | ||
| ------------ | ||
|
|
||
| - Lorenzo Battistini <https://github.com/eLBati> | ||
|
|
||
| Maintainers | ||
| ----------- | ||
|
|
||
| This module is maintained by the OCA. | ||
|
|
||
| .. image:: https://odoo-community.org/logo.png | ||
| :alt: Odoo Community Association | ||
| :target: https://odoo-community.org | ||
|
|
||
| OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
| mission is to support the collaborative development of Odoo features and | ||
| promote its widespread use. | ||
|
|
||
| .. |maintainer-eLBati| image:: https://github.com/eLBati.png?size=40px | ||
| :target: https://github.com/eLBati | ||
| :alt: eLBati | ||
|
|
||
| Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
|
||
| |maintainer-eLBati| | ||
|
|
||
| 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. | ||
|
|
||
| You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| from . import models |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Copyright 2019 Lorenzo Battistini | ||
| # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
|
||
| { | ||
| "name": "ITA - POS - Codice fiscale", | ||
| "summary": "Gestione codice fiscale del cliente all'interno " | ||
| "dell'interfaccia del POS", | ||
| "version": "18.0.1.0.0", | ||
| "development_status": "Beta", | ||
| "category": "Point Of Sale", | ||
| "website": "https://github.com/OCA/l10n-italy", | ||
| "author": "Odoo Community Association (OCA)", | ||
| "maintainers": ["eLBati"], | ||
| "license": "AGPL-3", | ||
| "application": False, | ||
| "installable": True, | ||
| "depends": [ | ||
| "point_of_sale", | ||
| "l10n_it_edi_extension", | ||
| ], | ||
| "assets": { | ||
| "point_of_sale.assets": [ | ||
| "l10n_it_pos_fiscalcode/static/src/xml/pos.xml", | ||
| ], | ||
| }, | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * l10n_it_pos_fiscalcode | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 12.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "PO-Revision-Date: 2023-10-13 10:39+0000\n" | ||
| "Last-Translator: mymage <stefano.consolaro@mymage.it>\n" | ||
| "Language-Team: none\n" | ||
| "Language: it\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
| "X-Generator: Weblate 4.17\n" | ||
|
|
||
| #. module: l10n_it_pos_fiscalcode | ||
| #. odoo-javascript | ||
| #: code:addons/l10n_it_pos_fiscalcode/static/src/xml/pos.xml:0 | ||
| #, python-format | ||
| msgid "F.C." | ||
| msgstr "C.F." | ||
|
|
||
| #. module: l10n_it_pos_fiscalcode | ||
| #: model:ir.model,name:l10n_it_pos_fiscalcode.model_pos_session | ||
| msgid "Point of Sale Session" | ||
| msgstr "Sessione punto vendita" | ||
|
|
||
| #, python-format | ||
| #~ msgid "N/A" | ||
| #~ msgstr "N/D" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * l10n_it_pos_fiscalcode | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 16.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "Last-Translator: \n" | ||
| "Language-Team: \n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Plural-Forms: \n" | ||
|
|
||
| #. module: l10n_it_pos_fiscalcode | ||
| #. odoo-javascript | ||
| #: code:addons/l10n_it_pos_fiscalcode/static/src/xml/pos.xml:0 | ||
| #, python-format | ||
| msgid "F.C." | ||
| msgstr "" | ||
|
|
||
| #. module: l10n_it_pos_fiscalcode | ||
| #: model:ir.model,name:l10n_it_pos_fiscalcode.model_pos_session | ||
| msgid "Point of Sale Session" | ||
| msgstr "" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| from . import pos_session |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Copyright 2022 Dinamiche Aziendali srl | ||
| # @author: Giuseppe Borruso <gborruso@dinamicheaziendali.it> | ||
| # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
|
||
| from odoo import models | ||
|
|
||
|
|
||
| class PosSession(models.Model): | ||
| _inherit = "pos.session" | ||
|
|
||
| def _loader_params_res_partner(self): | ||
| result = super()._loader_params_res_partner() | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Questo metodo non mi pare esista in Ho fatto una piccola ricerca e temo che se vogliamo poter cercare per codice fiscale dovremo in qualche modo inserirci lato JS in https://github.com/odoo/odoo/blob/0b54f8463200a840a8fde17ceed2c928a3249b68/addons/point_of_sale/static/src/app/screens/partner_list/partner_list.js#L148. |
||
| result["search_params"]["fields"].append("l10n_it_codice_fiscale") | ||
| return result | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [build-system] | ||
| requires = ["whool"] | ||
| build-backend = "whool.buildapi" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Lorenzo Battistini \<<https://github.com/eLBati>\> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| **Italiano** | ||
|
|
||
| Il modulo aggiunge il campo codice fiscale nella schermata del cliente | ||
| nell'interfaccia del punto vendita, permettendo di visualizzarlo e | ||
| modificarlo. | ||
|
|
||
| **English** | ||
|
|
||
| The module adds fiscal code field to partner form within point of sale | ||
| interface, allowing to view and edit it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il campo del codice fiscale è definito da
l10n_it_edi(https://github.com/odoo/odoo/blob/0b54f8463200a840a8fde17ceed2c928a3249b68/addons/l10n_it_edi/models/res_partner.py#L15) quindi potremmo dipendere direttamente da quel modulo se non ci servel10n_it_edi_extension, cosa ne pensi?