Odoo18-Base/addons/test_website/models/res_config_settings.py

12 lines
313 B
Python
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
def action_website_test_setting(self):
return self.env['website'].get_client_action('/')