mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update
This commit is contained in:
@@ -133,7 +133,7 @@ App MRP Bom Product Multi Batch Add
|
||||
For Odoo17. Please get from the follow github. Done for 85%.
|
||||
https://github.com/guohuadeng/app-odoo/tree/17.0
|
||||
White label odoo. UI and Development Enhance.
|
||||
Support Odoo 17,16,15,14,13,12,11,10,9.
|
||||
Support Odoo 18,17,16,15,14,13,12,11,10,9.
|
||||
You can config odoo, make it look like your own platform.
|
||||
============
|
||||
1. Deletes Odoo label in footer
|
||||
@@ -189,7 +189,7 @@ App MRP Bom Product Multi Batch Add
|
||||
The user can get the help document just by one click.
|
||||
## 在符合odoo开源协议的前提下,自定义你的odoo系统
|
||||
可完全自行设置下列选项,将 odoo 整合进自有软件产品
|
||||
支持odoo 17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用
|
||||
支持Odoo 18,17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用
|
||||
============
|
||||
1. 删除菜单导航页脚的 Odoo 标签
|
||||
2. 将弹出窗口中 "Odoo" 设置为自定义名称
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
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.
|
||||
12. Support Odoo 18,17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
||||
13. Full Open Source.
|
||||
==========
|
||||
1.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
App Customize Odoo (Change Title,Language,Documentation,Quick Debug)
|
||||
============
|
||||
White label odoo.
|
||||
Support Odoo 17,16,15,14,13,12,11,10,9.
|
||||
Support Odoo 18,17,16,15,14,13,12,11,10,9.
|
||||
You can config odoo, make it look like your own platform.
|
||||
1. Deletes Odoo label in footer
|
||||
2. Replaces "Odoo" in Windows title
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
Addons</a>
|
||||
</p>
|
||||
<br>
|
||||
<h3>支持odoo 17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用</h3>
|
||||
<h3>支持Odoo 18,17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用</h3>
|
||||
<ul class="list-group">
|
||||
<li class='list-group-item'>1. 删除菜单导航页脚的 Odoo 标签</li>
|
||||
<li class='list-group-item'>2. 将弹出窗口中 "Odoo" 设置为自定义名称</li>
|
||||
@@ -380,7 +380,7 @@
|
||||
<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,
|
||||
Online Documentation Access,Quick Data Clear. </p>
|
||||
<p class="mb16">Support Odoo 17,16,15,14,13, 12, 11, 10, 9. Including community and enterprise version. </p>
|
||||
<p class="mb16">Support Odoo 18,17,16,15,14,13, 12, 11, 10, 9. Including community and enterprise version. </p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ export class WebEnvironmentRibbon extends Component {
|
||||
// Ribbon name
|
||||
if (ribbon_data.name && ribbon_data.name !== "False") {
|
||||
ribbon.classList.remove('o_hidden');
|
||||
ribbon.html(ribbon_data.name);
|
||||
ribbon.innerHTML = ribbon_data.name;
|
||||
}
|
||||
// Ribbon color
|
||||
if (ribbon_data.color && self.validStrColour(ribbon_data.color)) {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
{
|
||||
'name': "odoo18 Enterprise enhance Pack,企业版界面及操作增强",
|
||||
'version': '24.08.19',
|
||||
'version': '24.08.20',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Extra tools',
|
||||
'website': 'https://www.odooai.cn',
|
||||
@@ -48,13 +48,13 @@
|
||||
6. Add grid line to Account Reports. Easy to view Data.
|
||||
为财务报表增加行列分隔线,易于看数据及对账。
|
||||
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.
|
||||
==========
|
||||
1.
|
||||
2.
|
||||
11. 多语言支持,多公司支持
|
||||
12. Odoo 17,16,15,14,13,12, 企业版,社区版,在线SaaS.sh版,等全版本支持
|
||||
12. Odoo 18,17,16,15,14,13,12, 企业版,社区版,在线SaaS.sh版,等全版本支持
|
||||
13. 代码完全开源
|
||||
""",
|
||||
'price': 68.00,
|
||||
@@ -77,8 +77,8 @@
|
||||
('before', 'web/static/src/views/**/*', 'app_web_enterprise/static/src/scss/app_style_before.scss'),
|
||||
('after', 'web/static/src/views/**/*', 'app_web_enterprise/static/src/scss/app_style_after.scss'),
|
||||
'app_web_enterprise/static/src/webclient/**/*.xml',
|
||||
# 'app_web_enterprise/static/src/xml/**/*.xml',
|
||||
# 'app_web_enterprise/static/src/xml/base.xml',
|
||||
'app_web_enterprise/static/src/xml/res_config_edition.xml',
|
||||
# 'app_web_enterprise/static/src/xml/form.xml',
|
||||
],
|
||||
# 这里是改样式,要 after处理
|
||||
'web.assets_common': [
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<!-- <t t-name="mail.TrackingValue" t-inherit="mail.TrackingValue" t-inherit_mode="extension" owl="1">-->
|
||||
<!-- <xpath expr="//span[hasclass('o_TrackingValue_fieldName')]" position="replace">-->
|
||||
<!-- <span class="o_TrackingValue_fieldName ms-1 fw-bold text-muted" t-esc="trackingValue.formattedChangedField + ':'"/>-->
|
||||
<!-- </xpath>-->
|
||||
<!-- <xpath expr="//span[@t-esc='trackingValue.oldValue.formattedValueOrNone']" position="before">-->
|
||||
<!-- <xpath expr="//span[hasclass('o_TrackingValue_fieldName')]" position="move"/>-->
|
||||
<!-- </xpath>-->
|
||||
<!-- </t>-->
|
||||
</templates>
|
||||
@@ -1,17 +1,23 @@
|
||||
// 编辑模式默认 input下方border 有颜色
|
||||
// 编辑模式默认 input下方border 有颜色。必填的深色
|
||||
.o_form_view {
|
||||
.o_form_view_container {
|
||||
&:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '200')};
|
||||
}
|
||||
&:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '600')};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.o_form_view:not(.o_field_highlight) {
|
||||
.o_form_view_container {
|
||||
.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
&:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '200')};
|
||||
}
|
||||
&:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '600')};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,3 +29,74 @@
|
||||
}
|
||||
}
|
||||
|
||||
//navbar
|
||||
$o-navbar-background: rgba($o-brand-odoo, .06);
|
||||
|
||||
.o_main_navbar {
|
||||
--NavBar-entry-backgroundColor: $o-navbar-background;
|
||||
background: $o-navbar-background;
|
||||
}
|
||||
//navbar 的下拉箭头
|
||||
//在顶部
|
||||
.o_main_navbar {
|
||||
.o_menu_sections {
|
||||
.dropdown.dropdown-toggle {
|
||||
span::after {
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-top: 4px solid;
|
||||
border-right: 4px solid transparent;
|
||||
border-bottom: 0;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//在底部时
|
||||
.o_web_client.navbar_pos_bottom {
|
||||
.o_main_navbar {
|
||||
.o_menu_sections {
|
||||
.dropdown.dropdown-toggle {
|
||||
span::after {
|
||||
border-top: 0;
|
||||
border-bottom: 4px solid;
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.dropup.dropdown-toggle {
|
||||
span::after {
|
||||
border-top: 0;
|
||||
border-bottom: 4px solid;
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//在顶部和底部时
|
||||
.o-overlay-container {
|
||||
.dropdown-menu_group.dropdown-header::after {
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-top: 4px solid;
|
||||
border-right: 4px solid transparent;
|
||||
border-bottom: 0;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
$o-navbar-background: rgba($o-brand-odoo, .05);
|
||||
|
||||
.o_main_navbar {
|
||||
--NavBar-entry-backgroundColor: $o-navbar-background;
|
||||
background: $o-navbar-background;
|
||||
|
||||
.o_menu_sections {
|
||||
.o_nav_entry, .dropdown-toggle {
|
||||
background: var(--NavBar-entry-backgroundColor, transparent);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,24 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="app_web_enterprise.EnterpriseNavBar" t-inherit="web_enterprise.EnterpriseNavBar" t-inherit-mode="extension">
|
||||
<xpath expr="//a[hasclass('o_menu_toggle')]" position="replace">
|
||||
<a href="#" class="o_menu_toggle" t-att-class="{'hasImage': currentApp && currentApp.webIconData}" accesskey="h" t-ref="menuApps" t-on-click.prevent="() => this.hm.toggle()">
|
||||
<i class="o_menu_toggle_icon text-primary fa fa-2x fa-opera" style="padding-right:8px;" role="img"/>
|
||||
<img
|
||||
t-if="currentApp && currentApp.webIconData"
|
||||
t-att-src="currentApp.webIconData"
|
||||
class="o_menu_brand_icon d-none d-lg-inline position-absolute start-0 h-100 ps-1 ms-2"
|
||||
t-att-alt="currentApp.name"
|
||||
t-ref="appIcon"/>
|
||||
<!--<t t-name="app_web_enterprise.EnterpriseNavBar" t-inherit="web_enterprise.EnterpriseNavBar" t-inherit-mode="extension">-->
|
||||
<!--<!– todo: 以下主要是测试,改这个主图标为 O –>-->
|
||||
<!-- <xpath expr="//a[hasclass('o_menu_toggle')]" position="replace">-->
|
||||
<!-- <a href="#" class="o_menu_toggle" t-att-class="{'hasImage': currentApp && currentApp.webIconData}" accesskey="h" t-ref="menuApps" t-on-click.prevent="() => this.hm.toggle()">-->
|
||||
<!-- <i class="o_menu_toggle_icon text-primary fa fa-2x fa-opera" style="padding-right:8px;" role="img"/>-->
|
||||
<!-- <img-->
|
||||
<!-- t-if="currentApp && currentApp.webIconData"-->
|
||||
<!-- t-att-src="currentApp.webIconData"-->
|
||||
<!-- class="o_menu_brand_icon d-none d-lg-inline position-absolute start-0 h-100 ps-1 ms-2"-->
|
||||
<!-- t-att-alt="currentApp.name"-->
|
||||
<!-- t-ref="appIcon"/>-->
|
||||
|
||||
<span
|
||||
t-if="currentApp"
|
||||
t-esc="currentApp.name"
|
||||
class="o_menu_brand d-none d-md-flex ms-3 pe-0"/>
|
||||
</a>
|
||||
</xpath>
|
||||
</t>
|
||||
<!-- <span-->
|
||||
<!-- t-if="currentApp"-->
|
||||
<!-- t-esc="currentApp.name"-->
|
||||
<!-- class="o_menu_brand d-none d-md-flex ms-3 pe-0"/>-->
|
||||
<!-- </a>-->
|
||||
<!-- </xpath>-->
|
||||
<!--</t>-->
|
||||
<!-- 菜单有下拉箭头, owl的在 web.NavBar, 首行用 MenuDropdown, 下拉的用 DropdownItem -->
|
||||
<!-- owl NavBar-->
|
||||
<!-- <t t-name="app_web_enterprise.NavBar.SectionsMenu" t-inherit="web.NavBar.SectionsMenu" t-inherit-mode="extension">-->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-inherit="web.res_config_edition" t-inherit-mode="extension">
|
||||
<xpath expr="//h3" position="replace">
|
||||
<t t-inherit="res_config_edition" t-inherit-mode="extension" owl="1">
|
||||
<xpath expr="//div[hasclass('user-heading')]//h3" position="replace">
|
||||
<h3 class="px-0">
|
||||
Odoo <t t-esc="serverVersion"/> (<a target="_blank" href="https://www.odooai.cn" style="text-decoration: underline;">odooai.cn</a> Edition)
|
||||
</h3>
|
||||
|
||||
Reference in New Issue
Block a user