From b0eceb51922065ee1aecb983cc8c4cd8e677fa1c Mon Sep 17 00:00:00 2001 From: Mourad Date: Tue, 2 Oct 2018 17:29:25 +0200 Subject: [PATCH] [MIG] account_payment_partner: migrate to 12.0 --- account_payment_partner/README.rst | 52 +++++------- account_payment_partner/__manifest__.py | 2 +- account_payment_partner/readme/CONFIGURE.rst | 1 + .../static/description/index.html | 80 ++++++++----------- .../views/account_move_line.xml | 4 +- 5 files changed, 58 insertions(+), 81 deletions(-) create mode 100644 account_payment_partner/readme/CONFIGURE.rst diff --git a/account_payment_partner/README.rst b/account_payment_partner/README.rst index 33edfef25..d83a4c51b 100644 --- a/account_payment_partner/README.rst +++ b/account_payment_partner/README.rst @@ -14,20 +14,18 @@ Account Payment Partner :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github - :target: https://github.com/OCA/bank-payment/tree/10.0/account_payment_partner + :target: https://github.com/OCA/bank-payment/tree/12.0/account_payment_partner :alt: OCA/bank-payment .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/bank-payment-10-0/bank-payment-10-0-account_payment_partner + :target: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_partner :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/97/10.0 + :target: https://runbot.odoo-community.org/runbot/97/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| -[ This file must be max 2-3 paragraphs, and is required. ] - -This module adds severals fields : +This module adds severals fields: * the *Supplier Payment Mode* and *Customer Payment Mode* on Partners, @@ -53,35 +51,27 @@ word about that), so that's the reason behind the several options. .. contents:: :local: +Configuration +============= + +There is nothing to configure. + Usage ===== -[ This file must be present and contains the usage instructions - for end-users. As all other rst files included in the README, - it MUST NOT contain reStructuredText sections - only body text (paragraphs, lists, tables, etc). Should you need - a more elaborate structure to explain the addon, please create a - Sphinx documentation (which may include this file as a "quick start" - section). ] - You are able to add a payment mode directly on a partner. -This payment mode is automatically associated to the invoice related to the partner. This default value could be change in a draft invoice. -When you create an payment order, only invoices related to chosen payment mode are displayed. -Invoices without any payment mode are displayed to. + +This payment mode is automatically associated to the invoice related to the +partner. This default value could be changed in a draft invoice. + +When you create a payment order, only invoices related to chosen payment mode +are displayed. + +Invoices without any payment mode are displayed too. Changelog ========= -[ The change log. The goal of this file is to help readers - understand changes between version. The primary audience is - end users and integrators. Purely technical changes such as - code refactoring must not be mentioned here. - - This file may contain ONE level of section titles, underlined - with the ~ (tilde) character. Other section markers are - forbidden and will likely break the structure of the README.rst - or other documents where this fragment is included. ] - 10.0.1.2.0 (2018-05-24) ~~~~~~~~~~~~~~~~~~~~~~~ @@ -94,7 +84,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -119,8 +109,8 @@ Contributors * Angel Moya * `Tecnativa `_: - * Pedro M. Baeza - * Carlos Dauden + * Pedro M. Baeza + * Carlos Dauden Maintainers ~~~~~~~~~~~ @@ -135,6 +125,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/bank-payment `_ project on GitHub. +This module is part of the `OCA/bank-payment `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_payment_partner/__manifest__.py b/account_payment_partner/__manifest__.py index 44d90fa79..5644036d8 100644 --- a/account_payment_partner/__manifest__.py +++ b/account_payment_partner/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Account Payment Partner', - 'version': '11.0.1.3.0', + 'version': '12.0.1.0.0', 'category': 'Banking addons', 'license': 'AGPL-3', 'summary': 'Adds payment mode on partners and invoices', diff --git a/account_payment_partner/readme/CONFIGURE.rst b/account_payment_partner/readme/CONFIGURE.rst new file mode 100644 index 000000000..d088e17bc --- /dev/null +++ b/account_payment_partner/readme/CONFIGURE.rst @@ -0,0 +1 @@ +There is nothing to configure. \ No newline at end of file diff --git a/account_payment_partner/static/description/index.html b/account_payment_partner/static/description/index.html index 641f3296e..b36e11b42 100644 --- a/account_payment_partner/static/description/index.html +++ b/account_payment_partner/static/description/index.html @@ -367,9 +367,8 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runbot

-

[ This file must be max 2-3 paragraphs, and is required. ]

-

This module adds severals fields :

+

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runbot

+

This module adds severals fields:

  • the Supplier Payment Mode and Customer Payment Mode on Partners,
  • the Payment Mode on Invoices.
  • @@ -387,51 +386,38 @@ word about that), so that’s the reason behind the several options.

    Table of contents

    +
    +

    Configuration

    +

    There is nothing to configure.

    +
    -

    Usage

    -
    -
    [ This file must be present and contains the usage instructions
    -
    for end-users. As all other rst files included in the README, -it MUST NOT contain reStructuredText sections -only body text (paragraphs, lists, tables, etc). Should you need -a more elaborate structure to explain the addon, please create a -Sphinx documentation (which may include this file as a “quick start” -section). ]
    -
    -

    You are able to add a payment mode directly on a partner. -This payment mode is automatically associated to the invoice related to the partner. This default value could be change in a draft invoice. -When you create an payment order, only invoices related to chosen payment mode are displayed. -Invoices without any payment mode are displayed to.

    +

    Usage

    +

    You are able to add a payment mode directly on a partner.

    +

    This payment mode is automatically associated to the invoice related to the +partner. This default value could be changed in a draft invoice.

    +

    When you create a payment order, only invoices related to chosen payment mode +are displayed.

    +

    Invoices without any payment mode are displayed too.

    -

    Changelog

    -
    -
    [ The change log. The goal of this file is to help readers
    -

    understand changes between version. The primary audience is -end users and integrators. Purely technical changes such as -code refactoring must not be mentioned here.

    -

    This file may contain ONE level of section titles, underlined -with the ~ (tilde) character. Other section markers are -forbidden and will likely break the structure of the README.rst -or other documents where this fragment is included. ]

    -
    -
    +

    Changelog

    -

    10.0.1.2.0 (2018-05-24)

    +

    10.0.1.2.0 (2018-05-24)

    • [IMP] Add options to show partner bank account in invoice report (#458)
    • @@ -439,24 +425,24 @@ or other documents where this fragment is included. ]

    -

    Bug Tracker

    +

    Bug Tracker

    Bugs are tracked on GitHub 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.

    +feedback.

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

    -

    Credits

    +

    Credits

    -

    Authors

    +

    Authors

    • Akretion
    • Tecnativa
    -

    Contributors

    +

    Contributors

    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association

    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/bank-payment project on GitHub.

    +

    This module is part of the OCA/bank-payment project on GitHub.

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

    diff --git a/account_payment_partner/views/account_move_line.xml b/account_payment_partner/views/account_move_line.xml index 601018111..fe2a916f2 100644 --- a/account_payment_partner/views/account_move_line.xml +++ b/account_payment_partner/views/account_move_line.xml @@ -13,11 +13,11 @@ account.move.line - + - +