summaryrefslogtreecommitdiff
path: root/addons/payment/data/payment_acquirer_data.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2017-05-24 11:40:19 +0200
committerYannick Tivisse <yti@odoo.com>2017-06-02 15:31:47 +0200
commit4aa2fad313112a7a45a86b67e806f5a3af22d73b (patch)
treeae84130085545019a33b0e6f92687686f24a07d6 /addons/payment/data/payment_acquirer_data.xml
parent4fe4c1e8518f3adbd7406f2a75f98d7c25aa9a90 (diff)
[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`
Diffstat (limited to 'addons/payment/data/payment_acquirer_data.xml')
-rw-r--r--addons/payment/data/payment_acquirer_data.xml1
1 files changed, 0 insertions, 1 deletions
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 @@
<record id="payment_acquirer_custom" model="payment.acquirer">
<field name="name">Custom</field>
- <field name="auto_confirm">none</field>
<field name="company_id" ref="base.main_company"/>
<field name="view_template_id" ref="default_acquirer_button"/>
<field name="module_id" ref="base.module_payment_transfer"/>