update 更新云面板

This commit is contained in:
Ivan Office
2024-11-08 20:22:59 +08:00
parent 260b181109
commit dd021071cf
16 changed files with 305 additions and 279 deletions

View File

@@ -2,7 +2,6 @@
from . import controllers from . import controllers
from . import models from . import models
from . import wizard
from .hooks import pre_init_hook from .hooks import pre_init_hook
from .hooks import post_init_hook from .hooks import post_init_hook
from .hooks import uninstall_hook from .hooks import uninstall_hook

View File

@@ -38,8 +38,8 @@
############################################################################## ##############################################################################
{ {
'name': "odooAi Common Util and Tools,欧度智能基础核心优化", 'name': "odooAi Common Util and Tools,欧度智能基础功能及面板",
'version': '16.24.10.09', 'version': '16.24.11.08',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Extra tools', 'category': 'Extra tools',
'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:
@@ -66,8 +66,8 @@
8. Boost for less no use mail 8. Boost for less no use mail
9. Customize .rng file 9. Customize .rng file
10. Misc like get distance between two points 10. Misc like get distance between two points
11. Multi-language Support. Multi-Company Support 11. Multi-language Support. Multi-Company Support.
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.
13. Full Open Source. 13. Full Open Source.
========== ==========
1. 1.
@@ -78,11 +78,12 @@
''', ''',
'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',
'wizard/mail_compose_message_views.xml',
# 'report/.xml', # 'report/.xml',
], ],
'qweb': [ 'qweb': [

View File

@@ -4,10 +4,10 @@
# #
msgid "" msgid ""
msgstr "" 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" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-08 14:55+0000\n" "POT-Creation-Date: 2024-11-08 11:54+0000\n"
"PO-Revision-Date: 2024-08-08 14:55+0000\n" "PO-Revision-Date: 2024-11-08 11:54+0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -28,16 +28,21 @@ msgstr "=================被忽略的邮箱: %s"
msgid "Base" msgid "Base"
msgstr "基础" 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 #. module: app_common
#: model:ir.model,name:app_common.model_res_partner #: model:ir.model,name:app_common.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "联系人" msgstr "联系人"
#. module: app_common
#: model:ir.model,name:app_common.model_mail_compose_message
msgid "Email composition wizard"
msgstr "EMail撰写向导"
#. module: app_common #. module: app_common
#. odoo-python #. odoo-python
#: code:addons/app_common/models/ir_mail_server.py:0 #: code:addons/app_common/models/ir_mail_server.py:0
@@ -45,6 +50,11 @@ msgstr "EMail撰写向导"
msgid "Email to ignore: %s" msgid "Email to ignore: %s"
msgstr "忽略的邮箱: %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 #. module: app_common
#: model:ir.model,name:app_common.model_ir_http #: model:ir.model,name:app_common.model_ir_http
msgid "HTTP Routing" msgid "HTTP Routing"
@@ -55,11 +65,6 @@ msgstr "HTTP 路由"
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 #. module: app_common
#: model:ir.model,name:app_common.model_ir_mail_server #: model:ir.model,name:app_common.model_ir_mail_server
msgid "Mail Server" msgid "Mail Server"
@@ -75,16 +80,6 @@ msgstr "发出邮件"
msgid "Scheduled Actions" msgid "Scheduled Actions"
msgstr "安排的动作" 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 #. module: app_common
#. odoo-python #. odoo-python
#: code:addons/app_common/wizard/mail_compose_message.py:0 #: 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" msgid "This only available in Sale Order or Purchase Order"
msgstr "本操作只对销售订单和采购订单生效" 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 #. module: app_common
#: model:ir.model,name:app_common.model_ir_ui_view #: model:ir.model,name:app_common.model_ir_ui_view
msgid "View" msgid "View"
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 #. module: app_common
#. odoo-python #. odoo-python
#: code:addons/app_common/models/ir_ui_view.py:0 #: code:addons/app_common/models/ir_ui_view.py:0
@@ -114,6 +108,10 @@ msgstr "查看"
msgid "" msgid ""
"You can Ignore this. Failed to load RelaxNG XML schema for views validation," "You can Ignore this. Failed to load RelaxNG XML schema for views validation,"
" file: %s" " file: %s"
msgstr "" msgstr "此警告可忽略:载入文件失败 RelaxNG XML schema for views validation, 文件名: %s"
"此警告可忽略:载入文件失败 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 "欧度智能云"

View File

@@ -25,12 +25,12 @@
from . import base from . import base
from . import ir_ui_view from . import ir_ui_view
from . import ir_cron from . import ir_cron
from . import res_users
from . import ir_mail_server from . import ir_mail_server
from . import mail_mail from . import mail_mail
from . import ir_http from . import ir_http
from . import app_import from . import app_import
from . import res_partner from . import res_partner
from . import res_config_settings

View 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

View File

@@ -4,7 +4,7 @@
<h2 class="oe_slogan">odooAi Common Util and Tools</h2> <h2 class="oe_slogan">odooAi Common Util and Tools</h2>
<h3 class="oe_slogan"> Network and media and base tools </h3> <h3 class="oe_slogan"> Network and media and base tools </h3>
<div class="oe_row"> <div class="oe_row">
<h3>Latest update: v16.24.04.07</h3> <h3>Lastest update: v17.24.04.29</h3>
<div class="row"> <div class="row">
<img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png"> <img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png">
</div> </div>
@@ -58,7 +58,7 @@
</li> </li>
<li> <li>
<i class="fa fa-check-square-o text-primary"></i> <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>
<li> <li>
<i class="fa fa-check-square-o text-primary"></i> <i class="fa fa-check-square-o text-primary"></i>
@@ -78,7 +78,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 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"> pip install pyyaml ua-parser user-agents </h4>
<h4 class="oe_slogan"> After that, install the app_common </h4> <h4 class="oe_slogan"> After that, install the app_common </h4>
</div> </div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@@ -1,4 +1,3 @@
<?xml version="1.0"?>
<odoo> <odoo>
<record id="app_ir_cron_view_tree" model="ir.ui.view"> <record id="app_ir_cron_view_tree" model="ir.ui.view">
<field name="name">app.ir.cron.tree</field> <field name="name">app.ir.cron.tree</field>
@@ -6,7 +5,7 @@
<field name="inherit_id" ref="base.ir_cron_view_tree"/> <field name="inherit_id" ref="base.ir_cron_view_tree"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//field[@name='active']" position="before"> <xpath expr="//field[@name='active']" position="before">
<field name='trigger_user_id' optional="show"/> <field name='trigger_user_id' optional="show"/>
</xpath> </xpath>
</field> </field>
</record> </record>

View 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>

View File

@@ -23,7 +23,7 @@
{ {
'name': 'odoo Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data', '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', 'author': 'odooai.cn',
'category': 'Extra Tools', 'category': 'Extra Tools',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',

View File

@@ -48,7 +48,7 @@
id="menu_app_theme_config" id="menu_app_theme_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

@@ -7,222 +7,207 @@
<field name="priority">20</field> <field name="priority">20</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/> <field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//div[@data-key='general_settings']" position="before"> <xpath expr="//div[@name='app_odooai_link']" position="before">
<div class="app_settings_block ml8" data-string="app_odoo_customize" string="OEM &amp; Boost" data-key="app_odoo_customize"> <label class="h2 bg-warning text-white" for="app_system_name"/>
<div class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25" name="app_settings_header"> <field name="app_system_name"/>
<div class="col-lg-12 col-md-12 ms-0 o_setting_box"> </xpath>
<div class="o_setting_right_pane border-start-0 ms-0 ps-0"> <xpath expr="//div[@name='app_settings_header']" position="after">
<div class="content-group"> <h2>Security and Boost</h2>
<div class="row mt8"> <div class="row mt16 o_settings_container" name="app_security_boost">
<label class="h2 bg-warning text-white" for="app_system_name"/> <group>
<field name="app_system_name"/> <group>
<div> <field name="app_debug_only_admin"/>
<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>
</group> </group>
<group string="Public User UI" name="app_ui_external"> <group>
<group name="app_ui_external_left"> <field name="app_stop_subscribe"/>
</group>
<group name="app_ui_external_right">
</group>
</group> </group>
<group string="User Menu"> </group>
<group> </div>
<field name="app_show_lang"/> <h2>Extra Feature</h2>
<field name="app_show_debug"/> <div class="row mt16 o_settings_container" name="app_modules">
<field name="app_show_documentation"/> <div class="col-lg-6 col-md-6 o_setting_box">
<field name="app_show_support"/> <div class="o_setting_left_pane">
<field name="app_show_account"/> <field name="module_app_odoo_doc"/>
</group> </div>
<group> <div class="o_setting_right_pane">
<field name="app_show_enterprise"/> <label for="module_app_odoo_doc"/>
<field name="app_show_share"/> <a href="https://apps.odoo.com/apps/modules/16.0/app_odoo_doc"
<field name="app_show_poweredby"/> title="Get Help Documentation on current odoo operation or topic. Click to get " class="o_doc_link ml8"
<field name="group_show_author_in_apps"/> target="_blank"/>
<field name="module_odoo_referral"/> <div class="">Get Help Documentation on current odoo operation or topic.</div>
</group> </div>
</group> </div>
<group string="User Menu Content"> <div class="col-lg-6 col-md-6 o_setting_box">
<label for="app_documentation_url"/> <div class="o_setting_left_pane">
<div> <field name="module_app_chatgpt"/>
<field name="app_documentation_url"/> </div>
</div> <div class="o_setting_right_pane">
<label for="app_documentation_dev_url"/> <label for="module_app_chatgpt"/>
<div> <a href="https://apps.odoo.com/apps/modules/16.0/app_chatgpt" class="o_doc_link ml8"
<field name="app_documentation_dev_url"/> target="_blank"/>
</div> <div class="">Use Ai to make odoo more powerful.</div>
<label for="app_support_url"/> </div>
<div> </div>
<field name="app_support_url"/> </div>
</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> <h2>UI Config</h2>
<div class="mt16 o_settings_container" name="data-clean"> <div class="row mt16 o_settings_container" name="app_ui_config">
<div class="col-12 col-lg-12 mb4"> <group string="Internal User UI" name="app_ui_internal">
<span class="col-3 col-lg-2 text-left">Sale</span> <group name="app_ui_internal_left">
<button string="Delete All Sales Order" type="object" name="remove_sales" <field name="app_navbar_pos_pc"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <field name="app_navbar_pos_mobile"/>
</div> </group>
<div class="col-12 col-lg-12 mb4"> <group name="app_ui_internal_right">
<span class="col-3 col-lg-2 text-left">POS</span> </group>
<button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?" </group>
class="oe_highlight"/> <group string="Public User UI" name="app_ui_external">
</div> <group name="app_ui_external_left">
<div class="col-12 col-lg-12 mb4"> </group>
<span class="col-3 col-lg-2 text-left">Purchase</span> <group name="app_ui_external_right">
<button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase" </group>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> </group>
</div> <group string="User Menu">
<div class="col-12 col-lg-12 mb4"> <group>
<span class="col-3 col-lg-2 text-left">Expense</span> <field name="app_show_lang"/>
<button string="Delete All Expense and Sheet" type="object" name="remove_expense" <field name="app_show_debug"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <field name="app_show_documentation"/>
</div> <field name="app_show_support"/>
<div class="col-12 col-lg-12 mb4"> <field name="app_show_account"/>
<span class="col-3 col-lg-2 text-left">MRP</span> </group>
<button string="Delete All Manufacturing Order" type="object" name="remove_mrp" <group>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <field name="app_show_enterprise"/>
| <field name="app_show_share"/>
<button string="Delete All BOM" type="object" name="remove_mrp_bom" <field name="app_show_poweredby"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <field name="group_show_author_in_apps"/>
</div> <field name="module_odoo_referral"/>
<div class="col-12 col-lg-12 mb4"> </group>
<span class="col-3 col-lg-2 text-left">Inventory</span> </group>
<button string="Delete All Move/Picking/Package/Lot" type="object" name="remove_inventory" <group string="User Menu Content">
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <label for="app_documentation_url"/>
</div> <div>
<div class="col-12 col-lg-12 mb4"> <field name="app_documentation_url"/>
<span class="col-3 col-lg-2 text-left"> </div>
Accounting <label for="app_documentation_dev_url"/>
</span> <div>
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account" <field name="app_documentation_dev_url"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> </div>
| <label for="app_support_url"/>
<button string="Clean and reset Account Chart" type="object" name="remove_account_chart" <div>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <field name="app_support_url"/>
</div> </div>
<div class="col-12 col-lg-12 mb4"> <label for="app_account_title"/>
<span class="col-3 col-lg-2 text-left">Project</span> <div>
<button string="Delete All Project/Task/Forecast" type="object" name="remove_project" <field name="app_account_title"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> </div>
</div> <label for="app_account_url"/>
<div class="col-12 col-lg-12 mb4"> <div>
<span class="col-3 col-lg-2 text-left">Event</span> <field name="app_account_url"/>
<button string="Delete All Event" type="object" name="remove_event" </div>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <label for="app_ribbon_name"/>
</div> <div>
<div class="col-12 col-lg-12 mb4"> <field name="app_ribbon_name"/>
<span class="col-3 col-lg-2 text-left">Quality</span> <div>
<button string="Delete All Quality" type="object" name="remove_quality" <span>Set to False to hide</span>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> </div>
| </div>
<button string="Delete All Quality Setting" type="object" name="remove_quality_setting" <label for="app_enterprise_url"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <div>
</div> <field name="app_enterprise_url" class="oe_inline"/>
<div class="col-12 col-lg-12 mb4"> <button string="Click to set" type="object" name="set_module_url" class="ml8 oe_highlight"/>
<span class="col-3 col-lg-2 text-left">Website And Blog</span> </div>
<button string="Delete All Website/Blog" type="object" name="remove_website" </group>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> </div>
</div>
<div class="col-12 col-lg-12 mb4"> <h2 name="data-clean" class="o_horizontal_separator">Data Cleaning (Be careful to do that!)</h2>
<span class="col-3 col-lg-2 text-left">Base Models</span> <div class="mt16 o_settings_container" name="data-clean">
<button string="Delete All Product" type="object" name="remove_product" <div class="col-12 col-lg-12 mb4">
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <span class="col-3 col-lg-2 text-left">Sale</span>
| <button string="Delete All Sales Order" type="object" name="remove_sales"
<button string="Delete All Product Attribute" type="object" name="remove_product_attribute" confirm="Please confirm to delete the select data?" class="oe_highlight"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> </div>
| <div class="col-12 col-lg-12 mb4">
<button string="Delete All Message" type="object" name="remove_message" <span class="col-3 col-lg-2 text-left">POS</span>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?"
| class="oe_highlight"/>
<button string="Delete All Workflow" type="object" name="remove_workflow" </div>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <div class="col-12 col-lg-12 mb4">
| <span class="col-3 col-lg-2 text-left">Purchase</span>
<button string="Reset Category And Location Complete Name" type="object" name="reset_cat_loc_name" class="oe_highlight"/> <button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase"
</div> confirm="Please confirm to delete the select data?" class="oe_highlight"/>
<div class="col-12 col-lg-12 mb4"> </div>
<span class="col-3 col-lg-2 text-left">All Business</span> <div class="col-12 col-lg-12 mb4">
<button string="Delete All MRP/Sale/Purchase/Account/MRP/Inventory/Project/Message/Workflow" type="object" name="remove_all_biz" <span class="col-3 col-lg-2 text-left">Expense</span>
confirm="Please confirm to delete the select data?" class="oe_highlight"/> <button string="Delete All Expense and Sheet" type="object" name="remove_expense"
</div> confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div> </div>
</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>
</field> </field>
</record> </record>
@@ -237,14 +222,5 @@
</div> </div>
</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>

View File

@@ -9,7 +9,7 @@
{ {
'name': '2023最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo16', 'name': '2023最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo16',
'version': '16.24.11.04', 'version': '16.24.11.08',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Accounting/Localizations/Account Charts', 'category': 'Accounting/Localizations/Account Charts',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',

View File

@@ -10,10 +10,8 @@
<xpath expr="//tree" position="attributes"> <xpath expr="//tree" position="attributes">
<attribute name="default_order">code</attribute> <attribute name="default_order">code</attribute>
</xpath> </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="parent_id" optional="show"/>
<field name="group_id" optional="hide"/>
<field name="tag_ids" widget="many2many_tags" optional="show"/>
</xpath> </xpath>
</field> </field>
</record> </record>
@@ -22,9 +20,8 @@
<field name="model">account.account</field> <field name="model">account.account</field>
<field name="inherit_id" ref="account.init_accounts_tree"/> <field name="inherit_id" ref="account.init_accounts_tree"/>
<field name="arch" type="xml"> <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="group_id"/>
<field name="tag_ids" widget="many2many_tags"/>
</xpath> </xpath>
</field> </field>
</record> </record>