mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update desc of odooai
This commit is contained in:
@@ -1,32 +1,32 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Created on 2018-11-26
|
||||
# author: 广州尚鹏,https://www.sunpop.cn
|
||||
# author: 欧度智能,https://www.odooai.cn
|
||||
# email: 300883@qq.com
|
||||
# resource of Sunpop
|
||||
# resource of odooai
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
# Odoo12在线用户手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/user/12.0/en/index.html
|
||||
# https://www.odooai.cn/documentation/user/12.0/en/index.html
|
||||
|
||||
# Odoo12在线开发者手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/12.0/index.html
|
||||
# https://www.odooai.cn/documentation/12.0/index.html
|
||||
|
||||
# Odoo10在线中文用户手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||
|
||||
# Odoo10离线中文用户手册下载
|
||||
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||
# https://www.sunpop.cn/odoo10_developer_document_offline/
|
||||
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||
# description:
|
||||
|
||||
{
|
||||
'name': 'Customize odoo OEM (Boost, My Odoo)',
|
||||
'version': '12.22.03.01',
|
||||
'author': 'Sunpop.cn',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Productivity',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
'website': 'https://www.odooai.cn',
|
||||
'license': 'LGPL-3',
|
||||
'sequence': 2,
|
||||
'summary': """
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="text-align: center;"><a href="https://www.sunpop.cn" target="_blank"><img src="/digest/static/src/img/google_play.png" style="display: inline-block; height: 30px; margin-left: auto; margin-right: 12px;"/></a><a href="https://www.sunpop.cn" target="_blank"><img src="/digest/static/src/img/app_store.png" style="display: inline-block; height: 30px; margin-left: 12px; margin-right: auto;"/></a>
|
||||
<div style="text-align: center;"><a href="https://www.odooai.cn" target="_blank"><img src="/digest/static/src/img/google_play.png" style="display: inline-block; height: 30px; margin-left: auto; margin-right: 12px;"/></a><a href="https://www.odooai.cn" target="_blank"><img src="/digest/static/src/img/app_store.png" style="display: inline-block; height: 30px; margin-left: 12px; margin-right: auto;"/></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -49,15 +49,15 @@
|
||||
|
||||
<record id="app_documentation_url" model="ir.config_parameter">
|
||||
<field name="key">app_documentation_url</field>
|
||||
<field name="value">https://www.sunpop.cn/documentation/user/12.0/zh_CN/index.html</field>
|
||||
<field name="value">https://www.odooai.cn/documentation/user/12.0/zh_CN/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">https://www.sunpop.cn/documentation/12.0/index.html</field>
|
||||
<field name="value">https://www.odooai.cn/documentation/12.0/index.html</field>
|
||||
</record>
|
||||
<record id="app_support_url" model="ir.config_parameter">
|
||||
<field name="key">app_support_url</field>
|
||||
<field name="value">https://www.sunpop.cn/trial</field>
|
||||
<field name="value">https://www.odooai.cn/trial</field>
|
||||
</record>
|
||||
<record id="app_account_title" model="ir.config_parameter">
|
||||
<field name="key">app_account_title</field>
|
||||
@@ -65,7 +65,7 @@
|
||||
</record>
|
||||
<record id="app_account_url" model="ir.config_parameter">
|
||||
<field name="key">app_account_url</field>
|
||||
<field name="value">https://www.sunpop.cn/my-account</field>
|
||||
<field name="value">https://www.odooai.cn/my-account</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -2,71 +2,71 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<record model="ir.module.module" id="base.module_web_studio">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_timesheet_grid">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_account_accountant">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_helpdesk">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_hr_appraisal">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_marketing_automation">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_mrp_plm">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_quality_control">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_sale_ebay">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_project_forecast">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_sale_subscription">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_sign">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_stock_barcode">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_voip">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_website_calendar">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_mrp_workorder">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.module" id="base.module_web_mobile">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<data noupdate="0">
|
||||
<!-- 创建数据库时首个公司信息 -->
|
||||
<record id="base.main_company" model="res.company">
|
||||
<field name="website">https://www.sunpop.cn</field>
|
||||
<field name="logo" type="base64" file="app_odoo_customize/static/src/img/logo_sunpop.png"/>
|
||||
<field name="website">https://www.odooai.cn</field>
|
||||
<field name="logo" type="base64" file="app_odoo_customize/static/src/img/logo_odooai.png"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,18 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Created on 2018-10-12
|
||||
# author: 广州尚鹏,https://www.sunpop.cn
|
||||
# author: 欧度智能,https://www.odooai.cn
|
||||
# email: 300883@qq.com
|
||||
# resource of Sunpop
|
||||
# resource of odooai
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
||||
|
||||
# Odoo在线中文用户手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||
|
||||
# Odoo10离线中文用户手册下载
|
||||
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||
# https://www.sunpop.cn/odoo10_developer_document_offline/
|
||||
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||
# description:
|
||||
|
||||
from odoo import api, SUPERUSER_ID, _
|
||||
@@ -21,7 +21,7 @@ from odoo import api, SUPERUSER_ID, _
|
||||
def pre_init_hook(cr):
|
||||
try:
|
||||
# 更新企业版指向
|
||||
sql = "UPDATE ir_module_module SET website = '%s' WHERE license like '%s' and website <> ''" % ('https://www.sunpop.cn', 'OEEL%')
|
||||
sql = "UPDATE ir_module_module SET website = '%s' WHERE license like '%s' and website <> ''" % ('https://www.odooai.cn', 'OEEL%')
|
||||
cr.execute(sql)
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
@@ -398,8 +398,8 @@ msgstr "视图"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
|
||||
msgid "Visit our website for more apps and Support. https://www.sunpop.cn"
|
||||
msgstr "请访问我们的网站获取更多支持. http://www.sunpop.cn"
|
||||
msgid "Visit our website for more apps and Support. https://www.odooai.cn"
|
||||
msgstr "请访问我们的网站获取更多支持. http://www.odooai.cn"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_show_account
|
||||
|
||||
@@ -51,13 +51,13 @@ class ResConfigSettings(models.TransientModel):
|
||||
app_stop_subscribe = True if ir_config.get_param('app_stop_subscribe') == "True" else False
|
||||
|
||||
app_documentation_url = ir_config.get_param('app_documentation_url',
|
||||
default='https://www.sunpop.cn/documentation/user/12.0/en/index.html')
|
||||
default='https://www.odooai.cn/documentation/user/12.0/en/index.html')
|
||||
app_documentation_dev_url = ir_config.get_param('app_documentation_dev_url',
|
||||
default='https://www.sunpop.cn/documentation/12.0/index.html')
|
||||
app_support_url = ir_config.get_param('app_support_url', default='https://www.sunpop.cn/trial/')
|
||||
default='https://www.odooai.cn/documentation/12.0/index.html')
|
||||
app_support_url = ir_config.get_param('app_support_url', default='https://www.odooai.cn/trial/')
|
||||
app_account_title = ir_config.get_param('app_account_title', default='My Online Account')
|
||||
app_account_url = ir_config.get_param('app_account_url', default='https://www.sunpop.cn/my-account/')
|
||||
app_enterprise_url = ir_config.get_param('app_enterprise_url', default='https://www.sunpop.cn')
|
||||
app_account_url = ir_config.get_param('app_account_url', default='https://www.odooai.cn/my-account/')
|
||||
app_enterprise_url = ir_config.get_param('app_enterprise_url', default='https://www.odooai.cn')
|
||||
res.update(
|
||||
app_system_name=app_system_name,
|
||||
app_show_lang=app_show_lang,
|
||||
@@ -97,13 +97,13 @@ class ResConfigSettings(models.TransientModel):
|
||||
ir_config.set_param("app_stop_subscribe", self.app_stop_subscribe or "False")
|
||||
|
||||
ir_config.set_param("app_documentation_url",
|
||||
self.app_documentation_url or "https://www.sunpop.cn/documentation/user/12.0/en/index.html")
|
||||
self.app_documentation_url or "https://www.odooai.cn/documentation/user/12.0/en/index.html")
|
||||
ir_config.set_param("app_documentation_dev_url",
|
||||
self.app_documentation_dev_url or "https://www.sunpop.cn/documentation/12.0/index.html")
|
||||
ir_config.set_param("app_support_url", self.app_support_url or "https://www.sunpop.cn/trial/")
|
||||
self.app_documentation_dev_url or "https://www.odooai.cn/documentation/12.0/index.html")
|
||||
ir_config.set_param("app_support_url", self.app_support_url or "https://www.odooai.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 "https://www.sunpop.cn/my-account/")
|
||||
ir_config.set_param("app_enterprise_url", self.app_enterprise_url or "https://www.sunpop.cn")
|
||||
ir_config.set_param("app_account_url", self.app_account_url or "https://www.odooai.cn/my-account/")
|
||||
ir_config.set_param("app_enterprise_url", self.app_enterprise_url or "https://www.odooai.cn")
|
||||
|
||||
def set_module_url(self):
|
||||
sql = "UPDATE ir_module_module SET website = '%s' WHERE license like '%s' and website <> ''" % (self.app_enterprise_url, 'OEEL%')
|
||||
|
||||
@@ -34,7 +34,7 @@ Also helpful for training and support for your odoo end-user.
|
||||
The user can get the help document just by one click.
|
||||
|
||||
For more support
|
||||
https://www.sunpop.cn
|
||||
https://www.odooai.cn
|
||||
|
||||
## 在符合odoo开源协议的前提下,去除odoo版权信息,自定义你的odoo
|
||||
可完全自行设置下列 odoo 选项,让 odoo 看上去像是你的软件产品
|
||||
@@ -72,17 +72,17 @@ https://www.sunpop.cn
|
||||
|
||||
## 其它技术资源:
|
||||
# Odoo12在线用户手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/user/12.0/en/index.html
|
||||
# https://www.odooai.cn/documentation/user/12.0/en/index.html
|
||||
|
||||
# Odoo12在线开发者手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/12.0/index.html
|
||||
# https://www.odooai.cn/documentation/12.0/index.html
|
||||
|
||||
# Odoo10在线中文用户手册(长期更新)
|
||||
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||
|
||||
# Odoo10离线中文用户手册下载
|
||||
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||
# https://www.sunpop.cn/odoo10_developer_document_offline/
|
||||
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||
# description:
|
||||
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
</h4>
|
||||
<h4 class="mt8">
|
||||
Also you can
|
||||
<a href="https://www.odoo.com/apps/modules/browse?author=Sunpop.cn" target="_blank">
|
||||
<a href="https://www.odoo.com/apps/modules/browse?author=odooai.cn" target="_blank">
|
||||
get more powerful odoo apps from us.
|
||||
</a>. like [superbar widget]
|
||||
</h4>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<a href="https://www.odoo.com/apps/modules/browse?author=Sunpop.cn" target="_blank">
|
||||
<a href="https://www.odoo.com/apps/modules/browse?author=odooai.cn" target="_blank">
|
||||
<img oe_demo oe_screenshot src="http://www.odoo.com/apps/modules/12.0/app_web_superbar/banner.gif"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -54,7 +54,7 @@
|
||||
<p>Add 18. Show/Hide Author and Website in Apps Dashboard</p>
|
||||
<h1 class="text-primary">More Powerful addons:</h1>
|
||||
<p class="">
|
||||
<a class="btn btn-block btn-success mt16 mb16" href="http://www.odoo.com/apps/modules/browse?author=Sunpop.cn">Sunpop.cn Awesome Odoo Addons</a>
|
||||
<a class="btn btn-block btn-success mt16 mb16" href="http://www.odoo.com/apps/modules/browse?author=odooai.cn">odooai.cn Awesome Odoo Addons</a>
|
||||
</p>
|
||||
<br>
|
||||
<h3>Add Odoo 12, 11 Support</h3>
|
||||
@@ -250,7 +250,7 @@
|
||||
<div class="oe_mt16">
|
||||
<h4>
|
||||
Visit our website for more support.</h4>
|
||||
<h3>https://www.sunpop.cn</h3>
|
||||
<h3>https://www.odooai.cn</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -11,11 +11,11 @@ odoo.define('app_odoo_customize.UserMenu', function (require) {
|
||||
|
||||
var UserMenu = require('web.UserMenu');
|
||||
//避免错误,要再定义
|
||||
var documentation_url = 'https://www.sunpop.cn';
|
||||
var documentation_dev_url = 'https://www.sunpop.cn';
|
||||
var support_url = 'https://www.sunpop.cn';
|
||||
var documentation_url = 'https://www.odooai.cn';
|
||||
var documentation_dev_url = 'https://www.odooai.cn';
|
||||
var support_url = 'https://www.odooai.cn';
|
||||
var account_title = 'My Account';
|
||||
var account_url = 'https://www.sunpop.cn';
|
||||
var account_url = 'https://www.odooai.cn';
|
||||
|
||||
UserMenu.include({
|
||||
init: function () {
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
<templates xml:space="preserve">
|
||||
<t t-extend="DashboardApps">
|
||||
<t t-jquery=".o_web_settings_dashboard_pills" t-operation="replace">
|
||||
<a href="https://www.sunpop.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-rocket text-muted"/> App store</a>
|
||||
<a href="https://www.sunpop.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-picture-o text-muted"/> Theme store</a>
|
||||
<a href="https://www.odooai.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-rocket text-muted"/> App store</a>
|
||||
<a href="https://www.odooai.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-picture-o text-muted"/> Theme store</a>
|
||||
</t>
|
||||
</t>
|
||||
<!-- when enterprise-->
|
||||
<!-- <t t-extend="DashboardMain">-->
|
||||
<!-- <t t-jquery="a[href='https://play.google.com/store/apps/details?id=com.odoo.mobile']" t-operation="replace">-->
|
||||
<!-- <a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">-->
|
||||
<!-- <a class="d-block mx-auto" href="https://www.odooai.cn" target="_blank">-->
|
||||
<!-- <img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/google_play.png" alt="On Google Play"/>-->
|
||||
<!-- </a>-->
|
||||
<!-- </t>-->
|
||||
<!-- <t t-jquery="a[href='https://itunes.apple.com/us/app/odoo/id1272543640']" t-operation="replace">-->
|
||||
<!-- <a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">-->
|
||||
<!-- <a class="d-block mx-auto" href="https://www.odooai.cn" target="_blank">-->
|
||||
<!-- <img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/app_store.png" alt="On Apple Store"/>-->
|
||||
<!-- </a>-->
|
||||
<!-- </t>-->
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<!-- some odoo version not support, please remove this if you are using odoo9 -->
|
||||
<!--<template id="replace_login" name="Login Layout" inherit_id="web.login_layout">-->
|
||||
<!--<xpath expr="//a[@target='_blank']" position="replace">-->
|
||||
<!--<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>-->
|
||||
<!--<a href="https://www.odooai.cn" target="_blank">Powered by <span>odooApp</span></a>-->
|
||||
<!--</xpath>-->
|
||||
<!--</template>-->
|
||||
</odoo>
|
||||
@@ -17,7 +17,7 @@
|
||||
<div>
|
||||
<field name="app_system_name"/>
|
||||
<div>
|
||||
<a href="https://www.sunpop.cn" target="_blank">Visit our website for more apps and Support. https://www.sunpop.cn</a>
|
||||
<a href="https://www.odooai.cn" target="_blank">Visit our website for more apps and Support. https://www.odooai.cn</a>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user