Skip to content
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

[MIG] l10n_it_fatturapa_out_stamp -> l10n_it_edi_stamp: Migrazione a 18.0 #4374

Open
wants to merge 19 commits into
base: eau-de-merge
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
113331c
ADD l10n_it_fatturapa_out_stamp
eLBati Dec 24, 2018
3523a9e
porting l10n_it_account_stamp and l10n_it_fatturapa_out_stamp to 12
eLBati Dec 24, 2018
0bf278f
[FIX] l10n_it_fatturapa_out_stamp: Bollo precision must be 2 (#774) (…
SimoRubi Jan 4, 2019
d098d33
l10n_it_fatturapa: xml doctor for fatturapa
sherpya May 3, 2019
4f1dc71
Use float_round from odoo because in python 3 "Exact halfway cases ar…
eLBati Jan 14, 2020
8cfaa8d
merge PR 1264 1717 1728 1737 1739
May 13, 2020
9c3f33a
FIX license compatibility
eLBati Sep 10, 2020
567233b
[12.0][IMP] importo bollo non più obbligatorio e-invoice 1.6 (#1866)
sergiocorato Sep 11, 2020
9946c24
[IMP] l10n_it_fatturapa_out_stamp: black, isort, prettier
Borruso Jan 15, 2021
1732778
[MIG] l10n_it_fatturapa_out_stamp: Migration to 14.0
Borruso Jan 15, 2021
e440564
Translated using Weblate (Italian)
francesco-ooops Mar 4, 2022
512b0f0
[MIG] l10n_it_fatturapa_out_stamp: Migration to 16.0
Borruso Feb 17, 2023
94a54f5
Updated from template
SirAionTech Nov 17, 2023
a83d994
Updated from template
SirAionTech Jan 3, 2024
d9cdc27
[FIX] l10n_it_fatturapa_out_stamp: set XML template as not translatable
primes2h Sep 7, 2023
cd80c9a
[IMP] l10n_it_fatturapa_out_stamp: pre-commit stuff
SirAionTech Sep 12, 2024
0f92139
[MIG] l10n_it_fatturapa_out_stamp: Migration to 18.0
SirAionTech Sep 12, 2024
012bf94
[DON'T MERGE] test-requirements.txt
SirAionTech Sep 12, 2024
00edc00
[IMP] l10n_it_edi_stamp: align with Odoo standard terminology
primes2h Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions l10n_it_edi_stamp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
==============================================
ITA - Fattura elettronica - Integrazione bollo
==============================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:134a1b19d971fa6d0ee01dc4053e92c6fe8138dc62e2329e2942f421365c375b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/16.0/l10n_it_fatturapa_out_stamp
: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-16-0/l10n-italy-16-0-l10n_it_fatturapa_out_stamp
: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=16.0
:alt: Try me on Runboat

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

Modulo ponte tra emissione fatture elettroniche e imposta di bollo.

Con questo modulo, l'elemento XML DatiBollo verrà correttamente
valorizzato.

**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_fatturapa_out_stamp%0Aversion:%2016.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
=======

Authors
-------

* Agile Business Group

Contributors
------------

- Lorenzo Battistini <https://github.com/eLBati>
- Sergio Corato <https://github.com/sergiocorato>
- Giuseppe Borruso <[email protected]>

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/16.0/l10n_it_fatturapa_out_stamp>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions l10n_it_edi_stamp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
21 changes: 21 additions & 0 deletions l10n_it_edi_stamp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2018 Lorenzo Battistini
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "ITA - Fattura elettronica - Integrazione bollo",
"summary": "Modulo ponte tra emissione fatture elettroniche e imposta di bollo",
"version": "17.5.0.0.1",
"development_status": "Beta",
"category": "Localization/Italy",
"website": "https://github.com/OCA/l10n-italy",
"author": "Agile Business Group, Odoo Community Association (OCA)",
"maintainers": ["eLBati"],
"license": "AGPL-3",
"auto_install": True,
"depends": [
"l10n_it_account_stamp",
"l10n_it_edi",
],
"data": [
"views/account_move_views.xml",
],
}
27 changes: 27 additions & 0 deletions l10n_it_edi_stamp/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_it_fatturapa_out_stamp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-24 15:04+0000\n"
"PO-Revision-Date: 2022-03-04 11:54+0000\n"
"Last-Translator: Francesco Foresti <[email protected]>\n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#~ msgid "SI"
#~ msgstr "SI"

#~ msgid "Export E-invoice"
#~ msgstr "Esporta e-fattura"

#~ msgid "Tax Stamp Product not set for company %s"
#~ msgstr "Prodotto imposta di bollo non impostato per l'azienda %s"
13 changes: 13 additions & 0 deletions l10n_it_edi_stamp/i18n/l10n_it_fatturapa_out_stamp.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
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"
3 changes: 3 additions & 0 deletions l10n_it_edi_stamp/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import account_move
27 changes: 27 additions & 0 deletions l10n_it_edi_stamp/models/account_move.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2024 Simone Rubino - Aion Tech
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import api, fields, models


class AccountMove (models.Model):
_inherit = "account.move"

l10n_it_stamp_duty = fields.Float(
compute="_compute_l10n_it_stamp_duty",
store=True,
)

@api.depends(
"l10n_it_account_stamp_is_stamp_duty_applied",
"company_id.l10n_it_account_stamp_stamp_duty_product_id.list_price",
)
def _compute_l10n_it_stamp_duty(self):
for invoice in self:
if invoice.state != "draft":
continue
elif invoice.l10n_it_account_stamp_is_stamp_duty_applied:
stamp_duty_amount = invoice.company_id.l10n_it_account_stamp_stamp_duty_product_id.list_price
else:
stamp_duty_amount = 0
invoice.l10n_it_stamp_duty = stamp_duty_amount
3 changes: 3 additions & 0 deletions l10n_it_edi_stamp/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions l10n_it_edi_stamp/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Lorenzo Battistini \<<https://github.com/eLBati>\>
- Sergio Corato \<<https://github.com/sergiocorato>\>
- Giuseppe Borruso \<<[email protected]>\>
4 changes: 4 additions & 0 deletions l10n_it_edi_stamp/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Modulo ponte tra emissione fatture elettroniche e imposta di bollo.

Con questo modulo, l'elemento XML DatiBollo verrà correttamente
valorizzato.
Binary file added l10n_it_edi_stamp/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading