Skip to content

Commit

Permalink
[MIG] l10n_it_split_payment: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eLBati committed Nov 21, 2018
1 parent 809d2a2 commit 418a97a
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
14 changes: 7 additions & 7 deletions l10n_it_split_payment/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ Split Payment
: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/11.0/l10n_it_split_payment
:target: https://github.com/OCA/l10n-italy/tree/12.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-11-0/l10n-italy-11-0-l10n_it_split_payment
:target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_split_payment
: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/11.0
:target: https://runbot.odoo-community.org/runbot/122/12.0
:alt: Try me on Runbot

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

**Italiano**

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

Modulo per generare registrazioni contabili scissione dei pagamenti

**English**

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

Module to generate Split Payment accounting entries

Expand Down Expand Up @@ -114,7 +114,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_split_payment%0Aversion:%2011.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_split_payment%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 Down Expand Up @@ -149,6 +149,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/11.0/l10n_it_split_payment>`_ project on GitHub.
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/12.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: 3 additions & 3 deletions l10n_it_split_payment/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@

{
'name': 'Split Payment',
'version': '11.0.1.1.0',
'version': '12.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/tree/11.0/'
'website': 'https://github.com/OCA/l10n-italy/tree/12.0/'
'l10n_it_split_payment',
'license': 'AGPL-3',
'depends': [
'account',
'account_invoicing'],
],
'data': [
'views/account_view.xml',
'views/config_view.xml',
Expand Down
2 changes: 1 addition & 1 deletion l10n_it_split_payment/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AccountInvoice(models.Model):
readonly=True,
compute='_compute_amount')
split_payment = fields.Boolean(
'Split Payment',
'Is Split Payment',
related='fiscal_position_id.split_payment')

@api.one
Expand Down
4 changes: 2 additions & 2 deletions l10n_it_split_payment/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ResCompany(models.Model):
sp_account_id = fields.Many2one(
'account.account',
string='Split Payment Write-off Account',
help='Account used to write off the VAT amount')
help='Account used to write off the VAT amount', readonly=False)


class AccountConfigSettings(models.TransientModel):
Expand All @@ -20,4 +20,4 @@ class AccountConfigSettings(models.TransientModel):
sp_account_id = fields.Many2one(
related='company_id.sp_account_id',
string='Split Payment Write-off account',
help='Account used to write off the VAT amount')
help='Account used to write off the VAT amount', readonly=False)
4 changes: 2 additions & 2 deletions l10n_it_split_payment/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
**Italiano**

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

Modulo per generare registrazioni contabili scissione dei pagamenti

**English**

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

Module to generate Split Payment accounting entries

10 changes: 5 additions & 5 deletions l10n_it_split_payment/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,12 @@ <h1 class="title">Split Payment</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/11.0/l10n_it_split_payment"><img alt="OCA/l10n-italy" src="https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/l10n-italy-11-0/l10n-italy-11-0-l10n_it_split_payment"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/122/11.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_split_payment"><img alt="OCA/l10n-italy" src="https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_split_payment"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/122/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><strong>Italiano</strong></p>
<p>Legge: <a class="reference external" href="http://goo.gl/1riAwt">http://goo.gl/1riAwt</a> (Art. 17 ter)</p>
<p>Legge: <a class="reference external" href="https://goo.gl/7Atg3u">https://goo.gl/7Atg3u</a> (Art. 17-ter.)</p>
<p>Modulo per generare registrazioni contabili scissione dei pagamenti</p>
<p><strong>English</strong></p>
<p>Law: <a class="reference external" href="http://goo.gl/1riAwt">http://goo.gl/1riAwt</a> (Art. 17 ter)</p>
<p>Law: <a class="reference external" href="https://goo.gl/7Atg3u">https://goo.gl/7Atg3u</a> (Art. 17-ter.)</p>
<p>Module to generate Split Payment accounting entries</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
Expand Down Expand Up @@ -443,7 +443,7 @@ <h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_split_payment%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_split_payment%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -472,7 +472,7 @@ <h2><a class="toc-backref" href="#id7">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/11.0/l10n_it_split_payment">OCA/l10n-italy</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_split_payment">OCA/l10n-italy</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions l10n_it_split_payment/views/config_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="eu_service" position="after">
<div class="col-xs-12 col-md-6 o_setting_box"
<div class="col-12 col-lg-6 o_setting_box"
title="Configuration for Split Payment module">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label for="sp_account_id"/>
<span class="fa fa-lg fa-building-o"
title="Configuration for Split Payment module."
groups="base.group_multi_company"/>
<span class="o_form_label">Configuration for Split Payment module</span>
<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"/>
<div class="text-muted">
Configuration for Split Payment module.
Split Payment Write-off account
</div>
<div class="content-group">
<div class="row mt16">
<label string="Account" for="sp_account_id" class="col-md-3 o_light_label"/>
<label string="SP account" for="sp_account_id" class="col-lg-3 o_light_label"/>
<field name="sp_account_id"/>
</div>
</div>
Expand Down

0 comments on commit 418a97a

Please sign in to comment.