Tower: upload cetmix_tower_webhook 16.0.1.0.5 (via marketplace)
This commit is contained in:
13
addons/cetmix_tower_webhook/models/res_config_settings.py
Normal file
13
addons/cetmix_tower_webhook/models/res_config_settings.py
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
|
class ResConfigSettings(models.TransientModel):
|
||||||
|
_inherit = "res.config.settings"
|
||||||
|
|
||||||
|
cetmix_tower_webhook_log_duration = fields.Integer(
|
||||||
|
string="Keep Webhook Logs for (days)",
|
||||||
|
help="Set the number of days to keep webhook logs. "
|
||||||
|
"Old logs will be deleted automatically.",
|
||||||
|
default=30,
|
||||||
|
config_parameter="cetmix_tower_webhook.webhook_log_duration",
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user