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/data/payment_acquirer_data.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'addons/payment/data') diff --git a/addons/payment/data/payment_acquirer_data.xml b/addons/payment/data/payment_acquirer_data.xml index 0271aebdd52..174c8b4a998 100644 --- a/addons/payment/data/payment_acquirer_data.xml +++ b/addons/payment/data/payment_acquirer_data.xml @@ -155,7 +155,6 @@ Custom - none -- cgit v1.2.3