mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update odoo customize
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
|
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
|
||||||
'version': '16.22.12.29',
|
'version': '16.23.02.06',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Productivity',
|
'category': 'Productivity',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
'app_odoo_customize/static/src/scss/dialog.scss',
|
'app_odoo_customize/static/src/scss/dialog.scss',
|
||||||
'app_odoo_customize/static/src/js/app_window_title.js',
|
'app_odoo_customize/static/src/js/app_window_title.js',
|
||||||
'app_odoo_customize/static/src/js/user_menu.js',
|
'app_odoo_customize/static/src/js/user_menu.js',
|
||||||
# 'app_odoo_customize/static/src/js/ribbon.js',
|
'app_odoo_customize/static/src/js/ribbon.js',
|
||||||
'app_odoo_customize/static/src/js/dialog.js',
|
'app_odoo_customize/static/src/js/dialog.js',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
The user can get the help document just by one click.
|
The user can get the help document just by one click.
|
||||||
## 在符合odoo开源协议的前提下,去除odoo版权信息,自定义你的odoo
|
## 在符合odoo开源协议的前提下,去除odoo版权信息,自定义你的odoo
|
||||||
可完全自行设置下列 odoo 选项,让 odoo 看上去像是你的软件产品
|
可完全自行设置下列 odoo 选项,让 odoo 看上去像是你的软件产品
|
||||||
支持odoo 15,14,13,12, 11, 10, 9 版本,社区版企业版通用
|
支持odoo 16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用
|
||||||
1. 删除菜单导航页脚的 Odoo 标签
|
1. 删除菜单导航页脚的 Odoo 标签
|
||||||
2. 将弹出窗口中 "Odoo" 设置为自定义名称
|
2. 将弹出窗口中 "Odoo" 设置为自定义名称
|
||||||
3. 自定义用户菜单中的 Documentation, Support, About 的链接
|
3. 自定义用户菜单中的 Documentation, Support, About 的链接
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 13.0+e-20200628\n"
|
"Project-Id-Version: Odoo Server 16.0-20221228\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-11-02 08:16+0000\n"
|
"POT-Creation-Date: 2023-02-06 06:40+0000\n"
|
||||||
"PO-Revision-Date: 2020-11-02 08:16+0000\n"
|
"PO-Revision-Date: 2023-02-06 06:40+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -16,7 +16,7 @@ msgstr ""
|
|||||||
"Plural-Forms: \n"
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#. openerp-web
|
#. 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
|
#, python-format
|
||||||
msgid "(Sunpop.cn Professional Edition)"
|
msgid "(Sunpop.cn Professional Edition)"
|
||||||
@@ -26,15 +26,13 @@ msgstr "(Sunpop.cn 专业版)"
|
|||||||
#: 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"
|
||||||
" Accounting <span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-specific.\" groups=\"base.group_multi_company\"/>\n"
|
" Accounting\n"
|
||||||
" </span>"
|
" </span>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<span class=\"col-3 col-lg-2 text-left\">\n"
|
"<span class=\"col-3 col-lg-2 text-left\">\n"
|
||||||
" 财务 <span class=\"fa fa-lg fa-building-o\" title=\"只处理当前公司的数据.\" groups=\"base.group_multi_company\"/>\n"
|
" 财务\n"
|
||||||
" </span>"
|
" </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\">All Business</span>"
|
msgid "<span class=\"col-3 col-lg-2 text-left\">All Business</span>"
|
||||||
@@ -96,14 +94,22 @@ msgid "<span>Set to False to hide</span>"
|
|||||||
msgstr "<span>设置为 False 则不显示</span>"
|
msgstr "<span>设置为 False 则不显示</span>"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#. openerp-web
|
#. odoo-javascript
|
||||||
|
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
|
||||||
|
#, python-format
|
||||||
|
msgid "Activate Assets Debugging"
|
||||||
|
msgstr "激活开发者模式 (assets)"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#. odoo-javascript
|
||||||
|
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
|
||||||
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Activate the developer mode"
|
msgid "Activate the developer mode"
|
||||||
msgstr "激活开发者模式"
|
msgstr "激活开发者模式"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#. openerp-web
|
#. odoo-javascript
|
||||||
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Activate the developer mode (with assets)"
|
msgid "Activate the developer mode (with assets)"
|
||||||
@@ -151,7 +157,7 @@ msgid "Data Cleaning (Be careful to do that!)"
|
|||||||
msgstr "数据清理(请谨慎操作!)"
|
msgstr "数据清理(请谨慎操作!)"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#. openerp-web
|
#. odoo-javascript
|
||||||
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Deactivate the developer mode"
|
msgid "Deactivate the developer mode"
|
||||||
@@ -250,16 +256,18 @@ msgid "Developer Documentation Url"
|
|||||||
msgstr "开发者手册链接"
|
msgstr "开发者手册链接"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#. openerp-web
|
#. odoo-javascript
|
||||||
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Developer Manual"
|
msgid "Developer Manual"
|
||||||
msgstr "开发者手册"
|
msgstr "开发者手册"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_web_environment_ribbon_backend__display_name
|
#. odoo-javascript
|
||||||
msgid "Display Name"
|
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
|
||||||
msgstr "显示名称"
|
#, python-format
|
||||||
|
msgid "Documentation"
|
||||||
|
msgstr "支持文档"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_documentation_url
|
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_documentation_url
|
||||||
@@ -273,19 +281,21 @@ msgid "Export Translation"
|
|||||||
msgstr "导出翻译"
|
msgstr "导出翻译"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_web_environment_ribbon_backend__id
|
#: model:ir.model,name:app_odoo_customize.model_ir_http
|
||||||
msgid "ID"
|
msgid "HTTP Routing"
|
||||||
msgstr ""
|
msgstr "HTTP 路由"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model,name:app_odoo_customize.model_base_language_install
|
#: model:ir.model,name:app_odoo_customize.model_base_language_install
|
||||||
msgid "Install Language"
|
msgid "Install Language"
|
||||||
msgstr "安装语言"
|
msgstr ""
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_web_environment_ribbon_backend____last_update
|
#. odoo-javascript
|
||||||
msgid "Last Modified on"
|
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
|
||||||
msgstr ""
|
#, python-format
|
||||||
|
msgid "Leave the Developer Tools"
|
||||||
|
msgstr "离开开发者模式"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_demo_data
|
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_demo_data
|
||||||
@@ -313,6 +323,16 @@ msgstr "我的帐户显示标题"
|
|||||||
msgid "My Odoo.com Account Url"
|
msgid "My Odoo.com Account Url"
|
||||||
msgstr "我的帐户链接"
|
msgstr "我的帐户链接"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.app_view_model_data_search
|
||||||
|
msgid "No Updatable"
|
||||||
|
msgstr "无需更新"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
|
||||||
|
msgid "Odoo Customize Setting"
|
||||||
|
msgstr "odoo自定义设置"
|
||||||
|
|
||||||
#. 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 "Please confirm to delete the select data?"
|
msgid "Please confirm to delete the select data?"
|
||||||
@@ -334,6 +354,11 @@ msgstr "刷新翻译"
|
|||||||
msgid "Reset Category And Location Complete Name"
|
msgid "Reset Category And Location Complete Name"
|
||||||
msgstr "重置品类及区位显示名"
|
msgstr "重置品类及区位显示名"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#: model:ir.ui.menu,name:app_odoo_customize.menu_ir_cron
|
||||||
|
msgid "Scheduled Actions"
|
||||||
|
msgstr "计划任务"
|
||||||
|
|
||||||
#. 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"
|
||||||
@@ -405,6 +430,13 @@ msgstr "显示分享Odoo"
|
|||||||
msgid "Show Support"
|
msgid "Show Support"
|
||||||
msgstr "显示支持"
|
msgstr "显示支持"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#. odoo-javascript
|
||||||
|
#: code:addons/app_odoo_customize/static/src/js/user_menu.js:0
|
||||||
|
#, python-format
|
||||||
|
msgid "Support"
|
||||||
|
msgstr "技术支持"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_support_url
|
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_support_url
|
||||||
msgid "Support Url"
|
msgid "Support Url"
|
||||||
@@ -471,11 +503,6 @@ msgstr "用户菜单"
|
|||||||
msgid "User Menu Content"
|
msgid "User Menu Content"
|
||||||
msgstr "菜单项具体操作设置"
|
msgstr "菜单项具体操作设置"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
|
||||||
#: model:ir.model,name:app_odoo_customize.model_ir_ui_view
|
|
||||||
msgid "View"
|
|
||||||
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 "Visit our website for more apps and Support. https://www.sunpop.cn"
|
msgid "Visit our website for more apps and Support. https://www.sunpop.cn"
|
||||||
@@ -517,17 +544,12 @@ msgid "When enable,everyone login can see the debug menu"
|
|||||||
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-javascript
|
||||||
msgid "White Label Setting"
|
|
||||||
msgstr "个性化odoo设置"
|
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
|
||||||
#. openerp-web
|
|
||||||
#: 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
|
||||||
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_group
|
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_group
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "odooApp"
|
msgid "odooApp"
|
||||||
msgstr ""
|
msgstr "odooApp"
|
||||||
|
|
||||||
#. 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
|
||||||
|
|||||||
@@ -6,13 +6,3 @@ from odoo import api, fields, models, _
|
|||||||
|
|
||||||
class BaseLanguageInstall(models.TransientModel):
|
class BaseLanguageInstall(models.TransientModel):
|
||||||
_inherit = "base.language.install"
|
_inherit = "base.language.install"
|
||||||
|
|
||||||
def lang_install(self):
|
|
||||||
self.ensure_one()
|
|
||||||
if self.overwrite:
|
|
||||||
self.env.cr.execute("""
|
|
||||||
delete from ir_translation
|
|
||||||
where lang=%s
|
|
||||||
""", (self.lang,))
|
|
||||||
self.env.cr.commit()
|
|
||||||
return super(BaseLanguageInstall, self).lang_install()
|
|
||||||
|
|||||||
@@ -27,16 +27,30 @@ class IrModule(models.Model):
|
|||||||
# 更新翻译,当前语言
|
# 更新翻译,当前语言
|
||||||
def module_multi_refresh_po(self):
|
def module_multi_refresh_po(self):
|
||||||
lang = self.env.user.lang
|
lang = self.env.user.lang
|
||||||
modules = self.browse(self.env.context.get('active_ids'))
|
modules = self.filtered(lambda r: r.state == 'installed')
|
||||||
# 先清理, odoo原生经常清理不干净
|
# 先清理, odoo原生经常清理不干净
|
||||||
for rec in modules:
|
# odoo 16中,不再使用 ir.translation,直接使用json字段
|
||||||
translate = self.env['ir.translation'].search([
|
# for rec in modules:
|
||||||
('lang', '=', lang),
|
# translate = self.env['ir.translation'].search([
|
||||||
('module', '=', rec.name)
|
# ('lang', '=', lang),
|
||||||
])
|
# ('module', '=', rec.name)
|
||||||
translate.sudo().unlink()
|
# ])
|
||||||
|
# translate.sudo().unlink()
|
||||||
# 再重载
|
# 再重载
|
||||||
self.sudo().with_context(overwrite=True)._update_translations(lang)
|
modules._update_translations(filter_lang=lang, overwrite=True)
|
||||||
|
# odoo 16翻译模式改变,仍需更新模块
|
||||||
|
return {
|
||||||
|
'type': 'ir.actions.client',
|
||||||
|
'tag': 'display_notification',
|
||||||
|
'target': 'new',
|
||||||
|
'params': {
|
||||||
|
'message': _("The languages that you selected have been successfully update.\
|
||||||
|
You still need to Upgrade the apps to make it worked."),
|
||||||
|
'type': 'success',
|
||||||
|
'sticky': False,
|
||||||
|
'next': {'type': 'ir.actions.act_window_close'},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
def button_get_po(self):
|
def button_get_po(self):
|
||||||
self.ensure_one()
|
self.ensure_one()
|
||||||
|
|||||||
@@ -32,7 +32,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 15,14,13, 12, 11, 10, 9. Including community and enterprise version. </p>
|
<p class="mb16">Support odoo 16,15,14,13, 12, 11, 10, 9. Including community and enterprise version. </p>
|
||||||
</div>
|
</div>
|
||||||
<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>
|
||||||
@@ -47,6 +47,9 @@
|
|||||||
<div class="oe_span12">
|
<div class="oe_span12">
|
||||||
<h2 class="oe_slogan">This is a Long Term Support Apps.</h2>
|
<h2 class="oe_slogan">This is a Long Term Support Apps.</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%;">
|
||||||
|
<h3>Update: v16.23.02.06</h3>
|
||||||
|
<p>Fix odoo ribbon.</p>
|
||||||
|
<p>Fix odoo translate update.</p>
|
||||||
<h3>Update: v16.22.10.21</h3>
|
<h3>Update: v16.22.10.21</h3>
|
||||||
<p>Add odoo16 support.</p>
|
<p>Add odoo16 support.</p>
|
||||||
<h3>Update: v15.21.10.21</h3>
|
<h3>Update: v15.21.10.21</h3>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
odoo.define("web_environment_ribbon.ribbon", function (require) {
|
odoo.define("web_environment_ribbon.ribbon", function (require) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var rpc = require("web.rpc");
|
var rpc = require("web.rpc");
|
||||||
var core = require("web.core");
|
var core = require("web.core");
|
||||||
|
|
||||||
|
|||||||
@@ -26,3 +26,10 @@
|
|||||||
.test-ribbon b {
|
.test-ribbon b {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header:hover ~ .test-ribbon,
|
||||||
|
nav:hover ~ .test-ribbon {
|
||||||
|
/* Ease out ribbon when user is using the navigation in Odoo */
|
||||||
|
opacity: 0;
|
||||||
|
transition: 0.2s ease;
|
||||||
|
}
|
||||||
|
|||||||
@@ -22,56 +22,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
<group string="User Menu">
|
<group string="User Menu">
|
||||||
<div class="row mt16 o_settings_container" name="user_menu_show_hide">
|
<group>
|
||||||
<div class="col-12 col-lg-6 o_setting_box">
|
|
||||||
<div>
|
|
||||||
<field name="app_show_lang"/>
|
<field name="app_show_lang"/>
|
||||||
<label for="app_show_lang"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="app_show_debug"/>
|
<field name="app_show_debug"/>
|
||||||
<label for="app_show_debug"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="app_show_documentation"/>
|
<field name="app_show_documentation"/>
|
||||||
<label for="app_show_documentation"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="app_show_documentation_dev"/>
|
<field name="app_show_documentation_dev"/>
|
||||||
<label for="app_show_documentation_dev"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-12 col-lg-6 o_setting_box">
|
|
||||||
<div>
|
|
||||||
<field name="app_show_support"/>
|
<field name="app_show_support"/>
|
||||||
<label for="app_show_support"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="app_show_account"/>
|
<field name="app_show_account"/>
|
||||||
<label for="app_show_account"/>
|
</group>
|
||||||
</div>
|
<group>
|
||||||
<div invisible="1">
|
|
||||||
<field name="app_show_enterprise"/>
|
<field name="app_show_enterprise"/>
|
||||||
<label for="app_show_enterprise"/>
|
|
||||||
</div>
|
|
||||||
<div invisible="1">
|
|
||||||
<field name="app_show_share"/>
|
<field name="app_show_share"/>
|
||||||
<label for="app_show_share"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="app_show_poweredby"/>
|
<field name="app_show_poweredby"/>
|
||||||
<label for="app_show_poweredby"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="group_show_author_in_apps"/>
|
<field name="group_show_author_in_apps"/>
|
||||||
<label for="group_show_author_in_apps"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<field name="module_odoo_referral"/>
|
<field name="module_odoo_referral"/>
|
||||||
<label for="module_odoo_referral"/>
|
</group>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</group>
|
</group>
|
||||||
<group string="User Menu Content">
|
<group string="User Menu Content">
|
||||||
<label for="app_documentation_url"/>
|
<label for="app_documentation_url"/>
|
||||||
@@ -144,7 +109,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-12 mb4">
|
<div class="col-12 col-lg-12 mb4">
|
||||||
<span class="col-3 col-lg-2 text-left">
|
<span class="col-3 col-lg-2 text-left">
|
||||||
Accounting <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
|
Accounting
|
||||||
</span>
|
</span>
|
||||||
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
|
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
|
||||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||||
|
|||||||
@@ -19,10 +19,7 @@
|
|||||||
<field name="binding_model_id" ref="base.model_ir_module_module" />
|
<field name="binding_model_id" ref="base.model_ir_module_module" />
|
||||||
<field name="model_id" ref="base.model_ir_module_module" />
|
<field name="model_id" ref="base.model_ir_module_module" />
|
||||||
<field name="state">code</field>
|
<field name="state">code</field>
|
||||||
<field name="code">
|
<field name="code">action=records.module_multi_refresh_po()</field>
|
||||||
if records:
|
|
||||||
records.module_multi_refresh_po()
|
|
||||||
</field>
|
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="action_server_module_multi_get_po" model="ir.actions.act_window">
|
<record id="action_server_module_multi_get_po" model="ir.actions.act_window">
|
||||||
|
|||||||
Reference in New Issue
Block a user