[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"
|
_inherit = "payment.acquirer"
|
||||||
|
|
||||||
website_id = fields.Many2one('website', string='Website', copy=False,
|
website_id = fields.Many2one('website', string='Website', copy=False,
|
||||||
help='Define website in which Payment '
|
default=lambda self: self.env.ref('website.default_website'),
|
||||||
'Gateway will published.')
|
help='Define website in which Payment Gateway will published.')
|
||||||
|
Loading…
Reference in New Issue
Block a user