[IMP] payment: add the auto_confirm field on form view + transfer does not confirm...
authorThibault Delavallée <tde@openerp.com>
Thu, 23 Oct 2014 10:49:29 +0000 (12:49 +0200)
committerThibault Delavallée <tde@openerp.com>
Thu, 23 Oct 2014 10:49:29 +0000 (12:49 +0200)
addons/payment/models/payment_acquirer.py
addons/payment/views/payment_acquirer.xml
addons/payment_transfer/data/transfer.xml

index 37a1c4c..5af47d2 100644 (file)
@@ -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'),
index 8ff6ed5..69e4805 100644 (file)
@@ -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"/>
index 13dd1f2..f62a8bd 100644 (file)
@@ -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[