From 4aa2fad313112a7a45a86b67e806f5a3af22d73b Mon Sep 17 00:00:00 2001
From: Yannick Tivisse
Date: Wed, 24 May 2017 11:40:19 +0200
Subject: [IMP] payment: Remove auto_confirm field and simplify views.
PURPOSE
=======
The field auto_confirm is complicated to understand for common users. Furthermore, on of its options is only useful for authorize module.
SPECIFICATION
=============
Remove the auto_confirm field. The destinies of its options are the following:
- none: Simply disappear.
- authorize: Become capture_manually. It has nothing to do with the auto_confirm field has it's related to the autorize module (And could be extended to other payment acquirers too).
- confirm_so: Remove it. Will be automatic, and we will always validate the sales order and generate the accounting entries on acquirer validation.
- generate_and_pay_invoice: Is linked to the journal_id. The field journal_id is always set and we will use it to validate the sales order and generate the accounting entries on acquirer validation.
Bonus: website_sale: Allow to create/validate invoice automatically on `Mark as Paid`
---
addons/payment_transfer/data/payment_acquirer_data.xml | 1 -
addons/payment_transfer/views/payment_views.xml | 3 ---
2 files changed, 4 deletions(-)
(limited to 'addons/payment_transfer')
diff --git a/addons/payment_transfer/data/payment_acquirer_data.xml b/addons/payment_transfer/data/payment_acquirer_data.xml
index 77ff2e2381d..0eee54a9259 100644
--- a/addons/payment_transfer/data/payment_acquirer_data.xml
+++ b/addons/payment_transfer/data/payment_acquirer_data.xml
@@ -8,7 +8,6 @@
transfer
- none
test
{'invisible': [('provider', '=', 'transfer')]}
-
- {'invisible': [('provider', '=', 'transfer')]}
-
--
cgit v1.2.3
From b9980eda5c0e48ee281c3d144284bd575e98db69 Mon Sep 17 00:00:00 2001
From: Yannick Tivisse
Date: Fri, 2 Jun 2017 13:45:53 +0200
Subject: [IMP] payment,*: Relabel 'Payment Method' into 'Payment Acquirer'
---
addons/payment_transfer/data/payment_acquirer_data.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'addons/payment_transfer')
diff --git a/addons/payment_transfer/data/payment_acquirer_data.xml b/addons/payment_transfer/data/payment_acquirer_data.xml
index 0eee54a9259..cce3869a8ed 100644
--- a/addons/payment_transfer/data/payment_acquirer_data.xml
+++ b/addons/payment_transfer/data/payment_acquirer_data.xml
@@ -11,7 +11,7 @@
test
Transfer information will be provided after choosing the payment method.
]]>
+Transfer information will be provided after choosing the payment aquirer.
]]>
--
cgit v1.2.3