update doc 12

This commit is contained in:
ivan deng
2018-11-24 22:31:13 +08:00
parent 42d4e672d0
commit 8ab9e69b2d
3 changed files with 8 additions and 8 deletions

View File

@@ -6,8 +6,8 @@
# resource of Sunpop # resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册(长期更新) # Odoo在线用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html # http://www.sunpop.cn/documentation/user/12.0/en/index.html
# Odoo10离线中文用户手册下载 # Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/ # http://www.sunpop.cn/odoo10_user_manual_document_offline/

View File

@@ -49,11 +49,11 @@
<record id="app_documentation_url" model="ir.config_parameter"> <record id="app_documentation_url" model="ir.config_parameter">
<field name="key">app_documentation_url</field> <field name="key">app_documentation_url</field>
<field name="value">http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html</field> <field name="value">http://www.sunpop.cn/documentation/user/12.0/en/index.html</field>
</record> </record>
<record id="app_documentation_dev_url" model="ir.config_parameter"> <record id="app_documentation_dev_url" model="ir.config_parameter">
<field name="key">app_documentation_dev_url</field> <field name="key">app_documentation_dev_url</field>
<field name="value">http://www.sunpop.cn/documentation/10.0/index.html</field> <field name="value">http://www.sunpop.cn/documentation/12.0/index.html</field>
</record> </record>
<record id="app_support_url" model="ir.config_parameter"> <record id="app_support_url" model="ir.config_parameter">
<field name="key">app_support_url</field> <field name="key">app_support_url</field>

View File

@@ -51,9 +51,9 @@ class AppThemeConfigSettings(models.TransientModel):
app_stop_subscribe = True if ir_config.sudo().get_param('app_stop_subscribe') == "True" else False app_stop_subscribe = True if ir_config.sudo().get_param('app_stop_subscribe') == "True" else False
app_documentation_url = ir_config.sudo().get_param('app_documentation_url', app_documentation_url = ir_config.sudo().get_param('app_documentation_url',
default='http://www.sunpop.cn/documentation/user/10.0/en/index.html') default='http://www.sunpop.cn/documentation/user/12.0/en/index.html')
app_documentation_dev_url = ir_config.sudo().get_param('app_documentation_dev_url', app_documentation_dev_url = ir_config.sudo().get_param('app_documentation_dev_url',
default='http://www.sunpop.cn/documentation/10.0/index.html') default='http://www.sunpop.cn/documentation/12.0/index.html')
app_support_url = ir_config.sudo().get_param('app_support_url', default='http://www.sunpop.cn/trial/') app_support_url = ir_config.sudo().get_param('app_support_url', default='http://www.sunpop.cn/trial/')
app_account_title = ir_config.sudo().get_param('app_account_title', default='My Online Account') app_account_title = ir_config.sudo().get_param('app_account_title', default='My Online Account')
app_account_url = ir_config.sudo().get_param('app_account_url', default='http://www.sunpop.cn/my-account/') app_account_url = ir_config.sudo().get_param('app_account_url', default='http://www.sunpop.cn/my-account/')
@@ -95,9 +95,9 @@ class AppThemeConfigSettings(models.TransientModel):
# ir_config.set_param("group_show_author_in_apps", self.group_show_author_in_apps or "False") # ir_config.set_param("group_show_author_in_apps", self.group_show_author_in_apps or "False")
ir_config.set_param("app_documentation_url", ir_config.set_param("app_documentation_url",
self.app_documentation_url or "http://www.sunpop.cn/documentation/user/10.0/en/index.html") self.app_documentation_url or "http://www.sunpop.cn/documentation/user/12.0/en/index.html")
ir_config.set_param("app_documentation_dev_url", ir_config.set_param("app_documentation_dev_url",
self.app_documentation_dev_url or "http://www.sunpop.cn/documentation/10.0/index.html") self.app_documentation_dev_url or "http://www.sunpop.cn/documentation/12.0/index.html")
ir_config.set_param("app_support_url", self.app_support_url or "http://www.sunpop.cn/trial/") ir_config.set_param("app_support_url", self.app_support_url or "http://www.sunpop.cn/trial/")
ir_config.set_param("app_account_title", self.app_account_title or "My Online Account") ir_config.set_param("app_account_title", self.app_account_title or "My Online Account")
ir_config.set_param("app_account_url", self.app_account_url or "http://www.sunpop.cn/my-account/") ir_config.set_param("app_account_url", self.app_account_url or "http://www.sunpop.cn/my-account/")