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 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
|
||||||
|
|||||||
@@ -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': [
|
||||||
|
|||||||
@@ -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 "欧度智能云"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
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>
|
<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>
|
||||||
|
|||||||
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>
|
<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>
|
||||||
|
|||||||
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',
|
'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',
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -7,25 +7,11 @@
|
|||||||
<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 & 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"/>
|
<label class="h2 bg-warning text-white" for="app_system_name"/>
|
||||||
<field name="app_system_name"/>
|
<field name="app_system_name"/>
|
||||||
<div>
|
</xpath>
|
||||||
<a href="https://www.odooai.cn" target="_blank">Visit our website for more apps and Support.
|
<xpath expr="//div[@name='app_settings_header']" position="after">
|
||||||
https://www.odooai.cn
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<h2>Security and Boost</h2>
|
<h2>Security and Boost</h2>
|
||||||
<div class="row mt16 o_settings_container" name="app_security_boost">
|
<div class="row mt16 o_settings_container" name="app_security_boost">
|
||||||
<group>
|
<group>
|
||||||
@@ -222,7 +208,6 @@
|
|||||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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>
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user