[IMP] payment: add the auto_confirm field on form view + transfer does not confirm by default
This commit is contained in:
@@ -79,7 +79,7 @@ class PaymentAcquirer(osv.Model):
|
||||
[('none', 'No automatic confirmation'),
|
||||
('at_pay_confirm', 'At payment confirmation'),
|
||||
('at_pay_now', 'At payment')],
|
||||
string='Auto Confirmation', required=True),
|
||||
string='Order Confirmation', required=True),
|
||||
# Fees
|
||||
'fees_active': fields.boolean('Compute fees'),
|
||||
'fees_dom_fixed': fields.float('Fixed domestic fees'),
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<field name="company_id"/>
|
||||
<field name="website_published"/>
|
||||
<field name="environment"/>
|
||||
<field name="auto_confirm"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="fees_active"/>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
<field name="view_template_id" ref="transfer_acquirer_button"/>
|
||||
<field name="validation">manual</field>
|
||||
<field name="auto_confirm">none</field>
|
||||
<field name="environment">test</field>
|
||||
<field name="website_published" eval="True"/>
|
||||
<field name="pre_msg"><![CDATA[
|
||||
|
||||
Reference in New Issue
Block a user