diff --git a/addons/payment/models/payment_acquirer.py b/addons/payment/models/payment_acquirer.py
index 0aa4710caaf..19bd2c010c2 100644
--- a/addons/payment/models/payment_acquirer.py
+++ b/addons/payment/models/payment_acquirer.py
@@ -62,7 +62,7 @@ class PaymentAcquirer(osv.Model):
'name': fields.char('Name', required=True, translate=True),
'provider': fields.selection(_provider_selection, string='Provider', required=True),
'company_id': fields.many2one('res.company', 'Company', required=True),
- 'pre_msg': fields.html('Message', translate=True,
+ 'pre_msg': fields.html('Help Message', translate=True,
help='Message displayed to explain and help the payment process.'),
'post_msg': fields.html('Thanks Message', help='Message displayed after having done the payment process.'),
'validation': fields.selection(
@@ -81,15 +81,15 @@ class PaymentAcquirer(osv.Model):
help="Make this payment acquirer available (Customer invoices, etc.)"),
'auto_confirm': fields.selection(
[('none', 'No automatic confirmation'),
- ('at_pay_confirm', 'At payment confirmation'),
- ('at_pay_now', 'At payment')],
+ ('at_pay_confirm', 'At payment with acquirer confirmation'),
+ ('at_pay_now', 'At payment no acquirer confirmation needed')],
string='Order Confirmation', required=True),
'pending_msg': fields.html('Pending Message', translate=True, help='Message displayed, if order is in pending state after having done the payment process.'),
'done_msg': fields.html('Done Message', translate=True, help='Message displayed, if order is done successfully after having done the payment process.'),
'cancel_msg': fields.html('Cancel Message', translate=True, help='Message displayed, if order is cancel during the payment process.'),
'error_msg': fields.html('Error Message', translate=True, help='Message displayed, if error is occur during the payment process.'),
# Fees
- 'fees_active': fields.boolean('Compute fees'),
+ 'fees_active': fields.boolean('Add Extra Fees'),
'fees_dom_fixed': fields.float('Fixed domestic fees'),
'fees_dom_var': fields.float('Variable domestic fees (in percents)'),
'fees_int_fixed': fields.float('Fixed international fees'),
@@ -100,7 +100,7 @@ class PaymentAcquirer(osv.Model):
_defaults = {
'company_id': lambda self, cr, uid, obj, ctx=None: self.pool['res.users'].browse(cr, uid, uid).company_id.id,
'environment': 'test',
- 'validation': 'automatic',
+ 'validation': 'manual',
'website_published': False,
'auto_confirm': 'at_pay_confirm',
'pending_msg': 'Pending, Your online payment has been successfully processed. But your order is not validated yet.',
@@ -351,6 +351,9 @@ class PaymentAcquirer(osv.Model):
html_block = '\n'.join(filter(None, html_forms))
return self._wrap_payment_block(cr, uid, html_block, amount, currency_id, context=context)
+ def website_publish_button(self, cr, uid, ids, context=None):
+ for i in self.browse(cr, uid, ids, context=context):
+ i.website_published = not i.website_published
class PaymentTransaction(osv.Model):
""" Transaction Model. Each specific acquirer can extend the model by adding
diff --git a/addons/payment/models/res_config.py b/addons/payment/models/res_config.py
index c4d5ca52f3b..0d6d1cacb58 100644
--- a/addons/payment/models/res_config.py
+++ b/addons/payment/models/res_config.py
@@ -7,6 +7,9 @@ class AccountPaymentConfig(osv.TransientModel):
_inherit = 'account.config.settings'
_columns = {
+ 'module_payment_transfer': fields.boolean(
+ 'Wire Transfer',
+ help='-It installs the module payment_transfer.'),
'module_payment_paypal': fields.boolean(
'Paypal',
help='-It installs the module payment_paypal.'),
@@ -23,3 +26,7 @@ class AccountPaymentConfig(osv.TransientModel):
'Authorize.Net',
help='-It installs the module payment_authorize.'),
}
+
+ _defaults = {
+ 'module_payment_transfer': True
+ }
diff --git a/addons/payment/views/payment_acquirer.xml b/addons/payment/views/payment_acquirer.xml
index 3a01a8ad1d6..7498a63ccb0 100644
--- a/addons/payment/views/payment_acquirer.xml
+++ b/addons/payment/views/payment_acquirer.xml
@@ -2,6 +2,8 @@
+
+