Skip to content

Commit

Permalink
ADD l10n_it_causali_pagamento and l10n_it_withholding_tax_causali
Browse files Browse the repository at this point in the history
  • Loading branch information
eLBati committed Dec 5, 2018
1 parent 13b88e6 commit 58914cf
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 0 deletions.
64 changes: 64 additions & 0 deletions l10n_it_withholding_tax_causali/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
========================================
Causali pagamento per ritenute d'acconto
========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/10.0/l10n_it_withholding_tax_causali
:alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/122/10.0
:alt: Try me on Runbot

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

Bridge module between l10n_it_withholding_tax and l10n_it_causali_pagamento

**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 smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Agile Business Group

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/10.0/l10n_it_withholding_tax_causali>`_ 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_withholding_tax_causali/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from . import models
22 changes: 22 additions & 0 deletions l10n_it_withholding_tax_causali/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Lorenzo Battistini - Agile Business Group
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
{
"name": "Causali pagamento per ritenute d'acconto",
"version": "10.0.1.0.0",
"development_status": "Beta",
"category": "Hidden",
"website": "https://github.com/OCA/l10n-italy",
"author": "Agile Business Group, Odoo Community Association (OCA)",
"license": "LGPL-3",
"application": False,
"installable": True,
"depends": [
"l10n_it_withholding_tax",
"l10n_it_causali_pagamento",
],
"data": [
"views/withholding_tax.xml",
],
'auto_install': True,
}
27 changes: 27 additions & 0 deletions l10n_it_withholding_tax_causali/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_withholding_tax_causali
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-23 17:50+0000\n"
"PO-Revision-Date: 2018-08-23 17:50+0000\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"

#. module: l10n_it_withholding_tax_causali
#: model:ir.model.fields,field_description:l10n_it_withholding_tax_causali.field_withholding_tax_causale_pagamento_id
msgid "Causale pagamento"
msgstr "Causale pagamento"

#. module: l10n_it_withholding_tax_causali
#: model:ir.model,name:l10n_it_withholding_tax_causali.model_withholding_tax
msgid "Withholding Tax"
msgstr "Ritenuta"

3 changes: 3 additions & 0 deletions l10n_it_withholding_tax_causali/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from . import withholding_tax
9 changes: 9 additions & 0 deletions l10n_it_withholding_tax_causali/models/withholding_tax.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-

from odoo import models, fields


class WithholdingTax(models.Model):
_inherit = 'withholding.tax'
causale_pagamento_id = fields.Many2one(
'causale.pagamento', string="Causale pagamento")
1 change: 1 addition & 0 deletions l10n_it_withholding_tax_causali/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bridge module between l10n_it_withholding_tax and l10n_it_causali_pagamento
13 changes: 13 additions & 0 deletions l10n_it_withholding_tax_causali/views/withholding_tax.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_withholding_tax_form_causale" model="ir.ui.view">
<field name="name">view_withholding_tax_form_causale</field>
<field name="model">withholding.tax</field>
<field name="inherit_id" ref="l10n_it_withholding_tax.view_withholding_tax_form"/>
<field name="arch" type="xml">
<field name="payment_term" position="after">
<field name="causale_pagamento_id"/>
</field>
</field>
</record>
</odoo>

0 comments on commit 58914cf

Please sign in to comment.