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

[11.0][MIG] l10n it split payment: Migration to 11.0 #525

Closed
wants to merge 19 commits into from
Closed
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
5cc1b6a
[IMP] 1st working mockup
Jul 11, 2015
c81f6ae
Removing sp_type as 1-entry would produce wrong invoice
eLBati Sep 7, 2015
71911fc
Fix errors raised by test_pylint, according to https://github.com/OCA…
tafaRU Sep 16, 2015
dbbe91e
Remove required constraint from configuration fields
eLBati Sep 25, 2015
fc8163e
OCA Transbot updated translations from Transifex
oca-transbot Oct 11, 2015
43946ba
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
b3c305a
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 26, 2016
b3c7064
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
08b5fdf
OCA Transbot updated translations from Transifex
oca-transbot Oct 18, 2015
462b828
remove statement about split payment journal, as it is not present an…
eLBati Oct 22, 2015
e336771
OCA Transbot updated translations from Transifex
oca-transbot Oct 26, 2015
8db0ef1
Always give amount_sp a value
eLBati Mar 14, 2016
fdb2dc0
OCA Transbot updated translations from Transifex
oca-transbot Mar 26, 2016
1e32bd6
Solve problem with tests of l10n_it_split_payment after add of accoun…
OpenCode May 3, 2016
ffae08c
OCA Transbot updated translations from Transifex
oca-transbot May 7, 2016
ef11cc3
[MIG] l10n_it_split_payment: Migrated to 10.0
archetipo Oct 20, 2016
9bef381
l10n_it_split_payment IMP README with new screenshots
eLBati Dec 12, 2016
3278d3e
OCA Transbot updated translations from Transifex
oca-transbot Jan 14, 2017
1f41484
[11] migrating split payment
jackjack82 Jun 27, 2018
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
82 changes: 82 additions & 0 deletions l10n_it_split_payment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

====================================
Italian Localization - split payment
====================================

Law: http://goo.gl/1riAwt (Articolo 17 ter)

Module to generate Split Payment accounting entries

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

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.
* 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:: static/fiscal_position.png
:alt: Fiscal position
:width: 600 px


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

IVA al 22% SPL is configured like the following:


.. figure:: static/SP.png
:alt: 22SPL
:width: 600 px

.. figure:: static/SP2.png
:alt: 22SPL
:width: 600 px

Usage
=====

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

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/122/8.0


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.


Credits
=======

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

* Davide Corio <[email protected]>
* Lorenzo Battistini <[email protected]>
* Alessio Gerace <[email protected]>
* Giacomo Grasso <[email protected]>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
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
23 changes: 23 additions & 0 deletions l10n_it_split_payment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2015 Davide Corio <[email protected]>
# Copyright 2015-2016 Lorenzo Battistini - Agile Business Group
# Copyright 2016 Alessio Gerace - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Split Payment',
'version': '11.0.1.0.0',
'category': 'Localization/Italy',
'summary': 'Split Payment',
'author': 'Abstract, Agile Business Group, '
'Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/l10n-italy',
'license': 'AGPL-3',
'depends': [
'account',
'account_invoicing'],
'data': [
'views/account_view.xml',
'views/config_view.xml',
],
'installable': True,
}
89 changes: 89 additions & 0 deletions l10n_it_split_payment/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# 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:ir.model.fields,help:l10n_it_split_payment.field_account_config_settings_sp_account_id
#: model:ir.model.fields,help:l10n_it_split_payment.field_res_company_sp_account_id
msgid "Account used to write off the VAT amount"
msgstr ""

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:111
#, python-format
msgid "Can't handle supplier invoices with split payment"
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.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Configuration"
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,name:l10n_it_split_payment.model_account_invoice
msgid "Invoice"
msgstr "فاتورة"

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

#. module: l10n_it_split_payment
#: 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_invoice_amount_sp
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_invoice_split_payment
#: model:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Split Payment"
msgstr ""

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:50
#, 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_account_config_settings_sp_account_id
msgid "Split Payment Write-off account"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_config_settings
msgid "account.config.settings"
msgstr ""
88 changes: 88 additions & 0 deletions l10n_it_split_payment/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# 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: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

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

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:111
#, python-format
msgid "Can't handle supplier invoices with split payment"
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.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Configuration"
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,name:l10n_it_split_payment.model_account_invoice
msgid "Invoice"
msgstr "Фактура"

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

#. module: l10n_it_split_payment
#: 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_invoice_amount_sp
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_invoice_split_payment
#: model:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Split Payment"
msgstr ""

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:50
#, 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_account_config_settings_sp_account_id
msgid "Split Payment Write-off account"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_config_settings
msgid "account.config.settings"
msgstr ""
89 changes: 89 additions & 0 deletions l10n_it_split_payment/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# 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: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

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

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:111
#, python-format
msgid "Can't handle supplier invoices with split payment"
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.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Configuration"
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,name:l10n_it_split_payment.model_account_invoice
msgid "Invoice"
msgstr "Faktura"

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

#. module: l10n_it_split_payment
#: 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_invoice_amount_sp
#: model:ir.model.fields,field_description:l10n_it_split_payment.field_account_invoice_split_payment
#: model:ir.ui.view,arch_db:l10n_it_split_payment.view_account_config_settings
msgid "Split Payment"
msgstr ""

#. module: l10n_it_split_payment
#: code:addons/l10n_it_split_payment/models/account.py:50
#, 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_account_config_settings_sp_account_id
msgid "Split Payment Write-off account"
msgstr ""

#. module: l10n_it_split_payment
#: model:ir.model,name:l10n_it_split_payment.model_account_config_settings
msgid "account.config.settings"
msgstr ""
Loading