diff --git a/app_odoo_customize/models/app_theme_config_settings.py b/app_odoo_customize/models/app_theme_config_settings.py index 20be6575..2e6fc85d 100644 --- a/app_odoo_customize/models/app_theme_config_settings.py +++ b/app_odoo_customize/models/app_theme_config_settings.py @@ -35,7 +35,7 @@ class AppThemeConfigSettings(models.TransientModel): @api.model def get_default_all(self, fields): ir_config = self.env['ir.config_parameter'] - app_system_name = ir_config.get_param('app.window_title', default='odooApp') + app_system_name = ir_config.get_param('app_system_name', default='odooApp') app_show_lang = True if ir_config.get_param('app_show_lang') == "True" else False app_show_debug = True if ir_config.get_param('app_show_debug') == "True" else False @@ -283,7 +283,6 @@ class AppThemeConfigSettings(models.TransientModel): ['stock.move', ], ['stock.pack.operation', ], ['stock.picking', ], - ['stock.picking.wave', ], ['stock.scrap', ], ['stock.inventory.line', ], ['stock.inventory', ], @@ -303,9 +302,9 @@ class AppThemeConfigSettings(models.TransientModel): '|', ('code', '=', 'stock.lot.tracking'), '|', ('code', '=', 'stock.orderpoint'), '|', ('code', '=', 'stock.picking'), - '|', ('code', '=', 'picking.wave'), '|', ('code', '=', 'stock.quant.package'), '|', ('code', '=', 'stock.scrap'), + '|', ('code', '=', 'stock.picking'), '|', ('prefix', '=', 'WH/IN/'), '|', ('prefix', '=', 'WH/INT/'), '|', ('prefix', '=', 'WH/OUT/'), @@ -325,7 +324,6 @@ class AppThemeConfigSettings(models.TransientModel): "or code ='stock.quant.package'" \ "or code ='stock.scrap'" \ "or code ='stock.picking'" \ - "or code ='picking.wave'" \ "or prefix ='WH/IN/'" \ "or prefix ='WH/INT/'" \ "or prefix ='WH/OUT/'" \ diff --git a/app_odoo_customize/models/mail_follower.py b/app_odoo_customize/models/mail_follower.py deleted file mode 100644 index 5d6d200f..00000000 --- a/app_odoo_customize/models/mail_follower.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Jarvis (www.odoomod.com) -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). diff --git a/app_odoo_customize/static/description/index.html b/app_odoo_customize/static/description/index.html index 12f6f717..5eaba873 100644 --- a/app_odoo_customize/static/description/index.html +++ b/app_odoo_customize/static/description/index.html @@ -5,6 +5,9 @@

This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher, Online Documentation Access,Quick Data Clear.

+

More Powerful UI addons: + 【App UI enhance】 +


+
+
@@ -49,7 +54,7 @@

There are 2 way to setup

1.Go to Menu: Settings->odooApp->UI Enhance

-

Setup whate you need

+

Setup what you need

diff --git a/app_ui_enhance/static/description/setup1.jpg b/app_ui_enhance/static/description/setup1.jpg index 7841f91a..c2f5c09f 100644 Binary files a/app_ui_enhance/static/description/setup1.jpg and b/app_ui_enhance/static/description/setup1.jpg differ diff --git a/app_ui_enhance/static/description/setup1.png b/app_ui_enhance/static/description/setup1.png index 978a3a21..e44465d4 100644 Binary files a/app_ui_enhance/static/description/setup1.png and b/app_ui_enhance/static/description/setup1.png differ diff --git a/app_ui_enhance/static/src/css/app_ui_enhance.css b/app_ui_enhance/static/src/css/app_ui_enhance.css index 673b57ff..a2203192 100644 --- a/app_ui_enhance/static/src/css/app_ui_enhance.css +++ b/app_ui_enhance/static/src/css/app_ui_enhance.css @@ -8,4 +8,36 @@ left: 6px; top: 3px; content: ""; +} +/* +强制表格滚动,企业版中生效 +*/ + +.force_scroll .table-responsive { + white-space: nowrap !important; + overflow: hidden !important; + overflow-x: auto !important; +} +.force_scroll ::-webkit-scrollbar { + height: 16px!important; +} +/* 滚动条的滑轨背景颜色 */ +.force_scroll ::-webkit-scrollbar-track { + background-color: lightgrey!important;; + -webkit-border-radius: 2em !important;; + -moz-border-radius: 2em !important;; + border-radius: 2em !important;; +} + +/* 滑块颜色 */ +.force_scroll ::-webkit-scrollbar-thumb { + background-color: #666666 !important;; + -webkit-border-radius: 2em !important;; + -moz-border-radius: 2em !important;; + border-radius: 2em !important;; +} + +/* 横向滚动条和纵向滚动条相交处尖角的颜色 */ +.force_scroll ::-webkit-scrollbar-corner { + background-color: black; } \ No newline at end of file diff --git a/app_ui_enhance/views/app_ui_config_settings_view.xml b/app_ui_enhance/views/app_ui_config_settings_view.xml index 7e22492f..17ae2750 100644 --- a/app_ui_enhance/views/app_ui_config_settings_view.xml +++ b/app_ui_enhance/views/app_ui_config_settings_view.xml @@ -25,6 +25,9 @@ + + + diff --git a/app_ui_enhance/views/template_view.xml b/app_ui_enhance/views/template_view.xml index a97a3db4..096cf983 100644 --- a/app_ui_enhance/views/template_view.xml +++ b/app_ui_enhance/views/template_view.xml @@ -1,7 +1,7 @@ -