mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update doc 12
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
# resource of Sunpop
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
# Odoo在线中文用户手册(长期更新)
|
||||
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||
# Odoo在线用户手册(长期更新)
|
||||
# http://www.sunpop.cn/documentation/user/12.0/en/index.html
|
||||
|
||||
# Odoo10离线中文用户手册下载
|
||||
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||
|
||||
@@ -49,11 +49,11 @@
|
||||
|
||||
<record id="app_documentation_url" model="ir.config_parameter">
|
||||
<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 id="app_documentation_dev_url" model="ir.config_parameter">
|
||||
<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 id="app_support_url" model="ir.config_parameter">
|
||||
<field name="key">app_support_url</field>
|
||||
|
||||
@@ -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_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',
|
||||
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_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/')
|
||||
@@ -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("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",
|
||||
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_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/")
|
||||
|
||||
Reference in New Issue
Block a user