Skip to content

Commit

Permalink
[MIG] l10n_it_accompanying_invoice: Migration to 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoC0 committed Nov 19, 2024
1 parent 9720aea commit 45c3054
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 22 deletions.
1 change: 1 addition & 0 deletions l10n_it_accompanying_invoice/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models

# from .hooks import pre_absorb_old_module
9 changes: 4 additions & 5 deletions l10n_it_accompanying_invoice/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@

{
"name": "ITA - Fattura accompagnatoria",
'summary': 'Stampa della fattura accompagnatoria',
"version": "16.0.1.0.0",
"summary": "Stampa della fattura accompagnatoria",
"version": "14.0.1.0.0",
"category": "Accounting",
"website": "https://github.com/OCA/l10n-italy"
"/tree/16.0/l10n_it_accompanying_invoice",
"author": "Agile Business Group, "
"Odoo Community Association (OCA)",
"/tree/14.0/l10n_it_accompanying_invoice",
"author": "Agile Business Group, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
Expand Down
26 changes: 22 additions & 4 deletions l10n_it_accompanying_invoice/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-28 08:52+0000\n"
"PO-Revision-Date: 2023-11-28 08:52+0000\n"
"Last-Translator: Simone Rubino <simone.rubino@aion-tech.it>\n"
"POT-Creation-Date: 2024-11-19 14:29+0000\n"
"PO-Revision-Date: 2024-11-19 14:29+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -40,6 +40,12 @@ msgstr "Vettore della consegna"
msgid "Condition of transport of Delivery"
msgstr "Condizione di trasporto della consegna"

#. module: l10n_it_accompanying_invoice
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_account_move__display_name
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_sale_order__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: l10n_it_accompanying_invoice
#: model_terms:ir.ui.view,arch_db:l10n_it_accompanying_invoice.view_move_form
msgid "Goods Appearance"
Expand All @@ -60,6 +66,12 @@ msgstr "Peso lordo della consegna"
msgid "Gross Weight of Delivery UoM"
msgstr "UdM del peso lordo della consegna"

#. module: l10n_it_accompanying_invoice
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_account_move__id
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_sale_order__id
msgid "ID"
msgstr ""

#. module: l10n_it_accompanying_invoice
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_account_move__delivery_note
msgid "Internal note of delivery"
Expand All @@ -70,6 +82,12 @@ msgstr "Note interne della consegna"
msgid "Journal Entry"
msgstr "Registrazione contabile"

#. module: l10n_it_accompanying_invoice
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_account_move____last_update
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_sale_order____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: l10n_it_accompanying_invoice
#: model:ir.model.fields,field_description:l10n_it_accompanying_invoice.field_account_move__delivery_transport_method_id
msgid "Method of transport of Delivery"
Expand Down
8 changes: 4 additions & 4 deletions l10n_it_accompanying_invoice/tests/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def test_report(self):
"out_invoice",
)

html = self.env["ir.actions.report"]._render_qweb_html(
"l10n_it_accompanying_invoice.shipping_invoice_template",
[invoice.id],
report = self.env["ir.actions.report"]._get_report_from_name(
"l10n_it_accompanying_invoice.shipping_invoice_template"
)
self.assertTrue(html)
html = report._render_qweb_html(invoice.id)
self.assertTrue(html)
2 changes: 1 addition & 1 deletion l10n_it_accompanying_invoice/views/account.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@
</notebook>
</field>
</record>
</odoo>
</odoo>
6 changes: 2 additions & 4 deletions l10n_it_delivery_note/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,8 @@ Contributors
* Alessandro Uffreduzzi <alessandro.uffreduzzi@pytech.it>
* Sebastiano Picchi <sebastiano.picchi@pytech.it>
* Sergio Corato <https://github.com/sergiocorato>

- `Aion Tech <https://aiontech.company/>`__:

- Simone Rubino <simone.rubino@aion-tech.it>
* `Aion Tech <https://aiontech.company>`_:
* Simone Rubino <simone.rubino@aion-tech.it>

Maintainers
~~~~~~~~~~~
Expand Down
19 changes: 15 additions & 4 deletions l10n_it_delivery_note/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -544,12 +545,22 @@ <h2><a class="toc-backref" href="#toc-entry-10">Contributors</a></h2>
</dl>
</li>
<li>Sergio Corato &lt;<a class="reference external" href="https://github.com/sergiocorato">https://github.com/sergiocorato</a>&gt;</li>
<li><dl class="first docutils">
<dt><a class="reference external" href="https://aiontech.company">Aion Tech</a>:</dt>
<dd><ul class="first last">
<li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino&#64;aion-tech.it">simone.rubino&#64;aion-tech.it</a>&gt;</li>
</ul>
</dd>
</dl>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>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.</p>
Expand Down
6 changes: 6 additions & 0 deletions setup/l10n_it_accompanying_invoice/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 45c3054

Please sign in to comment.