Skip to content

Commit

Permalink
[FIX] translation source strings l10n_it_fatturapa_out_ddt
Browse files Browse the repository at this point in the history
[IMP] revamp README and manifest
  • Loading branch information
primes2h committed Nov 29, 2018
1 parent 0f79acb commit 9d3041a
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 30 deletions.
29 changes: 23 additions & 6 deletions l10n_it_fatturapa_out_ddt/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=========================
Fattura Elettronica & DDT
=========================
================================================
Italian Localization - Fattura Elettronica & DDT
================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -25,7 +25,13 @@ Fattura Elettronica & DDT

|badge1| |badge2| |badge3| |badge4| |badge5|

The module allows to choose if and how to fill XML fields related to DDT, in the two cases 'fattura differita' and 'fattura accompagnatoria'
**Italiano**

Questo modulo consente di scegliere se e come compilare i campi XML relativi ai DDT, nei due casi "fattura differita" e "fattura accompagnatoria".

**English**

The module allows to choose if and how to fill XML fields related to DDTs, in the two cases 'deferred invoice' and 'shipping invoice'.

**Table of contents**

Expand All @@ -35,11 +41,21 @@ The module allows to choose if and how to fill XML fields related to DDT, in the
Usage
=====

**Italiano**

Nella procedura guidata di esportazione della fattura elettronica è possibile scegliere "Includi dati DDT" oppure "Includi dati trasporto".

Nel primo caso il sistema aggiungerà al file XML i dati relativi a "fattura differita", per specificare i documenti di consegna merci (DDT).

Nel secondo i dati relativi alla "fattura accompagnatoria", per fornire le informazioni sul trasporto.

**English**

In export electronic invoice wizard, you can choose 'include DDT data' or 'include transport data'.

In the first case, the system will add to XML file data related to "fattura differita", to specify the documents (DDT) that delivered goods.
In the first case, the system will add to XML file data related to 'deferred invoice', to specify the documents (DDT) that delivered goods.

In the second one, data related to "fattura accompagnatoria", to specify information about transport.
In the second one, data related to 'shipping invoice', to specify information about transport.

Bug Tracker
===========
Expand All @@ -63,6 +79,7 @@ Contributors
~~~~~~~~~~~~

* Lorenzo Battistini
* Sergio Zanchetta

Maintainers
~~~~~~~~~~~
Expand Down
8 changes: 5 additions & 3 deletions l10n_it_fatturapa_out_ddt/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Lorenzo Battistini
# Copyright 2018 Sergio Zanchetta (Associazione PNLUG - Gruppo Odoo)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

