mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
13 lines
361 B
Python
13 lines
361 B
Python
![]() |
from odoo import models, fields
|
||
|
|
||
|
|
||
|
class EventsSources(models.Model):
|
||
|
_name = 'runbot_merge.events_sources'
|
||
|
_description = 'Valid Webhook Event Sources'
|
||
|
_order = "repository"
|
||
|
_rec_name = "repository"
|
||
|
|
||
|
# FIXME: unique repo? Or allow multiple secrets per repo?
|
||
|
repository = fields.Char(index=True, required=True)
|
||
|
secret = fields.Char()
|