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

[16.0] [MIG] l10n_it_split_payment #3387

Merged
merged 35 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
232e54f
[IMP] 1st working mockup
Jul 11, 2015
c5ee618
Removing sp_type as 1-entry would produce wrong invoice
eLBati Sep 7, 2015
168c748
Fix errors raised by test_pylint, according to https://github.com/OCA…
tafaRU Sep 16, 2015
a91870e
Remove required constraint from configuration fields
eLBati Sep 25, 2015
47e71e3
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
c09ed00
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 26, 2016
dfedebe
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
1608eca
remove statement about split payment journal, as it is not present an…
eLBati Oct 22, 2015
3fcdd58
Always give amount_sp a value
eLBati Mar 14, 2016
da96f90
Solve problem with tests of l10n_it_split_payment after add of accoun…
OpenCode May 3, 2016
722fab0
[MIG] l10n_it_split_payment: Migrated to 10.0
archetipo Oct 20, 2016
f790c39
l10n_it_split_payment IMP README with new screenshots
eLBati Dec 12, 2016
349bfd7
[MIG] l10n_it_split_payment: Migration to 11.0
jackjack82 Jun 27, 2018
386bdf3
[ADD] account tax and tests
eLBati Nov 9, 2018
e7a3ec3
[FIX] manifest website string
ruben-tonetto Nov 9, 2018
1fb97ee
FIX (#1)
eLBati Nov 15, 2018
8a71706
[IMP] revamp readme
ruben-tonetto Nov 15, 2018
526c270
[MIG] l10n_it_split_payment: Migration to 12.0
eLBati Nov 16, 2018
f272fbc
Translated using Weblate (Italian)
eLBati Dec 6, 2018
ef3b58a
Translated using Weblate (Spanish)
Galoperd Jan 18, 2020
b04bddd
merge PR 1264 1717 1728 1737 1739
May 13, 2020
6236139
[IMP] l10n_it_split_payment: black, isort, prettier
Borruso Nov 20, 2020
8b424b5
[MIG] l10n_it_split_payment: Migration to 14.0
Borruso Nov 20, 2020
fc49c24
Move amount_sp to account_move
SimoRubi Apr 16, 2021
aefd8d5
[FIX] l10n_it_split_payment: fix payment lines
TheMule71 Jun 18, 2021
30c4035
Remove 'name' statement in filtered func in _compute_split_payments m…
SimoneVagile Dec 21, 2021
e258ae1
Migration script for split check in move lines
SimoneVagile Dec 21, 2021
eeb4155
[FIX] l10n_it_split_payment: fix test tags
TheMule71 Apr 15, 2022
f4bf939
[FIX] l10n_it_split_payment: fix unbalanced lines
Borruso Nov 16, 2021
95de0b5
[FIX] l10n_it_split_payment: fix the following use case scenario.
tafaRU Jul 22, 2022
12cf5d3
[FIX] l10n_it_split_payment: fix creazione fattura fornitore
Borruso Aug 26, 2022
b0e993a
[14.0][FIX] l10n_it_split_payment, check move line is not empty
GSLabIt Jun 7, 2022
5ed65c2
Translated using Weblate (Italian)
francesco-ooops Oct 26, 2022
167bf8c
[IMP] l10n_it_split_payment: pre-commit stuff
Borruso Jun 15, 2023
3504091
[MIG] l10n_it_split_payment: Migration to 16.0
Borruso Jun 16, 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
158 changes: 158 additions & 0 deletions l10n_it_split_payment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
=========================
ITA - Scissione pagamenti
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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_split_payment
: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_split_payment
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/l10n-italy&target_branch=16.0
:alt: Try me on Runboat

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

**Italiano**

Legge: https://goo.gl/7Atg3u (Art. 17-ter.)

Modulo per generare registrazioni contabili scissione dei pagamenti

**English**

Law: https://goo.gl/7Atg3u (Art. 17-ter.)

Module to generate Split Payment accounting entries

**Table of contents**

.. contents::
:local:

Configuration
=============

**Italiano**

Per configurare questo modulo è necessario:

* andare in Contabilità → Configurazione → Impostazioni e configura "Conto storno scissione pagamenti" (es. 'IVA n/debito sospesa SP'). Il conto storno dovrebbe essere diverso dall'IVA a debito standard, in modo da aggiungerlo separatamente nella dichiarazione IVA.

**English**

To configure this module, you need to:

* go to Accounting → Configuration → Settings and configure 'Split Payment Write-off account' (like 'IVA n/debito sospesa SP'). Write-off account should be different from standard debit VAT, in order to separately add it in VAT statement.

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/16.0/l10n_it_split_payment/static/settings.png
:alt: Configuration
:width: 600 px

-------------------------------------------------------------------------------

**Italiano**

* aggiungere una nuova imposta (Contabilità → Configurazione → Contabilità → Imposte). IVA al 22% SPL deve essere configurata nel modo seguente:

**English**

* add a new tax (Accounting → Configuration → Accounting → Taxes). IVA al 22% SPL should be configured like the following:


.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/16.0/l10n_it_split_payment/static/SP.png
:alt: 22SPL
:width: 600 px

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/16.0/l10n_it_split_payment/static/SP2.png
:alt: 22SPL
:width: 600 px

-------------------------------------------------------------------------------

**Italiano**

* configurare la posizione fiscale (Contabilità → Configurazione → Contabilità → Posizioni fiscali) usata per la scissione dei pagamenti, selezionando la casella "Scissione pagamenti". Nella posizione fiscale mappare l'IVA standard con l'IVA SP, come indicato di seguito:

**English**

* configure the fiscal position (Accounting → Configuration → Accounting → Fiscal Positions) used for split payment, setting 'Split Payment' flag. In fiscal position, map standard VAT with SP VAT, like the following:


.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/16.0/l10n_it_split_payment/static/fiscal_position.png
:alt: Fiscal position
:width: 600 px

Usage
=====

**Italiano**

Per usare questo modulo, è necessario selezionare la posizione fiscale corretta nelle fatture

**English**

To use this module, you need to select the correct fiscal position in invoices

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_split_payment%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
~~~~~~~

* Abstract
* Agile Business Group

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

* Davide Corio <[email protected]>
* Lorenzo Battistini <[email protected]>
* Alessio Gerace <[email protected]>
* Giacomo Grasso <[email protected]>
* Ruben Tonetto <https://github.com/ruben-tonetto>
* Giuseppe Borruso - Dinamiche Aziendali srl <[email protected]>
* Alex Comba <[email protected]>

* `Ooops <https://www.ooops404.com>`_:

* Giovanni Serra <[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.

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions l10n_it_split_payment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2015 Davide Corio <[email protected]>
# Copyright 2015 Lorenzo Battistini - Agile Business Group
# Copyright 2016 Alessio Gerace - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
30 changes: 30 additions & 0 deletions l10n_it_split_payment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2015 Davide Corio <[email protected]>
# Copyright 2015-2018 Lorenzo Battistini - Agile Business Group
# Copyright 2016 Alessio Gerace - Agile Business Group.
# Copyright 2018 Ruben Tonetto (Associazione PNLUG - Gruppo Odoo)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "ITA - Scissione pagamenti",
"version": "16.0.1.0.0",
"category": "Localization/Italy",
"summary": "Scissione pagamenti",
"author": "Abstract, Agile Business Group, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
"depends": [
"account",
],
"data": [
"data/account_tax_group_data.xml",
"views/account_view.xml",
"views/config_view.xml",
],
"images": [
"static/fiscal_position.png",
"static/settings.png",
"static/SP.png",
"static/SP2.png",
],
"installable": True,
}
9 changes: 9 additions & 0 deletions l10n_it_split_payment/data/account_tax_group_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="tax_group_split_payment" model="account.tax.group">
<field name="name">Split Payment</field>
<field name="country_id" ref="base.it" />
</record>

</odoo>
154 changes: 154 additions & 0 deletions l10n_it_split_payment/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_it_split_payment
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-12 02:40+0000\n"
"PO-Revision-Date: 2017-05-12 02:40+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: l10n_it_split_payment
#: model_terms:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid ""
"<span class=\"o_form_label\">Configuration for Split Payment module</span>\n"
" <span class=\"fa fa-lg fa-building-o\" title="
"\"Values set here are company-specific.\" aria-label=\"Values set here are "
"company-specific.\" groups=\"base.group_multi_company\" role=\"img\"/>"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,help:l10n_it_split_payment.field_res_company__sp_account_id
#: model:ir.model.fields,help:l10n_it_split_payment.field_res_config_settings__sp_account_id
msgid "Account used to write off the VAT amount"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_res_company
msgid "Companies"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: l10n_it_split_payment
#: model_terms:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Configuration for Split Payment module"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_fiscal_position__display_name
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move__display_name
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move_line__display_name
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_tax__display_name
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_company__display_name
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_config_settings__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_fiscal_position
msgid "Fiscal Position"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_fiscal_position__id
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move__id
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move_line__id
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_tax__id
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_company__id
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_config_settings__id
msgid "ID"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_bank_statement_line__split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move__split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move_line__is_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_payment__split_payment
msgid "Is Split Payment"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_tax__is_split_payment
msgid "Is split payment"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_fiscal_position____last_update
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move____last_update
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move_line____last_update
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_tax____last_update
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_company____last_update
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_config_settings____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:0
#, python-format
msgid ""
"Please set 'Split Payment Write-off Account' field in accounting "
"configuration"
msgstr ""

#. module: l10n_it_split_payment
#: model_terms:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "SP account"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_bank_statement_line__amount_sp
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_fiscal_position__split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_move__amount_sp
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_payment__amount_sp
msgid "Split Payment"
msgstr ""

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:0
#, python-format
msgid "Split Payment Write Off"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_company__sp_account_id
msgid "Split Payment Write-off Account"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_res_config_settings__sp_account_id
#: model_terms:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Split Payment Write-off account"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_tax
msgid "Tax"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "فاتورة"
Loading