- Split credentials from technical configuation moved to technical feature. - Fix website_published button
33 lines
1.0 KiB
Python
33 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
from openerp.osv import fields, osv
|
|
|
|
|
|
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.'),
|
|
'module_payment_ogone': fields.boolean(
|
|
'Ogone',
|
|
help='-It installs the module payment_ogone.'),
|
|
'module_payment_adyen': fields.boolean(
|
|
'Adyen',
|
|
help='-It installs the module payment_adyen.'),
|
|
'module_payment_buckaroo': fields.boolean(
|
|
'Buckaroo',
|
|
help='-It installs the module payment_buckaroo.'),
|
|
'module_payment_authorize': fields.dummy(
|
|
'Authorize.Net',
|
|
help='-It installs the module payment_authorize.'),
|
|
}
|
|
|
|
_defaults = {
|
|
'module_payment_transfer': True
|
|
}
|