mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update to 11
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import ir_ui_view
|
||||
import app_theme_config_settings
|
||||
import ir_ui_view
|
||||
import base_language_install
|
||||
import mail_thread
|
||||
|
||||
@@ -33,7 +33,7 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
app_account_url = fields.Char('My Odoo.com Account Url')
|
||||
|
||||
@api.model
|
||||
def get_default_all(self, fields):
|
||||
def get_values(self):
|
||||
ir_config = self.env['ir.config_parameter']
|
||||
app_system_name = ir_config.get_param('app_system_name', default='odooApp')
|
||||
|
||||
@@ -76,7 +76,7 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
)
|
||||
|
||||
@api.multi
|
||||
def set_default_all(self):
|
||||
def set_values(self):
|
||||
self.ensure_one()
|
||||
ir_config = self.env['ir.config_parameter']
|
||||
ir_config.set_param("app_system_name", self.app_system_name or "")
|
||||
|
||||
Reference in New Issue
Block a user