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

[14.0][MIG] l10n_it_fatturapa_out_triple_discount #3269

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
01b67c2
[ADD] l10n_it_fatturapa_out_triple_discount
SimoRubi Jan 22, 2019
3df7fca
[UPD] Update l10n_it_fatturapa_out_triple_discount.pot
oca-travis Feb 1, 2019
4017fce
FIX l10n_it_fatturapa_out_triple_discount adapt to new set_sequences …
eLBati Mar 7, 2019
9c6c605
[ADD] icon.png
OCA-git-bot Apr 3, 2019
f0cb63c
l10n_it_fatturapa: xml doctor for fatturapa
sherpya May 3, 2019
264f9b7
[UPD] README.rst
OCA-git-bot Jul 29, 2019
5b76fae
[MIG] 10n_it_fatturapa_out_triple_discount: Migration to 12.0
tafaRU Dec 17, 2019
3b7b6c9
[UPD] Update l10n_it_fatturapa_out_triple_discount.pot
oca-travis Jan 3, 2020
2278bbc
[UPD] README.rst
OCA-git-bot Jan 3, 2020
83fa79d
Use float_round from odoo because in python 3 "Exact halfway cases ar…
eLBati Jan 14, 2020
c640350
l10n_it_fatturapa_out_triple_discount 12.0.1.0.1
OCA-git-bot Jan 15, 2020
9c9bc3a
l10n_it_fatturapa_out_triple_discount: disable tests because unstable
eLBati Jan 21, 2020
4e40600
l10n_it_fatturapa_out_triple_discount 12.0.1.0.2
OCA-git-bot Jan 22, 2020
686943b
merge PR 1264 1717 1728 1737 1739
May 13, 2020
311e046
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
84b0ad1
l10n_it_fatturapa_out_triple_discount 12.0.1.0.4
OCA-git-bot Sep 24, 2020
f4aac77
[12.0][IMP] l10n_it_fatturapa_out and l10n_it_fatturapa_out_triple_di…
tafaRU Sep 11, 2020
641d54b
l10n_it_fatturapa_out_triple_discount 12.0.2.0.0
OCA-git-bot Oct 2, 2020
5cf5ef3
[FIX][l10n_it_fatturapa_out_triple_discount] change rounding to avoid…
Apr 12, 2021
dbad815
l10n_it_fatturapa_out_triple_discount 12.0.2.0.1
OCA-git-bot Apr 15, 2021
c87162f
[REF] l10n_it_fatturapa_out: Extract discounted price computation
SirTakobi Jul 13, 2022
0c28ad6
[MIG] l10n_it_fatturapa_out_triple_discount: Migration to 14.0
SirTakobi Jul 13, 2022
28c7803
[ADD] l10n_it_fatturapa_out_triple_discount
SimoRubi Jan 22, 2019
c98e0d6
[UPD] Update l10n_it_fatturapa_out_triple_discount.pot
oca-travis Feb 1, 2019
c039439
FIX l10n_it_fatturapa_out_triple_discount adapt to new set_sequences …
eLBati Mar 7, 2019
a368830
[ADD] icon.png
OCA-git-bot Apr 3, 2019
95bdf14
l10n_it_fatturapa: xml doctor for fatturapa
sherpya May 3, 2019
6c98c27
[UPD] README.rst
OCA-git-bot Jul 29, 2019
5e47b3e
[MIG] 10n_it_fatturapa_out_triple_discount: Migration to 12.0
tafaRU Dec 17, 2019
62820b8
[UPD] Update l10n_it_fatturapa_out_triple_discount.pot
oca-travis Jan 3, 2020
15ebf35
[UPD] README.rst
OCA-git-bot Jan 3, 2020
5e98fc4
Use float_round from odoo because in python 3 "Exact halfway cases ar…
eLBati Jan 14, 2020
4430fa9
l10n_it_fatturapa_out_triple_discount 12.0.1.0.1
OCA-git-bot Jan 15, 2020
b3dc124
l10n_it_fatturapa_out_triple_discount: disable tests because unstable
eLBati Jan 21, 2020
da262c2
l10n_it_fatturapa_out_triple_discount 12.0.1.0.2
OCA-git-bot Jan 22, 2020
523bba5
merge PR 1264 1717 1728 1737 1739
May 13, 2020
cbcd9c6
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
0c55cf0
l10n_it_fatturapa_out_triple_discount 12.0.1.0.4
OCA-git-bot Sep 24, 2020
5885773
[12.0][IMP] l10n_it_fatturapa_out and l10n_it_fatturapa_out_triple_di…
tafaRU Sep 11, 2020
ce1bfad
l10n_it_fatturapa_out_triple_discount 12.0.2.0.0
OCA-git-bot Oct 2, 2020
9a877a7
[FIX][l10n_it_fatturapa_out_triple_discount] change rounding to avoid…
Apr 12, 2021
789b0cf
l10n_it_fatturapa_out_triple_discount 12.0.2.0.1
OCA-git-bot Apr 15, 2021
bb8b3bc
[REF] l10n_it_fatturapa_out: Extract discounted price computation
SirTakobi Jul 13, 2022
cfbea25
[MIG] l10n_it_fatturapa_out_triple_discount: Migration to 14.0
SirTakobi Jul 13, 2022
ad9cd71
[IMP]Add sale_triple_discount on manifest
matteonext Apr 11, 2023
fd33ac8
Merge branch '14.0' of https://github.com/odooNextev/l10n-italy into …
matteonext Apr 12, 2023
b954f21
[IMP]Update repository
matteonext Apr 12, 2023
15dca74
[IMP]add pr dependencies to fix tests
matteonext Jun 7, 2023
39f2f72
[IMP]Fix requirements
matteonext Jun 7, 2023
15da6d5
[IMP]Fix tests
matteonext Jun 7, 2023
9bf0eb7
[IMP]test Requirements
matteonext Jul 25, 2023
cbdc4b3
[IMP]Fix requirements
matteonext Jul 25, 2023
d5fa12f
Empty commit
matteonext Nov 8, 2023
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
4 changes: 4 additions & 0 deletions l10n_it_fatturapa_out/data/invoice_it_template.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
~ Copyright 2022 Simone Rubino - TAKOBI
~ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>
<data>
<!--
Expand Down
3 changes: 3 additions & 0 deletions l10n_it_fatturapa_out/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Víctor Martínez
* `TAKOBI <https://takobi.online>`_:

