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 f89ca3f
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 18 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
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 f89ca3f

Please sign in to comment.