init 中文翻译po

This commit is contained in:
Ivan Office
2024-10-31 20:23:33 +08:00
parent 4c4502b901
commit 54f1c3adff
12 changed files with 553 additions and 345 deletions

View File

@@ -38,8 +38,8 @@
############################################################################## ##############################################################################
{ {
'name': "odooAi Common Util and Tools", 'name': "odooAi Common Util and Tools,欧度智能基础功能及面板",
'version': '24.10.09', 'version': '24.10.31',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Base', 'category': 'Base',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',
@@ -51,7 +51,7 @@
'images': ['static/description/banner.png'], 'images': ['static/description/banner.png'],
'summary': ''' 'summary': '''
Core for common use for odooai.cn apps. Core for common use for odooai.cn apps.
基础核心必须没有要被依赖字段及视图等实现auto_install 基础核心及云面板必须没有要被依赖字段及视图等实现auto_install
''', ''',
'description': ''' 'description': '''
need to setup odoo.conf, add follow: need to setup odoo.conf, add follow:
@@ -78,9 +78,11 @@
''', ''',
'depends': [ 'depends': [
'mail', 'mail',
'base_setup',
'web', 'web',
], ],
'data': [ 'data': [
'views/res_config_settings_views.xml',
'views/ir_cron_views.xml', 'views/ir_cron_views.xml',
# 'report/.xml', # 'report/.xml',
], ],

View File

@@ -1,29 +1,97 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules:
# * app_common
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 10.0\n" "Project-Id-Version: Odoo Server 18.0-20241031\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-08 14:28+0000\n" "POT-Creation-Date: 2024-10-31 11:14+0000\n"
"PO-Revision-Date: 2018-01-08 14:28+0000\n" "PO-Revision-Date: 2024-10-31 11:14+0000\n"
"Last-Translator: <>\n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \n" "Plural-Forms: \n"
#. module: app_common
#. odoo-python
#: code:addons/app_common/models/ir_mail_server.py:0
#: code:addons/app_common/models/mail_mail.py:0
msgid "=================Email to ignore: %s"
msgstr "================= 忽略不发送的Email: %s"
#. module: app_common
#: model:ir.model,name:app_common.model_base
msgid "Base"
msgstr "基础"
#. module: app_common
#: model:ir.model,name:app_common.model_res_partner
msgid "Contact"
msgstr "联系人"
#. module: app_common
#. odoo-python
#: code:addons/app_common/models/ir_mail_server.py:0
msgid "Email to ignore: %s"
msgstr "忽略的Email: %s"
#. module: app_common
#: model_terms:ir.ui.view,arch_db:app_common.app_res_config_settings_view_form
msgid ""
"Get the Industry Apps, Themes and Support from China odooapp store.\n"
" https://www.odooapp.cn"
msgstr "获取Odoo行业应用模块主题。请访问Odoo中国应用商店\n"
" https://www.odooapp.cn"
#. module: app_common
#: model:ir.model,name:app_common.model_ir_http
msgid "HTTP Routing"
msgstr "HTTP 路由"
#. module: app_common #. module: app_common
#: model:ir.model.fields,field_description:app_common.field_ir_cron__trigger_user_id #: model:ir.model.fields,field_description:app_common.field_ir_cron__trigger_user_id
msgid "Last Trigger User" msgid "Last Trigger User"
msgstr "手动运行用户" msgstr "手动运行用户"
#. module: app_common
#: model:ir.model.fields,field_description:app_common.field_res_users__login
msgid "Login"
msgstr "登录"
#. module: app_common
#: model:ir.model,name:app_common.model_ir_mail_server
msgid "Mail Server"
msgstr "邮件服务器"
#. module: app_common
#: model:ir.model,name:app_common.model_mail_mail
msgid "Outgoing Mails"
msgstr "发出邮件"
#. module: app_common #. module: app_common
#: model:ir.model,name:app_common.model_ir_cron #: model:ir.model,name:app_common.model_ir_cron
msgid "Scheduled Actions" msgid "Scheduled Actions"
msgstr "安排的动作" msgstr "安排的动作"
#. module: app_common #. module: app_common
#: model:ir.model,name:app_common.model_ir_ui_view #: model_terms:ir.ui.view,arch_db:app_common.app_res_config_settings_view_form
msgid "View" msgid "Setup the communication to odooAi Cloud"
msgstr "查看" msgstr "设置云面板"
#. module: app_common
#: model_terms:ir.ui.view,arch_db:app_common.app_res_config_settings_view_form
msgid ""
"Visit our website for more apps and Support.\n"
"\t\t\t\t\t\t\t\t\t\t\t\t\thttps://www.odooai.cn"
msgstr ""
"欢迎访问欧度智能官方网站获取Odoo企业级运营支持。\n"
"\t\t\t\t\t\t\t\t\t\t\t\t\t https://www.odooai.cn"
#. module: app_common
#: model:ir.actions.act_window,name:app_common.action_odooai_cloud_config
#: model_terms:ir.ui.view,arch_db:app_common.app_res_config_settings_view_form
msgid "odooAi Cloud"
msgstr "欧度智能云"

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="app_res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.app_common</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//app[@name='general_settings']" position="before">
<app name="app_common" data-string="odoAi Cloud" string="odooAi Cloud" data-key="app_common"
logo="/app_common/static/description/odooai.png" groups="base.group_erp_manager">
<div id="app_slot1" class="o_hidden"></div>
<div id="app_odooai_banner" class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25">
<div class="col-lg-12 col-md-12 ms-0 o_setting_box">
<div class="o_setting_right_pane border-start-0 ms-0 ps-0">
<div class="content-group">
<div class="row mt8">
<div name="app_odooai_link">
<a href="https://www.odooai.cn" target="_blank">Visit our website for more apps and Support.
https://www.odooai.cn
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<block title="odooAi Cloud" class="mt16" name="odooai_cloud_block">
<setting title="Setup the communication to odooAi Cloud" string="Setup the communication to odooAi Cloud">
<div name="app_odooapp_link">
<a href="https://www.odooapp.cn" target="_blank">Get the Industry Apps, Themes and Support from China odooapp store.
https://www.odooapp.cn
</a>
</div>
</setting>
</block>
<div id="app_slot2" class="o_hidden"></div>
</app>
</xpath>
</field>
</record>
<record id="action_odooai_cloud_config" model="ir.actions.act_window">
<field name="name">odooAi Cloud</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'app_common', 'bin_size': False}</field>
</record>
</data>
</odoo>

View File

@@ -23,7 +23,7 @@
{ {
'name': 'odoo18 Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data,Development Enhance', 'name': 'odoo18 Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data,Development Enhance',
'version': '24.10.09', 'version': '24.10.31',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Extra Tools', 'category': 'Extra Tools',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',
@@ -32,7 +32,7 @@
'sequence': 2, 'sequence': 2,
'images': ['static/description/banner.gif'], 'images': ['static/description/banner.gif'],
'summary': """ 'summary': """
Odoo18 Supported. Ai as employee. 1 click Tweak odoo. 48 Functions odoo enhancement. for Customize, UI, Boost, Security, Development. Odoo Enhance all in one, 50+ Functions.18 Supported. Ai as employee. 1 click Tweak odoo. Odoo Customize, UI, Boost, Security, Development.
Easy reset data, clear data, reset account chart, reset Demo data. Easy reset data, clear data, reset account chart, reset Demo data.
For quick debug. Set brand. For quick debug. Set brand.
""", """,
@@ -49,13 +49,12 @@
'security/res_groups.xml', 'security/res_groups.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'views/app_odoo_customize_views.xml', 'views/app_odoo_customize_views.xml',
'views/app_theme_config_settings_views.xml',
'views/res_config_settings_views.xml', 'views/res_config_settings_views.xml',
'views/ir_views.xml', 'views/ir_views.xml',
'views/ir_module_module_views.xml', 'views/ir_module_module_views.xml',
'views/ir_translation_views.xml', 'views/ir_translation_views.xml',
'views/ir_module_addons_path_views.xml', 'views/ir_module_addons_path_views.xml',
'views/ir_ui_menu_views.xml', 'views/menu_views.xml',
'views/ir_ui_view_views.xml', 'views/ir_ui_view_views.xml',
'views/ir_model_fields_views.xml', 'views/ir_model_fields_views.xml',
'views/ir_model_data_views.xml', 'views/ir_model_data_views.xml',
@@ -137,6 +136,9 @@
45. Add addons path info to module. 45. Add addons path info to module.
46. Add Help documentation anywhere. easy get help for any odoo operation or action. 46. Add Help documentation anywhere. easy get help for any odoo operation or action.
47. Add ai robot app integration. Use Ai as your employee. 47. Add ai robot app integration. Use Ai as your employee.
48. Add menu debug information of action and xml id.(odoo16 Only)
49. Add www.odooai.cn cloud setting. Quick get odoo support document.(odoo18 Only)
50. Add www.odooapp.cn China store support. Quick access odoo china app store.(odoo18 Only)
This module can help to white label the Odoo. This module can help to white label the Odoo.
Also helpful for training and support for your odoo end-user. Also helpful for training and support for your odoo end-user.
@@ -190,5 +192,9 @@
44. 可配置停用自动用户订阅功能这会提速odoo减少资源消耗 44. 可配置停用自动用户订阅功能这会提速odoo减少资源消耗
45. 为应用模块增加模块路径信息 45. 为应用模块增加模块路径信息
46. 增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助. 46. 增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.
47. 增加Ai模块相关信息可以快速访问ai模块使用ai员工.
48. 增加菜单Debug可以快速查看每个菜单的调试信息如 action 及 xml id.(仅odoo16)
49. 增加欧度智能云面板设定快速访问Odoo中文版云服务www.odooai.cn (odoo18 Only)
50. 增加对 www.odooapp.cn 的应用模块增强云更新快速访问Odoo中文应用商店.(odoo18 Only)
""", """,
} }

View File

@@ -4,10 +4,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 16.0+e-20230721\n" "Project-Id-Version: Odoo Server 18.0-20241031\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-24 11:23+0000\n" "POT-Creation-Date: 2024-10-31 11:44+0000\n"
"PO-Revision-Date: 2023-08-24 11:23+0000\n" "PO-Revision-Date: 2024-10-31 11:44+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -19,8 +19,8 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings #: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "" msgid ""
"<span class=\"col-3 col-lg-2 text-left\">\n" "<span class=\"col-3 col-lg-2 text-left\">\n"
"\t\t\t\t\t\t\t\t\tAccounting\n" " Accounting\n"
"\t\t\t\t\t\t\t\t</span>" " </span>"
msgstr "" msgstr ""
"<span class=\"col-3 col-lg-2 text-left\">\n" "<span class=\"col-3 col-lg-2 text-left\">\n"
" 财务\n" " 财务\n"
@@ -36,6 +36,11 @@ msgstr "<span class=\"col-3 col-lg-2 text-left\">所有业务数据</span>"
msgid "<span class=\"col-3 col-lg-2 text-left\">Base Models</span>" msgid "<span class=\"col-3 col-lg-2 text-left\">Base Models</span>"
msgstr "<span class=\"col-3 col-lg-2 text-left\">基础数据</span>" msgstr "<span class=\"col-3 col-lg-2 text-left\">基础数据</span>"
#. module: app_odoo_customize
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "<span class=\"col-3 col-lg-2 text-left\">Event</span>"
msgstr "<span class=\"col-3 col-lg-2 text-left\">活动票务</span>"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings #: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "<span class=\"col-3 col-lg-2 text-left\">Expense</span>" msgid "<span class=\"col-3 col-lg-2 text-left\">Expense</span>"
@@ -94,14 +99,12 @@ msgstr "<span>设置为 False 则不显示</span>"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Activate Assets Debugging" msgid "Activate Assets Debugging"
msgstr "激活开发者模式 (assets)" msgstr "激活开发者模式 (assets)"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Activate the developer mode" msgid "Activate the developer mode"
msgstr "激活开发者模式" msgstr "激活开发者模式"
@@ -167,8 +170,12 @@ msgstr "配置设置"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.replace_copyright_name #: model_terms:ir.ui.view,arch_db:app_odoo_customize.replace_copyright_name
msgid "Copyright &amp;copy;" msgid ""
msgstr "版权所有 &amp;copy;" "Copyright &amp;copy;\n"
"\t <span class=\"copyright_name_before\" contenteditable=\"true\">2009-2024 </span>"
msgstr ""
"版权所有 &amp;copy;\n"
"\t <span class=\"copyright_name_before\" contenteditable=\"true\">2009-2024 </span>"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path__create_uid #: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path__create_uid
@@ -200,6 +207,11 @@ msgstr "仅系统管理员可调试"
msgid "Delete All BOM" msgid "Delete All BOM"
msgstr "删除所有物料清单" msgstr "删除所有物料清单"
#. module: app_odoo_customize
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Delete All Event"
msgstr "删除所有活动订单"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings #: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Delete All Expense and Sheet" msgid "Delete All Expense and Sheet"
@@ -295,7 +307,6 @@ msgstr "显示名称"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Documentation" msgid "Documentation"
msgstr "支持文档" msgstr "支持文档"
@@ -307,7 +318,6 @@ msgstr "用户手册链接"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/xml/res_config_edition.xml:0 #: code:addons/app_odoo_customize/static/src/xml/res_config_edition.xml:0
#, python-format
msgid "Edition)" msgid "Edition)"
msgstr "版)" msgstr "版)"
@@ -349,6 +359,11 @@ msgstr "HTTP 路由"
msgid "Help Document Anywhere" msgid "Help Document Anywhere"
msgstr "即时查看帮助" msgstr "即时查看帮助"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_doc_root_url
msgid "Help of topic domain"
msgstr "支持文档根域名"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path__id #: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path__id
msgid "ID" msgid "ID"
@@ -359,11 +374,6 @@ msgstr "ID"
msgid "Install Language" msgid "Install Language"
msgstr "安装语言" msgstr "安装语言"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path____last_update
msgid "Last Modified on"
msgstr "上次修改时间"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path__write_uid #: model:ir.model.fields,field_description:app_odoo_customize.field_ir_module_addons_path__write_uid
msgid "Last Updated by" msgid "Last Updated by"
@@ -377,7 +387,6 @@ msgstr "最后更新于"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Leave the Developer Tools" msgid "Leave the Developer Tools"
msgstr "离开开发者模式" msgstr "离开开发者模式"
@@ -449,14 +458,19 @@ msgid "No Updatable"
msgstr "无需更新" msgstr "无需更新"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings #. odoo-python
msgid "OEM & Boost" #: code:addons/app_odoo_customize/models/res_config_settings.py:0
msgstr "定制与增强" msgid "Not allow."
msgstr "禁止"
#. module: app_odoo_customize
#: model:ir.actions.act_window,name:app_odoo_customize.action_app_theme_config
msgid "OEM and Boost"
msgstr "odoo OEM定制与增强"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/xml/res_config_edition.xml:0 #: code:addons/app_odoo_customize/static/src/xml/res_config_edition.xml:0
#, python-format
msgid "Odoo" msgid "Odoo"
msgstr "Odoo欧度" msgstr "Odoo欧度"
@@ -485,14 +499,12 @@ msgstr "技术支持 <span>odooai.cn</span>"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Preferences" msgid "Preferences"
msgstr "偏好" msgstr "偏好"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Refresh Page" msgid "Refresh Page"
msgstr "刷新本页" msgstr "刷新本页"
@@ -517,12 +529,6 @@ msgstr "计划任务"
msgid "Security and Boost" msgid "Security and Boost"
msgstr "安全与提速" msgstr "安全与提速"
#. module: app_odoo_customize
#: model:ir.actions.act_window,name:app_odoo_customize.action_app_theme_config
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_theme_config
msgid "OEM and Boost"
msgstr "odoo定制OEM及增强"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_system_name #: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_system_name
msgid "Setup System Name,which replace Odoo" msgid "Setup System Name,which replace Odoo"
@@ -607,7 +613,6 @@ msgstr "停止Odoo订阅"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0 #: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
#, python-format
msgid "Support" msgid "Support"
msgstr "技术支持" msgstr "技术支持"
@@ -629,7 +634,6 @@ msgstr "系统参数"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-python #. odoo-python
#: code:addons/app_odoo_customize/models/ir_module_module.py:0 #: code:addons/app_odoo_customize/models/ir_module_module.py:0
#, python-format
msgid "" msgid ""
"The languages that you selected have been successfully update." "The languages that you selected have been successfully update."
" You still need to Upgrade the apps to make it " " You still need to Upgrade the apps to make it "
@@ -717,13 +721,6 @@ msgstr "用户菜单"
msgid "User Menu Content" msgid "User Menu Content"
msgstr "菜单项具体操作设置" 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.\n"
"\t\t\t\t\t\t\t\t\t\t\t\t\thttps://www.odooai.cn"
msgstr "请访问我们的网站获取更多支持. http://www.odooai.cn"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.model,name:app_odoo_customize.model_web_environment_ribbon_backend #: model:ir.model,name:app_odoo_customize.model_web_environment_ribbon_backend
msgid "Web Environment Ribbon Backend" msgid "Web Environment Ribbon Backend"
@@ -762,11 +759,15 @@ msgstr "启用后,会显示快速调试菜单"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_group #: model:ir.ui.menu,name:app_odoo_customize.menu_app_group
msgid "odooAi" msgid "odooAi"
msgstr "odooAi" msgstr ""
#. module: app_odoo_customize
#: model:ir.ui.menu,name:app_odoo_customize.menu_odooai_cloud_config
msgid "odooAi Cloud"
msgstr "odooAi云面板"
#. module: app_odoo_customize #. module: app_odoo_customize
#. odoo-javascript #. odoo-javascript
#: code:addons/app_odoo_customize/static/src/xml/res_config_edition.xml:0 #: code:addons/app_odoo_customize/static/src/xml/res_config_edition.xml:0
#, python-format
msgid "odooai.cn" msgid "odooai.cn"
msgstr "odooai.cn" msgstr "odooai.cn"

View File

@@ -310,15 +310,20 @@ class ResConfigSettings(models.TransientModel):
company_id = self.env.company.id company_id = self.env.company.id
self = self.with_company(self.env.company) self = self.with_company(self.env.company)
to_removes = [ to_removes = [
# 清除财务科目,用于重设 # 清除财务科目,用于重设。有些是企业版的也处理下
'account.reconcile.model',
'account.transfer.model.line',
'account.transfer.model',
'res.partner.bank', 'res.partner.bank',
# 'account.invoice', # 'account.invoice',
'account.payment', 'account.payment',
'account.bank.statement', 'account.bank.statement',
# 'account.tax.account.tag', # 'account.tax.account.tag',
'account.tax', 'account.tax',
'account.tax.template',
# 'wizard_multi_charts_accounts', # 'wizard_multi_charts_accounts',
'account.account', 'account.account',
# 'account.journal',
] ]
# todo: 要做 remove_hr因为工资表会用到 account # todo: 要做 remove_hr因为工资表会用到 account
# 更新account关联很多是多公司字段故只存在 ir_property故在原模型只能用update # 更新account关联很多是多公司字段故只存在 ir_property故在原模型只能用update
@@ -331,7 +336,6 @@ class ResConfigSettings(models.TransientModel):
sql2 = "update account_journal set bank_account_id=NULL where company_id=%d;" % company_id sql2 = "update account_journal set bank_account_id=NULL where company_id=%d;" % company_id
self._cr.execute(sql) self._cr.execute(sql)
self._cr.execute(sql2) self._cr.execute(sql2)
self._cr.commit() self._cr.commit()
except Exception as e: except Exception as e:
_logger.error('remove data error: %s,%s', 'account_chart: set tax and account_journal', e) _logger.error('remove data error: %s,%s', 'account_chart: set tax and account_journal', e)
@@ -345,59 +349,111 @@ class ResConfigSettings(models.TransientModel):
# partner 处理 # partner 处理
try: try:
rec = self.env['res.partner'].search([]) rec = self.env['res.partner'].search([])
for r in rec: rec.write({
r.write({
'property_account_receivable_id': None, 'property_account_receivable_id': None,
'property_account_payable_id': None, 'property_account_payable_id': None,
}) })
self._cr.commit()
except Exception as e: except Exception as e:
_logger.error('remove data error: %s,%s', 'account_chart', e) _logger.error('remove data error: %s,%s', 'account_chart', e)
# 品类处理 # 品类处理
try: try:
rec = self.env['product.category'].search([]) rec = self.env['product.category'].search([])
for r in rec: rec.write({
r.write({
'property_account_income_categ_id': None, 'property_account_income_categ_id': None,
'property_account_expense_categ_id': None, 'property_account_expense_categ_id': None,
'property_account_creditor_price_difference_categ': None, 'property_account_creditor_price_difference_categ': None,
'property_stock_account_input_categ_id': None, 'property_stock_account_input_categ_id': None,
'property_stock_account_output_categ_id': None, 'property_stock_account_output_categ_id': None,
'property_stock_valuation_account_id': None, 'property_stock_valuation_account_id': None,
'property_stock_journal': None,
}) })
self._cr.commit()
except Exception as e: except Exception as e:
pass pass
# 产品处理 # 产品处理
try: try:
rec = self.env['product.template'].search([]) rec = self.env['product.template'].search([])
for r in rec: rec.write({
r.write({
'property_account_income_id': None, 'property_account_income_id': None,
'property_account_expense_id': None, 'property_account_expense_id': None,
'property_account_creditor_price_difference': None,
}) })
self._cr.commit()
except Exception as e: except Exception as e:
pass pass
# 库存计价处理 # pos处理清支付清账本
try: try:
rec = self.env['stock.location'].search([]) rec = self.env['pos.config'].search([])
for r in rec: rec.write({
r.write({ 'invoice_journal_id': None,
'valuation_in_account_id': None, 'journal_id': None,
'valuation_out_account_id': None, 'payment_method_ids': None,
'fiscal_position_ids': None,
}) })
self._cr.commit()
except Exception as e: except Exception as e:
pass # raise Warning(e) pass
# 日记账处理
try: try:
rec = self.env['account.journal'].search([]) rec = self.env['account.journal'].search([])
rec.write({ rec.write({
'default_account_id': False, 'account_control_ids': None,
'suspense_account_id': False 'bank_account_id': None,
'default_account_id': None,
'loss_account_id': None,
'profit_account_id': None,
'suspense_account_id': None,
})
self._cr.commit()
except Exception as e:
pass # raise Warning(e)
# 库存计价处理
try:
rec = self.env['stock.location'].search([])
rec.write({
'valuation_in_account_id': None,
'valuation_out_account_id': None,
})
self._cr.commit()
except Exception as e:
pass # raise Warning(e)
# 库存计价默认值处理
try:
# 当前有些日记账的默认值要在 ir.property 处理 _set_default比较麻烦
todo_list = [
'property_stock_account_input_categ_id',
'property_stock_account_output_categ_id',
'property_stock_valuation_account_id',
'property_stock_journal',
]
for name in todo_list:
field_id = self.env['ir.model.fields']._get('product.category', name).id
prop = self.env['ir.property'].sudo().search([
('fields_id', '=', field_id),
])
if prop:
prop.unlink()
self._cr.commit()
except Exception as e:
pass # raise Warning(e)
# 先 unlink 处理
j_ids = self.env['account.journal'].sudo().search([])
if j_ids:
try:
j_ids.unlink()
self._cr.commit()
except Exception as e:
pass # raise Warning(e)
try:
c_ids = self.env['res.company'].sudo().search([])
c_ids.sudo().write({
'chart_template_id': False,
}) })
except Exception as e: except Exception as e:
pass pass # raise Warning(e)
seqs = [] seqs = []
res = self._remove_app_data(to_removes, seqs) res = self._remove_app_data(to_removes, seqs)
return res return res
@@ -450,6 +506,48 @@ class ResConfigSettings(models.TransientModel):
] ]
return self._remove_app_data(to_removes) return self._remove_app_data(to_removes)
def remove_event(self):
to_removes = [
# 清除
'website.event.menu',
'event.sponsor',
'event.sponsor.type',
'event.meeting.room',
'event.registration.answer',
'event.question.answer',
'event.question',
'event.quiz',
'event.quiz.answer',
'event.quiz.question',
'event.track',
'event.track.visitor',
'event.track.location',
'event.track.tag',
'event.track.tag.category',
'event.track.stage',
'event.mail.registration',
'event.mail',
'event.type.mail',
'event.lead.rule',
'event.booth.registration',
'event.booth',
'event.type',
'event.type.booth',
'event.booth.category',
'event.registration',
'event.ticket',
'event.type.ticket',
'event.event',
'event.stage',
'event.tag',
'event.tag.category',
'event.type',
]
seqs = [
'event.event.',
]
return self._remove_app_data(to_removes, seqs)
def remove_website(self): def remove_website(self):
to_removes = [ to_removes = [
# 清除网站数据w, w_blog # 清除网站数据w, w_blog

View File

@@ -11,6 +11,8 @@
<section class="oe_container container o_cc o_cc2"> <section class="oe_container container o_cc o_cc2">
<h2 class="text-center bg-warning text-white pt24 pb24">odoo 18 Tweak,Ai Employee,Boost,Customize All in One. </h2> <h2 class="text-center bg-warning text-white pt24 pb24">odoo 18 Tweak,Ai Employee,Boost,Customize All in One. </h2>
<h3 class="text-center">Customize,UI,Boost,Security,Data,Development Enhance</h3> <h3 class="text-center">Customize,UI,Boost,Security,Data,Development Enhance</h3>
<h4 class="text-center pt40 text-danger">Get Odoo 18 Support(Master Branch of Odoo) in github</h4>
<p class="bg-primary"> https://github.com/guohuadeng/app-odoo/tree/18.0 </p>
<p class="text-center">已升级Odoo18支持odoo优化48项大全,oem去Logo,odoo提速与数据清理 </p> <p class="text-center">已升级Odoo18支持odoo优化48项大全,oem去Logo,odoo提速与数据清理 </p>
</section> </section>
@@ -18,7 +20,7 @@
<section class="container app"> <section class="container app">
<div class="oe_row oe_spaced" style="max-width: 95%;"> <div class="oe_row oe_spaced" style="max-width: 95%;">
<div class="row"> <div class="row">
<h2 class="oe_slogan">This is a Long Term Support Apps.Update: v18.24.10.08</h2> <h2 class="oe_slogan">This is a Long Term Support Apps.Update: v18.24.08.20</h2>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;"> <div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<ul class="list-group"> <ul class="list-group">
<li class="list-group-item">1. Deletes Odoo label in footer</li> <li class="list-group-item">1. Deletes Odoo label in footer</li>
@@ -67,7 +69,9 @@
<li class="list-group-item">45. Add addons path info to module.</li> <li class="list-group-item">45. Add addons path info to module.</li>
<li class="list-group-item">46. Add Help documentation anywhere. easy get help for any odoo operation or action.</li> <li class="list-group-item">46. Add Help documentation anywhere. easy get help for any odoo operation or action.</li>
<li class="list-group-item">47. Add ai robot app integration. Use Ai as your employee.</li> <li class="list-group-item">47. Add ai robot app integration. Use Ai as your employee.</li>
<li class="list-group-item">48. Add menu debug information of action and xml id.</li> <li class="list-group-item">48. Add menu debug information of action and xml id.(odoo16 Only)</li>
<li class="list-group-item">49. Add www.odooai.cn cloud setting. Quick get odoo support document.(odoo18 Only)</li>
<li class="list-group-item">50. Add www.odooapp.cn China store support. Quick access odoo china app store.(odoo18 Only)</li>
</ul> </ul>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;"> <div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<p>If you want to change the login page. </p> <p>If you want to change the login page. </p>
@@ -84,7 +88,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Help Document Anywhere</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Help Document Anywhere</h2>
<h4 class="oe_slogan">Get Help Documentation on current odoo operation or topic.</h4> <h4 class="oe_slogan">Get Help Documentation on current odoo operation or topic.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="sethelp1.jpg"/> <img src="sethelp1.jpg"/>
@@ -106,7 +110,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">New Ai Center Support</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">New Ai Center Support</h2>
<h4 class="oe_slogan">You can install Ai service like chatgpt and google bard and azure openai.</h4> <h4 class="oe_slogan">You can install Ai service like chatgpt and google bard and azure openai.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setai1.jpg"/> <img src="setai1.jpg"/>
@@ -149,7 +153,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">OEM White label your odoo</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">OEM White label your odoo</h2>
<h4 class="oe_slogan">Replaces "Odoo" in Windows title, Deletes Odoo label in footer, Customize all odoo link to my link</h4> <h4 class="oe_slogan">Replaces "Odoo" in Windows title, Deletes Odoo label in footer, Customize all odoo link to my link</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="set1.jpg"/> <img src="set1.jpg"/>
@@ -159,7 +163,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Mobile Enhance. Add menu navbar setup for top or bottom. navigator footer support.</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Mobile Enhance. Add menu navbar setup for top or bottom. navigator footer support.</h2>
<h4 class="oe_slogan">Easy set navbar on bottom or top.</h4> <h4 class="oe_slogan">Easy set navbar on bottom or top.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setnav.jpg"/> <img src="setnav.jpg"/>
@@ -169,7 +173,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">odoo SECURITY AND BOOST</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">odoo SECURITY AND BOOST</h2>
<h4 class="oe_slogan">Eonly Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.stop subscribe and follow. This to make odoo speed up.</h4> <h4 class="oe_slogan">Eonly Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.stop subscribe and follow. This to make odoo speed up.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setboost.jpg"/> <img src="setboost.jpg"/>
@@ -179,7 +183,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Add quick operation for odoo modules. </h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Add quick operation for odoo modules. </h2>
<h4 class="oe_slogan">Refresh translate. Upgrade, Uninstall, help on topic</h4> <h4 class="oe_slogan">Refresh translate. Upgrade, Uninstall, help on topic</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setmodule1.jpg"/> <img src="setmodule1.jpg"/>
@@ -196,7 +200,7 @@
</section> </section>
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8"> Add Draggable and sizeable Dialog enable.</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16"> Add Draggable and sizeable Dialog enable.</h2>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setdialog.gif"/> <img src="setdialog.gif"/>
</div> </div>
@@ -270,7 +274,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Multi-language Support..</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Multi-language Support..</h2>
<h4 class="oe_slogan"> </h4> <h4 class="oe_slogan"> </h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="cnreadme.jpg"/> <img src="cnreadme.jpg"/>

View File

@@ -115,7 +115,7 @@
Addons</a> Addons</a>
</p> </p>
<br> <br>
<h3>支持Odoo 18,17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用</h3> <h3>支持odoo 17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用</h3>
<ul class="list-group"> <ul class="list-group">
<li class='list-group-item'>1. 删除菜单导航页脚的 Odoo 标签</li> <li class='list-group-item'>1. 删除菜单导航页脚的 Odoo 标签</li>
<li class='list-group-item'>2. 将弹出窗口中 "Odoo" 设置为自定义名称</li> <li class='list-group-item'>2. 将弹出窗口中 "Odoo" 设置为自定义名称</li>
@@ -175,7 +175,7 @@
<section class="oe_container container"> <section class="oe_container container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">odoo系统内快速帮助</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">odoo系统内快速帮助</h2>
<h4 class="oe_slogan">增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.</h4> <h4 class="oe_slogan">增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="sethelp1.jpg"/> <img src="sethelp1.jpg"/>
@@ -197,7 +197,7 @@
<section class="oe_container container"> <section class="oe_container container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Ai服务中心支持</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Ai服务中心支持</h2>
<h4 class="oe_slogan">你可以安装最新的 ChatGPT 或者 微软、谷歌等Ai.</h4> <h4 class="oe_slogan">你可以安装最新的 ChatGPT 或者 微软、谷歌等Ai.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setai1.jpg"/> <img src="setai1.jpg"/>
@@ -238,7 +238,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">OEM White label your odoo</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">OEM White label your odoo</h2>
<h4 class="oe_slogan">Replaces "Odoo" in Windows title, Deletes Odoo label in footer, Customize all odoo link to my link</h4> <h4 class="oe_slogan">Replaces "Odoo" in Windows title, Deletes Odoo label in footer, Customize all odoo link to my link</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="set1.jpg"/> <img src="set1.jpg"/>
@@ -248,7 +248,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Mobile Enhance. Add menu navbar setup for top or bottom. navigator footer support.</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Mobile Enhance. Add menu navbar setup for top or bottom. navigator footer support.</h2>
<h4 class="oe_slogan">Easy set navbar on bottom or top.</h4> <h4 class="oe_slogan">Easy set navbar on bottom or top.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setnav.jpg"/> <img src="setnav.jpg"/>
@@ -258,7 +258,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">odoo SECURITY AND BOOST</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">odoo SECURITY AND BOOST</h2>
<h4 class="oe_slogan">Eonly Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.stop subscribe and follow. This to make odoo speed up.</h4> <h4 class="oe_slogan">Eonly Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.stop subscribe and follow. This to make odoo speed up.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setboost.jpg"/> <img src="setboost.jpg"/>
@@ -268,7 +268,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Add quick operation for odoo modules. </h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Add quick operation for odoo modules. </h2>
<h4 class="oe_slogan">Refresh translate. Upgrade, Uninstall, help on topic</h4> <h4 class="oe_slogan">Refresh translate. Upgrade, Uninstall, help on topic</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setmodule1.jpg"/> <img src="setmodule1.jpg"/>
@@ -285,7 +285,7 @@
</section> </section>
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8"> Add Draggable and sizeable Dialog enable.</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16"> Add Draggable and sizeable Dialog enable.</h2>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="setdialog.gif"/> <img src="setdialog.gif"/>
</div> </div>
@@ -359,7 +359,7 @@
<section class="container"> <section class="container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">Multi-language Support..</h2> <h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Multi-language Support..</h2>
<h4 class="oe_slogan"> </h4> <h4 class="oe_slogan"> </h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="cnreadme.jpg"/> <img src="cnreadme.jpg"/>
@@ -380,7 +380,7 @@
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;"> <div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<p>This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher, <p>This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher,
Online Documentation Access,Quick Data Clear. </p> Online Documentation Access,Quick Data Clear. </p>
<p class="mb16">Support Odoo 18,17,16,15,14,13, 12, 11, 10, 9. Including community and enterprise version. </p> <p class="mb16">Support Odoo 17,16,15,14,13, 12, 11, 10, 9. Including community and enterprise version. </p>
</div> </div>
</section> </section>

View File

@@ -1,231 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_app_theme_config_settings" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.app_odoo_customize</field>
<field name="model">res.config.settings</field>
<field name="priority">20</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//app[@name='general_settings']" position="before">
<app data-string="OEM &amp; Boost" string="OEM &amp; Boost"
name="app_odoo_customize" data-key="app_odoo_customize" logo="/app_odoo_customize/static/description/icon.png">>
<div class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25">
<div class="col-lg-12 col-md-12 ms-0 o_setting_box">
<div class="o_setting_right_pane border-start-0 ms-0 ps-0">
<div class="content-group">
<div class="row mt8">
<label class="h2 bg-warning text-white" for="app_system_name"/>
<field name="app_system_name"/>
<div>
<a href="https://www.odooai.cn" target="_blank">Visit our website for more apps and Support.
https://www.odooai.cn
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<h2>Security and Boost</h2>
<div class="row mt16 o_settings_container" name="app_security_boost">
<group>
<group>
<field name="app_debug_only_admin"/>
</group>
<group>
<field name="app_stop_subscribe"/>
</group>
</group>
</div>
<h2>Extra Feature</h2>
<div class="row mt16 o_settings_container" name="app_modules">
<div class="col-lg-6 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_app_odoo_doc"/>
</div>
<div class="o_setting_right_pane">
<label for="module_app_odoo_doc"/>
<a href="https://apps.odoo.com/apps/modules/17.0/app_odoo_doc"
title="Get Help Documentation on current odoo operation or topic. Click to get " class="o_doc_link ml8"
target="_blank"/>
<div class="">Get Help Documentation on current odoo operation or topic.</div>
</div>
</div>
<div class="col-lg-6 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_app_chatgpt"/>
</div>
<div class="o_setting_right_pane">
<label for="module_app_chatgpt"/>
<a href="https://apps.odoo.com/apps/modules/17.0/app_chatgpt" class="o_doc_link ml8"
target="_blank"/>
<div class="">Use Ai to make odoo more powerful.</div>
</div>
</div>
</div>
<h2>UI Config</h2>
<div class="row mt16 o_settings_container" name="app_ui_config">
<group string="Navigator">
<group>
<field name="app_navbar_pos_pc"/>
</group>
<group>
<field name="app_navbar_pos_mobile"/>
</group>
</group>
<group string="User Menu">
<group>
<field name="app_show_lang"/>
<field name="app_show_debug"/>
<field name="app_show_documentation"/>
<field name="app_show_support"/>
<field name="app_show_account"/>
</group>
<group>
<field name="app_show_enterprise"/>
<field name="app_show_share"/>
<field name="app_show_poweredby"/>
<field name="group_show_author_in_apps"/>
<field name="module_odoo_referral"/>
</group>
</group>
<group string="User Menu Content">
<label for="app_documentation_url"/>
<div>
<field name="app_documentation_url"/>
</div>
<label for="app_documentation_dev_url"/>
<div>
<field name="app_documentation_dev_url"/>
</div>
<label for="app_support_url"/>
<div>
<field name="app_support_url"/>
</div>
<label for="app_account_title"/>
<div>
<field name="app_account_title"/>
</div>
<label for="app_account_url"/>
<div>
<field name="app_account_url"/>
</div>
<label for="app_ribbon_name"/>
<div>
<field name="app_ribbon_name"/>
<div>
<span>Set to False to hide</span>
</div>
</div>
<label for="app_enterprise_url"/>
<div>
<field name="app_enterprise_url" class="oe_inline"/>
<button string="Click to set" type="object" name="set_module_url" class="ml8 oe_highlight"/>
</div>
</group>
</div>
<h2 name="data-clean" class="o_horizontal_separator">Data Cleaning (Be careful to do that!)</h2>
<div class="mt16 o_settings_container" name="data-clean">
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Sale</span>
<button string="Delete All Sales Order" type="object" name="remove_sales"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">POS</span>
<button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?"
class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Purchase</span>
<button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Expense</span>
<button string="Delete All Expense and Sheet" type="object" name="remove_expense"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">MRP</span>
<button string="Delete All Manufacturing Order" type="object" name="remove_mrp"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All BOM" type="object" name="remove_mrp_bom"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Inventory</span>
<button string="Delete All Move/Picking/Package/Lot" type="object" name="remove_inventory"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">
Accounting
</span>
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Clean and reset Account Chart" type="object" name="remove_account_chart"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Project</span>
<button string="Delete All Project/Task/Forecast" type="object" name="remove_project"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Quality</span>
<button string="Delete All Quality" type="object" name="remove_quality"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Quality Setting" type="object" name="remove_quality_setting"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Website And Blog</span>
<button string="Delete All Website/Blog" type="object" name="remove_website"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Base Models</span>
<button string="Delete All Product" type="object" name="remove_product"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Product Attribute" type="object" name="remove_product_attribute"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Message" type="object" name="remove_message"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Workflow" type="object" name="remove_workflow"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Reset Category And Location Complete Name" type="object" name="reset_cat_loc_name" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">All Business</span>
<button string="Delete All MRP/Sale/Purchase/Account/MRP/Inventory/Project/Message/Workflow" type="object" name="remove_all_biz"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
</div>
</app>
</xpath>
</field>
</record>
<record id="action_app_theme_config" model="ir.actions.act_window">
<field name="name">OEM and Boost</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'app_odoo_customize', 'bin_size': False}</field>
</record>
</data>
</odoo>

View File

@@ -42,10 +42,10 @@
sequence="1" sequence="1"
groups="base.group_system"/> groups="base.group_system"/>
<menuitem <menuitem
id="menu_app_theme_config" id="menu_odooai_cloud_config"
parent="menu_app_group" parent="menu_app_group"
sequence="1" sequence="1"
action="action_app_theme_config" action="app_common.action_odooai_cloud_config"
groups="base.group_system"/> groups="base.group_system"/>
<menuitem <menuitem
id="menu_ir_cron" id="menu_ir_cron"

View File

@@ -1,15 +1,223 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<data> <data>
<record id="app_res_config_settings_view_form" model="ir.ui.view"> <record id="view_app_theme_config_settings" model="ir.ui.view">
<field name="name">app.res.config.settings.view.form</field> <field name="name">res.config.settings.view.form.inherit.app_odoo_customize</field>
<field name="model">res.config.settings</field> <field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form" /> <field name="priority">20</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//div[@name='app_odooai_link']" position="before">
<label class="h2 bg-warning text-white" for="app_system_name"/>
<field name="app_system_name"/>
</xpath>
<xpath expr="//block[@name='odooai_cloud_block']" position="after">
<h2>Security and Boost</h2>
<div class="row mt16 o_settings_container" name="app_security_boost">
<group>
<group>
<field name="app_debug_only_admin"/>
</group>
<group>
<field name="app_stop_subscribe"/>
</group>
</group>
</div>
<h2>Extra Feature</h2>
<div class="row mt16 o_settings_container" name="app_modules">
<div class="col-lg-6 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_app_odoo_doc"/>
</div>
<div class="o_setting_right_pane">
<label for="module_app_odoo_doc"/>
<a href="https://apps.odoo.com/apps/modules/17.0/app_odoo_doc"
title="Get Help Documentation on current odoo operation or topic. Click to get " class="o_doc_link ml8"
target="_blank"/>
<div class="">Get Help Documentation on current odoo operation or topic.</div>
</div>
</div>
<div class="col-lg-6 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_app_chatgpt"/>
</div>
<div class="o_setting_right_pane">
<label for="module_app_chatgpt"/>
<a href="https://apps.odoo.com/apps/modules/17.0/app_chatgpt" class="o_doc_link ml8"
target="_blank"/>
<div class="">Use Ai to make odoo more powerful.</div>
</div>
</div>
</div>
<h2>UI Config</h2>
<div class="row mt16 o_settings_container" name="app_ui_config">
<group string="Navigator">
<group>
<field name="app_navbar_pos_pc"/>
</group>
<group>
<field name="app_navbar_pos_mobile"/>
</group>
</group>
<group string="User Menu">
<group>
<field name="app_show_lang"/>
<field name="app_show_debug"/>
<field name="app_show_documentation"/>
<field name="app_show_support"/>
<field name="app_show_account"/>
</group>
<group>
<field name="app_show_enterprise"/>
<field name="app_show_share"/>
<field name="app_show_poweredby"/>
<field name="group_show_author_in_apps"/>
<field name="module_odoo_referral"/>
</group>
</group>
<group string="User Menu Content">
<label for="app_documentation_url"/>
<div>
<field name="app_documentation_url"/>
</div>
<label for="app_documentation_dev_url"/>
<div>
<field name="app_documentation_dev_url"/>
</div>
<label for="app_support_url"/>
<div>
<field name="app_support_url"/>
</div>
<label for="app_account_title"/>
<div>
<field name="app_account_title"/>
</div>
<label for="app_account_url"/>
<div>
<field name="app_account_url"/>
</div>
<label for="app_ribbon_name"/>
<div>
<field name="app_ribbon_name"/>
<div>
<span>Set to False to hide</span>
</div>
</div>
<label for="app_enterprise_url"/>
<div>
<field name="app_enterprise_url" class="oe_inline"/>
<button string="Click to set" type="object" name="set_module_url" class="ml8 oe_highlight"/>
</div>
</group>
</div>
<h2 name="data-clean" class="o_horizontal_separator">Data Cleaning (Be careful to do that!)</h2>
<div class="mt16 o_settings_container" name="data-clean">
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Sale</span>
<button string="Delete All Sales Order" type="object" name="remove_sales"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">POS</span>
<button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?"
class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Purchase</span>
<button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Expense</span>
<button string="Delete All Expense and Sheet" type="object" name="remove_expense"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">MRP</span>
<button string="Delete All Manufacturing Order" type="object" name="remove_mrp"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All BOM" type="object" name="remove_mrp_bom"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Inventory</span>
<button string="Delete All Move/Picking/Package/Lot" type="object" name="remove_inventory"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">
Accounting
</span>
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Clean and reset Account Chart" type="object" name="remove_account_chart"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Project</span>
<button string="Delete All Project/Task/Forecast" type="object" name="remove_project"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Event</span>
<button string="Delete All Event" type="object" name="remove_event"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Quality</span>
<button string="Delete All Quality" type="object" name="remove_quality"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Quality Setting" type="object" name="remove_quality_setting"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Website And Blog</span>
<button string="Delete All Website/Blog" type="object" name="remove_website"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">Base Models</span>
<button string="Delete All Product" type="object" name="remove_product"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Product Attribute" type="object" name="remove_product_attribute"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Message" type="object" name="remove_message"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Workflow" type="object" name="remove_workflow"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Reset Category And Location Complete Name" type="object" name="reset_cat_loc_name" class="oe_highlight"/>
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">All Business</span>
<button string="Delete All MRP/Sale/Purchase/Account/MRP/Inventory/Project/Message/Workflow" type="object" name="remove_all_biz"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
</div>
</xpath>
<xpath expr="//block[@name='about_setting_container']//widget[@name='mobile_apps_funnel']" position="attributes"> <xpath expr="//block[@name='about_setting_container']//widget[@name='mobile_apps_funnel']" position="attributes">
<attribute name="invisible">1</attribute> <attribute name="invisible">1</attribute>
</xpath> </xpath>
</field> </field>
</record> </record>
<record id="action_app_theme_config" model="ir.actions.act_window">
<field name="name">OEM and Boost</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'app_odoo_customize', 'bin_size': False}</field>
</record>
</data> </data>
</odoo> </odoo>