mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update 更新云面板
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
from . import controllers
|
||||
from . import models
|
||||
from . import wizard
|
||||
from .hooks import pre_init_hook
|
||||
from .hooks import post_init_hook
|
||||
from .hooks import uninstall_hook
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': "odooAi Common Util and Tools,欧度智能基础核心优化",
|
||||
'version': '16.24.10.09',
|
||||
'name': "odooAi Common Util and Tools,欧度智能基础功能及面板",
|
||||
'version': '16.24.11.08',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Extra tools',
|
||||
'website': 'https://www.odooai.cn',
|
||||
@@ -51,7 +51,7 @@
|
||||
'images': ['static/description/banner.png'],
|
||||
'summary': '''
|
||||
Core for common use for odooai.cn apps.
|
||||
基础核心,必须没有要被依赖字段及视图等,实现auto_install
|
||||
基础核心及云面板,必须没有要被依赖字段及视图等,实现auto_install
|
||||
''',
|
||||
'description': '''
|
||||
need to setup odoo.conf, add follow:
|
||||
@@ -66,8 +66,8 @@
|
||||
8. Boost for less no use mail
|
||||
9. Customize .rng file
|
||||
10. Misc like get distance between two points
|
||||
11. Multi-language Support. Multi-Company Support
|
||||
12. Support Odoo 17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
||||
11. Multi-language Support. Multi-Company Support.
|
||||
12. Support Odoo 18,17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
||||
13. Full Open Source.
|
||||
==========
|
||||
1.
|
||||
@@ -78,11 +78,12 @@
|
||||
''',
|
||||
'depends': [
|
||||
'mail',
|
||||
'base_setup',
|
||||
'web',
|
||||
],
|
||||
'data': [
|
||||
'views/res_config_settings_views.xml',
|
||||
'views/ir_cron_views.xml',
|
||||
'wizard/mail_compose_message_views.xml',
|
||||
# 'report/.xml',
|
||||
],
|
||||
'qweb': [
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0-20231112\n"
|
||||
"Project-Id-Version: Odoo Server 16.0+e-20231112\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-08-08 14:55+0000\n"
|
||||
"PO-Revision-Date: 2024-08-08 14:55+0000\n"
|
||||
"POT-Creation-Date: 2024-11-08 11:54+0000\n"
|
||||
"PO-Revision-Date: 2024-11-08 11:54+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -28,16 +28,21 @@ msgstr "=================被忽略的邮箱: %s"
|
||||
msgid "Base"
|
||||
msgstr "基础"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model.fields,help:app_common.field_res_config_settings__app_saas_ok
|
||||
msgid "Checked to Enable www.odooapp.cn cloud service."
|
||||
msgstr "勾选后启用Odoo中文应用商店云服务"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model,name:app_common.model_res_config_settings
|
||||
msgid "Config Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model,name:app_common.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr "联系人"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model,name:app_common.model_mail_compose_message
|
||||
msgid "Email composition wizard"
|
||||
msgstr "EMail撰写向导"
|
||||
|
||||
#. module: app_common
|
||||
#. odoo-python
|
||||
#: code:addons/app_common/models/ir_mail_server.py:0
|
||||
@@ -45,6 +50,11 @@ msgstr "EMail撰写向导"
|
||||
msgid "Email to ignore: %s"
|
||||
msgstr "忽略的邮箱: %s"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model.fields,field_description:app_common.field_res_config_settings__app_saas_ok
|
||||
msgid "Enable CN SaaS"
|
||||
msgstr "启用Odoo中文云服务"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model,name:app_common.model_ir_http
|
||||
msgid "HTTP Routing"
|
||||
@@ -55,11 +65,6 @@ msgstr "HTTP 路由"
|
||||
msgid "Last Trigger User"
|
||||
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"
|
||||
@@ -75,16 +80,6 @@ msgstr "发出邮件"
|
||||
msgid "Scheduled Actions"
|
||||
msgstr "安排的动作"
|
||||
|
||||
#. module: app_common
|
||||
#: model_terms:ir.ui.view,arch_db:app_common.app_mail_compose_message_form
|
||||
msgid "Send Without Mail"
|
||||
msgstr "仅改状态不发邮"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model.fields,field_description:app_common.field_mail_compose_message__show_send_without_mail
|
||||
msgid "Show Send Only"
|
||||
msgstr "显示只改状态"
|
||||
|
||||
#. module: app_common
|
||||
#. odoo-python
|
||||
#: code:addons/app_common/wizard/mail_compose_message.py:0
|
||||
@@ -92,21 +87,20 @@ msgstr "显示只改状态"
|
||||
msgid "This only available in Sale Order or Purchase Order"
|
||||
msgstr "本操作只对销售订单和采购订单生效"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model.fields,help:app_common.field_res_users__login
|
||||
msgid "Used to log into the system"
|
||||
msgstr "用此账号名登录系统"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model,name:app_common.model_res_users
|
||||
msgid "User"
|
||||
msgstr "用户"
|
||||
|
||||
#. module: app_common
|
||||
#: model:ir.model,name:app_common.model_ir_ui_view
|
||||
msgid "View"
|
||||
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
|
||||
#. odoo-python
|
||||
#: code:addons/app_common/models/ir_ui_view.py:0
|
||||
@@ -114,6 +108,10 @@ msgstr "查看"
|
||||
msgid ""
|
||||
"You can Ignore this. Failed to load RelaxNG XML schema for views validation,"
|
||||
" file: %s"
|
||||
msgstr ""
|
||||
"此警告可忽略:载入文件失败 RelaxNG XML schema for views validation,"
|
||||
" 文件名: %s"
|
||||
msgstr "此警告可忽略:载入文件失败 RelaxNG XML schema for views validation, 文件名: %s"
|
||||
|
||||
#. 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 "欧度智能云"
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
from . import base
|
||||
from . import ir_ui_view
|
||||
from . import ir_cron
|
||||
from . import res_users
|
||||
from . import ir_mail_server
|
||||
from . import mail_mail
|
||||
from . import ir_http
|
||||
from . import app_import
|
||||
from . import res_partner
|
||||
from . import res_config_settings
|
||||
|
||||
|
||||
|
||||
|
||||
15
app_common/models/res_config_settings.py
Normal file
15
app_common/models/res_config_settings.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import logging
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.exceptions import UserError, ValidationError
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
app_saas_ok = fields.Boolean('Enable CN SaaS', help="Checked to Enable www.odooapp.cn cloud service.", default=True, config_parameter='app_saas_ok')
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 200 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 8.2 KiB |
@@ -4,7 +4,7 @@
|
||||
<h2 class="oe_slogan">odooAi Common Util and Tools</h2>
|
||||
<h3 class="oe_slogan"> Network and media and base tools </h3>
|
||||
<div class="oe_row">
|
||||
<h3>Latest update: v16.24.04.07</h3>
|
||||
<h3>Lastest update: v17.24.04.29</h3>
|
||||
<div class="row">
|
||||
<img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png">
|
||||
</div>
|
||||
@@ -58,7 +58,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
12. Support Odoo 17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
||||
12. Support Odoo 18,17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
<section class="oe_container container">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Setup, please run the follow command to install the lib.</h2>
|
||||
<h2 class="bg-warning text-center pt8 pb8">Setup, please run the follow command to install the lib.</h2>
|
||||
<h4 class="oe_slogan"> pip install pyyaml ua-parser user-agents </h4>
|
||||
<h4 class="oe_slogan"> After that, install the app_common </h4>
|
||||
</div>
|
||||
|
||||
BIN
app_common/static/description/odooai.png
Normal file
BIN
app_common/static/description/odooai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
@@ -1,4 +1,3 @@
|
||||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<record id="app_ir_cron_view_tree" model="ir.ui.view">
|
||||
<field name="name">app.ir.cron.tree</field>
|
||||
@@ -6,7 +5,7 @@
|
||||
<field name="inherit_id" ref="base.ir_cron_view_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='active']" position="before">
|
||||
<field name='trigger_user_id' optional="show"/>
|
||||
<field name='trigger_user_id' optional="show"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
41
app_common/views/res_config_settings_views.xml
Normal file
41
app_common/views/res_config_settings_views.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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="//div[@data-key='general_settings']" position="before">
|
||||
<div class="app_settings_block ml8" data-string="odoAi Cloud" string="odooAi Cloud" data-key="app_common"
|
||||
logo="/app_common/static/description/odooai.png" groups="base.group_erp_manager">
|
||||
<div class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25" name="app_settings_header">
|
||||
<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>
|
||||
</div>
|
||||
</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>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
{
|
||||
'name': 'odoo Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data',
|
||||
'version': '16.24.10.01',
|
||||
'version': '16.24.11.08',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Extra Tools',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
id="menu_app_theme_config"
|
||||
parent="menu_app_group"
|
||||
sequence="1"
|
||||
action="action_app_theme_config"
|
||||
action="app_common.action_odooai_cloud_config"
|
||||
groups="base.group_system"/>
|
||||
<menuitem
|
||||
id="menu_ir_cron"
|
||||
|
||||
@@ -7,222 +7,207 @@
|
||||
<field name="priority">20</field>
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@data-key='general_settings']" position="before">
|
||||
<div class="app_settings_block ml8" data-string="app_odoo_customize" string="OEM & Boost" data-key="app_odoo_customize">
|
||||
<div class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25" name="app_settings_header">
|
||||
<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/16.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/16.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="Internal User UI" name="app_ui_internal">
|
||||
<group name="app_ui_internal_left">
|
||||
<field name="app_navbar_pos_pc"/>
|
||||
<field name="app_navbar_pos_mobile"/>
|
||||
</group>
|
||||
<group name="app_ui_internal_right">
|
||||
</group>
|
||||
<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="//div[@name='app_settings_header']" 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 string="Public User UI" name="app_ui_external">
|
||||
<group name="app_ui_external_left">
|
||||
</group>
|
||||
<group name="app_ui_external_right">
|
||||
</group>
|
||||
<group>
|
||||
<field name="app_stop_subscribe"/>
|
||||
</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>
|
||||
</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/16.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/16.0/app_chatgpt" class="o_doc_link ml8"
|
||||
target="_blank"/>
|
||||
<div class="">Use Ai to make odoo more powerful.</div>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
||||
</div>
|
||||
<h2>UI Config</h2>
|
||||
<div class="row mt16 o_settings_container" name="app_ui_config">
|
||||
<group string="Internal User UI" name="app_ui_internal">
|
||||
<group name="app_ui_internal_left">
|
||||
<field name="app_navbar_pos_pc"/>
|
||||
<field name="app_navbar_pos_mobile"/>
|
||||
</group>
|
||||
<group name="app_ui_internal_right">
|
||||
</group>
|
||||
</group>
|
||||
<group string="Public User UI" name="app_ui_external">
|
||||
<group name="app_ui_external_left">
|
||||
</group>
|
||||
<group name="app_ui_external_right">
|
||||
</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>
|
||||
</field>
|
||||
</record>
|
||||
@@ -237,14 +222,5 @@
|
||||
</div>
|
||||
</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>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
{
|
||||
'name': '2023最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo16',
|
||||
'version': '16.24.11.04',
|
||||
'version': '16.24.11.08',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -10,10 +10,8 @@
|
||||
<xpath expr="//tree" position="attributes">
|
||||
<attribute name="default_order">code</attribute>
|
||||
</xpath>
|
||||
<xpath expr="field[@name='account_type']" position="after">
|
||||
<xpath expr="//field[@name='account_type']" position="after">
|
||||
<field name="parent_id" optional="show"/>
|
||||
<field name="group_id" optional="hide"/>
|
||||
<field name="tag_ids" widget="many2many_tags" optional="show"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
@@ -22,9 +20,8 @@
|
||||
<field name="model">account.account</field>
|
||||
<field name="inherit_id" ref="account.init_accounts_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="field[@name='account_type']" position="after">
|
||||
<xpath expr="//field[@name='account_type']" position="after">
|
||||
<field name="group_id"/>
|
||||
<field name="tag_ids" widget="many2many_tags"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user