ai*
This commit is contained in:
12
ai_website/models/res_config_settings.py
Normal file
12
ai_website/models/res_config_settings.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
ai_allow_scripts = fields.Boolean(
|
||||
related='website_id.ai_allow_scripts',
|
||||
readonly=False,
|
||||
)
|
||||
Reference in New Issue
Block a user