* Simone Rubino <[email protected]>
6 changes: 4 additions & 2 deletions l10n_it_fatturapa_out/wizard/efattura.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Copyright 2020 Giuseppe Borruso
# Copyright 2020 Marco Colombo
# Copyright 2022 Simone Rubino - TAKOBI
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
import os
from datetime import datetime
Expand Down Expand Up @@ -174,8 +176,8 @@ def get_all_taxes(record):
wiz = self.env["wizard.export.fatturapa"]
return wiz.getAllTaxes(record)

def get_importo(line):
str_number = str(line.discount)
def get_importo(line, discount_field="discount"):
str_number = str(line[discount_field])
number = str_number[::-1].find(".")
if number <= 2:
return False
Expand Down
3 changes: 0 additions & 3 deletions l10n_it_fatturapa_out_sp/__init__.py

This file was deleted.

18 changes: 0 additions & 18 deletions l10n_it_fatturapa_out_sp/__manifest__.py

This file was deleted.

37 changes: 0 additions & 37 deletions l10n_it_fatturapa_out_sp/i18n/it.po

This file was deleted.

34 changes: 0 additions & 34 deletions l10n_it_fatturapa_out_sp/i18n/l10n_it_fatturapa_out_sp.pot

This file was deleted.

1 change: 0 additions & 1 deletion l10n_it_fatturapa_out_sp/readme/CONTRIBUTORS.rst

This file was deleted.

7 changes: 0 additions & 7 deletions l10n_it_fatturapa_out_sp/readme/DESCRIPTION.rst

This file was deleted.

Binary file removed l10n_it_fatturapa_out_sp/static/description/icon.png
Binary file not shown.
2 changes: 0 additions & 2 deletions l10n_it_fatturapa_out_sp/tests/__init__.py

This file was deleted.

54 changes: 0 additions & 54 deletions l10n_it_fatturapa_out_sp/tests/fatturapa_common.py

This file was deleted.

91 changes: 0 additions & 91 deletions l10n_it_fatturapa_out_sp/tests/test_fatturapa_xml_validation.py

This file was deleted.

3 changes: 0 additions & 3 deletions l10n_it_fatturapa_out_sp/wizard/__init__.py

This file was deleted.

15 changes: 0 additions & 15 deletions l10n_it_fatturapa_out_sp/wizard/wizard_export_fatturapa.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===========================================================
ITA - Fattura elettronica - Emissione - Scissione Pagamenti
===========================================================
======================================================
ITA - Fattura elettronica - Integrazione sconto triplo
======================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -14,24 +14,24 @@ ITA - Fattura elettronica - Emissione - Scissione Pagamenti
: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/14.0/l10n_it_fatturapa_out_sp
:target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_fatturapa_out_triple_discount
: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-14-0/l10n-italy-14-0-l10n_it_fatturapa_out_sp
:target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_out_triple_discount
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/122/14.0
:target: https://runbot.odoo-community.org/runbot/122/12.0
:alt: Try me on Runbot

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

**Italiano**

Modulo tecnico di integrazione tra l10n_it_split_payment e l10n_it_fatturapa_out
Questo modulo consente di generare correttamente la fattura elettronica (XML) quando il modulo account_invoice_triple_discount è installato.

**English**

Technical module for integrating l10n_it_split_payment and l10n_it_fatturapa_out
The module allows to use correctly generate the Electronic Invoice (XML) when the module account_invoice_triple_discount is installed.

**Table of contents**

Expand All @@ -44,7 +44,7 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_fatturapa_out_sp%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_fatturapa_out_triple_discount%0Aversion:%2012.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.

Expand All @@ -54,12 +54,13 @@ Credits
Authors
~~~~~~~

* Marco Colombo
* Agile Business Group

Contributors
~~~~~~~~~~~~

* Marco Colombo <https://github.com/TheMule71>
* Simone Rubino
* Alex Comba <[email protected]>

Maintainers
~~~~~~~~~~~
Expand All @@ -74,6 +75,6 @@ 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.

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fatturapa_out_sp>`_ project on GitHub.
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_fatturapa_out_triple_discount>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
Loading