[IMP] Added default website value in Payment Gateways!
As by-default every payment gateways/payment acquirer are selected/activate for default website.
This commit is contained in:
parent
7281768f82
commit
3e52008bb1
@ -6,5 +6,5 @@ class PaymentAcquirer(models.Model):
|
||||
_inherit = "payment.acquirer"
|
||||
|
||||
website_id = fields.Many2one('website', string='Website', copy=False,
|
||||
help='Define website in which Payment '
|
||||
'Gateway will published.')
|
||||
default=lambda self: self.env.ref('website.default_website'),
|
||||
help='Define website in which Payment Gateway will published.')
|
||||
|
Loading…
Reference in New Issue
Block a user