{
"name": "Fattura Elettronica & DDT",
'name': 'Italian Localization - Fattura Elettronica & DDT',
"summary": "Bridge module",
"version": "10.0.1.0.1",
"version": "10.0.1.0.2",
"development_status": "Beta",
"category": "Hidden",
"website": "https://github.com/OCA/l10n-italy",
'website': 'https://github.com/OCA/l10n-italy/tree/10.0/'
'l10n_it_fatturapa_out_ddt',
"author": "Agile Business Group, Odoo Community Association (OCA)",
"maintainers": [],
"license": "LGPL-3",
Expand Down
1 change: 1 addition & 0 deletions l10n_it_fatturapa_out_ddt/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* Lorenzo Battistini
* Sergio Zanchetta
8 changes: 7 additions & 1 deletion l10n_it_fatturapa_out_ddt/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
The module allows to choose if and how to fill XML fields related to DDT, in the two cases 'fattura differita' and 'fattura accompagnatoria'
**Italiano**

Questo modulo consente di scegliere se e come compilare i campi XML relativi ai DDT, nei due casi "fattura differita" e "fattura accompagnatoria".

**English**

The module allows to choose if and how to fill XML fields related to DDTs, in the two cases 'deferred invoice' and 'shipping invoice'.
14 changes: 12 additions & 2 deletions l10n_it_fatturapa_out_ddt/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
**Italiano**

Nella procedura guidata di esportazione della fattura elettronica è possibile scegliere "Includi dati DDT" oppure "Includi dati trasporto".

Nel primo caso il sistema aggiungerà al file XML i dati relativi a "fattura differita", per specificare i documenti di consegna merci (DDT).

Nel secondo i dati relativi alla "fattura accompagnatoria", per fornire le informazioni sul trasporto.

**English**

In export electronic invoice wizard, you can choose 'include DDT data' or 'include transport data'.

In the first case, the system will add to XML file data related to "fattura differita", to specify the documents (DDT) that delivered goods.
In the first case, the system will add to XML file data related to 'deferred invoice', to specify the documents (DDT) that delivered goods.

In the second one, data related to "fattura accompagnatoria", to specify information about transport.
In the second one, data related to 'shipping invoice', to specify information about transport.
21 changes: 15 additions & 6 deletions l10n_it_fatturapa_out_ddt/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<title>Fattura Elettronica &amp; DDT</title>
<title>Italian Localization - Fattura Elettronica &amp; DDT</title>
<style type="text/css">

/*
Expand Down Expand Up @@ -360,15 +360,18 @@
</style>
</head>
<body>
<div class="document" id="fattura-elettronica-ddt">
<h1 class="title">Fattura Elettronica &amp; DDT</h1>
<div class="document" id="italian-localization-fattura-elettronica-ddt">
<h1 class="title">Italian Localization - Fattura Elettronica &amp; DDT</h1>

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/10.0/l10n_it_fatturapa_out_ddt"><img alt="OCA/l10n-italy" src="https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/l10n-italy-10-0/l10n-italy-10-0-l10n_it_fatturapa_out_ddt"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/122/10.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>The module allows to choose if and how to fill XML fields related to DDT, in the two cases ‘fattura differita’ and ‘fattura accompagnatoria’</p>
<p><strong>Italiano</strong></p>
<p>Questo modulo consente di scegliere se e come compilare i campi XML relativi ai DDT, nei due casi “fattura differita” e “fattura accompagnatoria”.</p>
<p><strong>English</strong></p>
<p>The module allows to choose if and how to fill XML fields related to DDTs, in the two cases ‘deferred invoice’ and ‘shipping invoice’.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -384,9 +387,14 @@ <h1 class="title">Fattura Elettronica &amp; DDT</h1>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
<p><strong>Italiano</strong></p>
<p>Nella procedura guidata di esportazione della fattura elettronica è possibile scegliere “Includi dati DDT” oppure “Includi dati trasporto”.</p>
<p>Nel primo caso il sistema aggiungerà al file XML i dati relativi a “fattura differita”, per specificare i documenti di consegna merci (DDT).</p>
<p>Nel secondo i dati relativi alla “fattura accompagnatoria”, per fornire le informazioni sul trasporto.</p>
<p><strong>English</strong></p>
<p>In export electronic invoice wizard, you can choose ‘include DDT data’ or ‘include transport data’.</p>
<p>In the first case, the system will add to XML file data related to “fattura differita”, to specify the documents (DDT) that delivered goods.</p>
<p>In the second one, data related to “fattura accompagnatoria”, to specify information about transport.</p>
<p>In the first case, the system will add to XML file data related to ‘deferred invoice’, to specify the documents (DDT) that delivered goods.</p>
<p>In the second one, data related to ‘shipping invoice’, to specify information about transport.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
Expand All @@ -408,6 +416,7 @@ <h2><a class="toc-backref" href="#id4">Authors</a></h2>
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
<ul class="simple">
<li>Lorenzo Battistini</li>
<li>Sergio Zanchetta</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</IdFiscaleIVA>
<CodiceFiscale>07973780013</CodiceFiscale>
<Anagrafica>
<Denominazione>Cliente B2B</Denominazione>
<Denominazione>B2B Customer</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
Expand Down
4 changes: 2 additions & 2 deletions l10n_it_fatturapa_out_ddt/tests/data/IT06363391001_00007.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</IdFiscaleIVA>
<CodiceFiscale>07973780013</CodiceFiscale>
<Anagrafica>
<Denominazione>Cliente B2B</Denominazione>
<Denominazione>B2B Customer</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
Expand Down Expand Up @@ -76,7 +76,7 @@
</IdFiscaleIVA>
<CodiceFiscale>03297040366</CodiceFiscale>
<Anagrafica>
<Denominazione>Intermediario</Denominazione>
<Denominazione>Intermediary</Denominazione>
</Anagrafica>
</DatiAnagraficiVettore>
<MezzoTrasporto>DESTINATARIO</MezzoTrasporto>
Expand Down
16 changes: 7 additions & 9 deletions l10n_it_fatturapa_out_ddt/wizard/wizard_export_fatturapa.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ def default_get(self, fields):
return res

include_ddt_data = fields.Selection([
('dati_ddt', 'Includi Dati DDT'),
('dati_trasporto', 'Includi Dati Trasporto'),
('dati_ddt', 'Include DDT data'),
('dati_trasporto', 'Include transport data'),
],
string="Dati DDT",
help='Includi Dati DDT: Blocco da valorizzare nei casi di fattura '
'"differita" per '
'indicare il documento con cui e\' stato consegnato il bene\n'
'Includi Dati Trasporto: Blocco valorizzabile nei casi di '
'fattura "accompagnatoria" per '
'inserire informazioni relative al trasporto'
string="DDT Data",
help="Include DDT data: The field must be entered when a transport "
"document associated with a deferred invoice is present\n"
"Include transport data: The field must be entered when a "
"shipping invoice to be filled with transport data is present"
)

def setDatiDDT(self, invoice, body):
Expand Down

0 comments on commit 9d3041a

Please sign in to comment.