From 2ea517a97a48c8358e08ba9b5d35576558b5d852 Mon Sep 17 00:00:00 2001 From: Mourad Date: Tue, 2 Oct 2018 17:31:58 +0200 Subject: [PATCH] [MIG] account_payment_sale: migrate to 12.0 --- account_payment_sale/README.rst | 79 ++-- account_payment_sale/__manifest__.py | 2 +- .../static/description/index.html | 442 ++++++++++++++++++ .../views/sale_order_view.xml | 5 +- 4 files changed, 495 insertions(+), 33 deletions(-) create mode 100644 account_payment_sale/static/description/index.html diff --git a/account_payment_sale/README.rst b/account_payment_sale/README.rst index 7832cea6c..b06129e42 100644 --- a/account_payment_sale/README.rst +++ b/account_payment_sale/README.rst @@ -1,10 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 - ==================== Account Payment Sale ==================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/12.0/account_payment_sale + :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-12-0/bank-payment-12-0-account_payment_sale + :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/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This modules adds one field on sale orders: *Payment Mode*. This field is copied from customer to sale order and then from sale order to customer invoice. @@ -14,15 +34,10 @@ that it doesn't depend on the *account_payment_extension* module (it's not the only module to conflict with *account_payment_extension*; all the SEPA modules in the banking addons conflict with *account_payment_extension*. -Installation -============ +**Table of contents** -This module depends on : - -* sale -* account_payment_partner - -This module is part of the OCA/bank-payment suite. +.. contents:: + :local: Configuration ============= @@ -36,23 +51,27 @@ You are able to add a payment mode directly on a partner. This payment mode is automatically associated to the sale order, then on related invoice. This default value can be changed in a draft sale order or draft invoice. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/173/11.0 - 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. +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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* Akretion +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Pedro M. Baeza * Alexis de Lattre @@ -60,15 +79,19 @@ Contributors * Danimar Ribeiro * Raphaël Valyi -Maintainer ----------- - -.. image:: http://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: http://odoo-community.org +Maintainers +~~~~~~~~~~~ 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. +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org -To contribute to this module, please visit http://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/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_sale/__manifest__.py b/account_payment_sale/__manifest__.py index c0dfaea0d..c07c5a8cb 100644 --- a/account_payment_sale/__manifest__.py +++ b/account_payment_sale/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Account Payment Sale', - 'version': '11.0.1.0.1', + 'version': '12.0.1.0.0', 'category': 'Banking addons', 'license': 'AGPL-3', 'summary': "Adds payment mode on sale orders", diff --git a/account_payment_sale/static/description/index.html b/account_payment_sale/static/description/index.html new file mode 100644 index 000000000..db1b96213 --- /dev/null +++ b/account_payment_sale/static/description/index.html @@ -0,0 +1,442 @@ + + + + + + +Account Payment Sale + + + +
+

Account Payment Sale

+ + +

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

+

This modules adds one field on sale orders: Payment Mode. +This field is copied from customer to sale order and then from sale order to +customer invoice.

+

This module is similar to the sale_payment module; the main difference is +that it doesn’t depend on the account_payment_extension module (it’s not the +only module to conflict with account_payment_extension; all the SEPA +modules in the banking addons conflict with account_payment_extension.

+

Table of contents

+ +
+

Configuration

+

There is nothing to configure.

+
+
+

Usage

+

You are able to add a payment mode directly on a partner. +This payment mode is automatically associated to the sale order, then on related invoice. +This default value can be changed in a draft sale order or draft invoice.

+
+
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

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.

+

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

+
+
+
+ + diff --git a/account_payment_sale/views/sale_order_view.xml b/account_payment_sale/views/sale_order_view.xml index 005849e83..8861e724a 100644 --- a/account_payment_sale/views/sale_order_view.xml +++ b/account_payment_sale/views/sale_order_view.xml @@ -3,10 +3,8 @@ © 2014-2016 Akretion (Alexis de Lattre ) License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - account_payment_sale.sale_order.form sale.order @@ -15,10 +13,9 @@ + options="{'no_open': True, 'no_create': True}"/> -