Skip to content

Commit 4f6bdda

Browse files
committed
Merge PR #3482 into 14.0
Signed-off-by robyf70
2 parents 6e0b5c9 + 7effafb commit 4f6bdda

17 files changed

Lines changed: 832 additions & 0 deletions

File tree

l10n_it_pos_fatturapa/README.rst

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
===============================
2+
ITA - POS - Fattura elettronica
3+
===============================
4+
5+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6+
!! This file is generated by oca-gen-addon-readme !!
7+
!! changes will be overwritten. !!
8+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9+
10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Beta
13+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
15+
:alt: License: AGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
17+
:target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_pos_fatturapa
18+
:alt: OCA/l10n-italy
19+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20+
:target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_pos_fatturapa
21+
:alt: Translate me on Weblate
22+
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23+
:target: https://runbot.odoo-community.org/runbot/122/12.0
24+
:alt: Try me on Runbot
25+
26+
|badge1| |badge2| |badge3| |badge4| |badge5|
27+
28+
**Italiano**
29+
30+
Il modulo aggiunge i campi per gestire i riferimenti della fatturazione elettronica nella schermata del cliente nell'interfaccia del punto vendita,
31+
permettendo di visualizzarli e modificarli.
32+
33+
**English**
34+
35+
The module adds e-Invoice related fields to partner form within point of sale interface,
36+
allowing to view and edit them.
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Bug Tracker
44+
===========
45+
46+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
47+
In case of trouble, please check there if your issue has already been reported.
48+
If you spotted it first, help us smashing it by providing a detailed and welcomed
49+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_pos_fatturapa%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
50+
51+
Do not contact contributors directly about support or help with technical issues.
52+
53+
Credits
54+
=======
55+
56+
Authors
57+
~~~~~~~
58+
59+
* Roberto Fichera
60+
61+
Contributors
62+
~~~~~~~~~~~~
63+
64+
* Roberto Fichera <roberto.fichera@levelprime.com>
65+
* berim <info@berim.it>
66+
* Ooops404 <info@ooops404.com>
67+
68+
Maintainers
69+
~~~~~~~~~~~
70+
71+
This module is maintained by the OCA.
72+
73+
.. image:: https://odoo-community.org/logo.png
74+
:alt: Odoo Community Association
75+
:target: https://odoo-community.org
76+
77+
OCA, or the Odoo Community Association, is a nonprofit organization whose
78+
mission is to support the collaborative development of Odoo features and
79+
promote its widespread use.
80+
81+
.. |maintainer-robyf70| image:: https://github.com/robyf70.png?size=40px
82+
:target: https://github.com/robyf70
83+
:alt: robyf70
84+
85+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
86+
87+
|maintainer-robyf70|
88+
89+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_pos_fatturapa>`_ project on GitHub.
90+
91+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_it_pos_fatturapa/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
{
4+
"name": "ITA - POS - Fattura elettronica",
5+
"summary": "Gestione dati fattura elettronica del cliente all'interno"
6+
"dell'interfaccia del POS",
7+
"version": "14.0.1.0.0",
8+
"development_status": "Beta",
9+
"category": "Point Of Sale",
10+
"website": "https://github.com/OCA/l10n-italy",
11+
"author": "Odoo Community Association (OCA)",
12+
"license": "AGPL-3",
13+
"application": False,
14+
"installable": True,
15+
"auto_install": True,
16+
"depends": [
17+
"pos_partner_firstname",
18+
"l10n_it_pos_fiscalcode",
19+
"l10n_it_fatturapa",
20+
],
21+
"qweb": ["static/src/xml/pos_dump.xml"],
22+
"data": [
23+
"views/assets.xml",
24+
],
25+
}

l10n_it_pos_fatturapa/i18n/it.po

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * l10n_it_pos_fatturapa
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 10.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2019-12-02 17:22+0000\n"
10+
"PO-Revision-Date: 2020-01-20 21:04+0000\n"
11+
"Last-Translator: Sergio Zanchetta <primes2h@gmail.com>\n"
12+
"Language-Team: \n"
13+
"Language: it\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: \n"
17+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 3.10\n"
19+
20+
#. module: l10n_it_pos_fatturapa
21+
#. openerp-web
22+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:15
23+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:43
24+
#, python-format
25+
msgid "Code"
26+
msgstr "Codice"
27+
28+
#. module: l10n_it_pos_fatturapa
29+
#: model:ir.model,name:l10n_it_pos_fatturapa.model_res_partner
30+
msgid "Contact"
31+
msgstr "Contatto"
32+
33+
#. module: l10n_it_pos_fatturapa
34+
#. openerp-web
35+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:21
36+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:49
37+
#, python-format
38+
msgid "EORI"
39+
msgstr "EORI"
40+
41+
#. module: l10n_it_pos_fatturapa
42+
#. openerp-web
43+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:18
44+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:46
45+
#, python-format
46+
msgid "PEC"
47+
msgstr "PEC"
48+
49+
#. module: l10n_it_pos_fatturapa
50+
#. openerp-web
51+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:8
52+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:36
53+
#, python-format
54+
msgid "e-Invoice"
55+
msgstr "E-fattura"
56+
57+
#. module: l10n_it_pos_fatturapa
58+
#. openerp-web
59+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:24
60+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:52
61+
#, python-format
62+
msgid "iPA Code"
63+
msgstr "Codice iPA"
64+
65+
#~ msgid "First Name"
66+
#~ msgstr "Nome"
67+
68+
#~ msgid "Last Name"
69+
#~ msgstr "Cognome"
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * l10n_it_pos_fatturapa
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: <>\n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: l10n_it_pos_fatturapa
17+
#. openerp-web
18+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:15
19+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:43
20+
#, python-format
21+
msgid "Code"
22+
msgstr ""
23+
24+
#. module: l10n_it_pos_fatturapa
25+
#: model:ir.model,name:l10n_it_pos_fatturapa.model_res_partner
26+
msgid "Contact"
27+
msgstr ""
28+
29+
#. module: l10n_it_pos_fatturapa
30+
#. openerp-web
31+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:21
32+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:49
33+
#, python-format
34+
msgid "EORI"
35+
msgstr ""
36+
37+
#. module: l10n_it_pos_fatturapa
38+
#. openerp-web
39+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:18
40+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:46
41+
#, python-format
42+
msgid "PEC"
43+
msgstr ""
44+
45+
#. module: l10n_it_pos_fatturapa
46+
#. openerp-web
47+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:8
48+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:36
49+
#, python-format
50+
msgid "e-Invoice"
51+
msgstr ""
52+
53+
#. module: l10n_it_pos_fatturapa
54+
#. openerp-web
55+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:24
56+
#: code:addons/l10n_it_pos_fatturapa/static/src/xml/pos.xml:52
57+
#, python-format
58+
msgid "iPA Code"
59+
msgstr ""
60+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import res_partner
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from odoo import api, models
4+
5+
6+
class ResPartner(models.Model):
7+
_inherit = "res.partner"
8+
9+
@api.model
10+
def create_from_ui(self, partner):
11+
if "electronic_invoice_subjected" in partner:
12+
electronic_invoice_subjected = bool(
13+
partner.get("electronic_invoice_subjected", False)
14+
)
15+
16+
partner.update(
17+
{
18+
"electronic_invoice_subjected": electronic_invoice_subjected,
19+
"electronic_invoice_obliged_subject": electronic_invoice_subjected,
20+
}
21+
)
22+
return super(ResPartner, self).create_from_ui(partner)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* Roberto Fichera <roberto.fichera@levelprime.com>
2+
* berim <info@berim.it>
3+
* Ooops404 <info@ooops404.com>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**Italiano**
2+
3+
Il modulo aggiunge i campi per gestire i riferimenti della fatturazione elettronica nella schermata del cliente nell'interfaccia del punto vendita,
4+
permettendo di visualizzarli e modificarli.
5+
6+
**English**
7+
8+
The module adds e-Invoice related fields to partner form within point of sale interface,
9+
allowing to view and edit them.
9.23 KB
Loading

0 commit comments

Comments
 (0)