mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc
This commit is contained in:
@@ -524,7 +524,7 @@ class ResConfigSettings(models.TransientModel):
|
||||
return True
|
||||
|
||||
def action_set_app_doc_root_to_my(self):
|
||||
base_url = self.env['ir.config_parameter'].get_param('web.base.url')
|
||||
base_url = self.env['ir.config_parameter'].sudo().get_param('web.base.url')
|
||||
self.app_doc_root_url = base_url
|
||||
|
||||
# def action_set_all_to_app_doc_root_url(self):
|
||||
|
||||
Reference in New Issue
Block a user