[MIG] website_sale_signifyd: to Odoo 15.0

This commit is contained in:
Jared Kipe
2021-10-06 13:06:22 -07:00
parent 3bb2e86786
commit 95e74a9dcd
6 changed files with 8 additions and 17 deletions

View File

@@ -14,12 +14,11 @@ class SignifydConnector(models.Model):
name = fields.Char(string='Connector Name', required=True)
test_mode = fields.Boolean(string='Test Mode')
user_key = fields.Char(string='Team/Username', required=True)
secret_key = fields.Char(string='API Key', required=True)
user_key_test = fields.Char(string='TEST Team/Username')
secret_key_test = fields.Char(string='TEST API Key')
webhooks_registered = fields.Boolean(string='Successfully Registered Webhooks')
notify_user_ids = fields.Many2many('res.users', string='Receive decline notifications')
website_ids = fields.One2many('website', 'signifyd_connector_id', string='Used on Websites')
# TODO ideally this would be a regular constant
# however other entities currently use this by reference