update for desc 18

This commit is contained in:
Ivan Office
2024-08-20 01:06:46 +08:00
parent f77b6c4e58
commit dd9428527f
70 changed files with 643 additions and 41 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -0,0 +1,112 @@
<!--
# -*- coding: utf-8 -*-
##############################################################################
# Copyright (C) 2009~2024 odooAi.cn
##############################################################################
-->
<html>
<!-- begin title-->
<section class="oe_container container o_cc o_cc2">
<h2 class="text-center bg-warning text-white pt24 pb24">odoo Enterprise version enhance Pack</h2>
<h3 class="text-center">Replace odoo logo to your company logo</h3>
<h4 class="text-center">Make odoo Enterprise version better UI and flexible</h4>
</section>
<!-- end title-->
<!-- begin snapshot-->
<!-- quick demo-->
<section class="oe_container container">
<div class="oe_row oe_spaced" style="max-width: 95%;">
<div class="row">
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<h2 class="mt32 mb32">More Powerful addons:
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=odooai.cn">odooai.cn Odoo Addons</a>
</h2>
<h3>Latest update: v17.24.08.17</h3>
<p>This moduld allows user to . </p>
<ul>
<li class="mb8">1.Add dropdown arrow to parent menu.</li>
<li class="mb8">2.Replace the odoo logo or url to your company in menu and page.</li>
<li class="mb8">3.Add underline for input field.</li>
<li class="mb8">4.Add grid line form list view. Easy to read list data.</li>
</ul>
</div>
<div class="oe_demo oe_screenshot img img-fluid mt32">
<img src="app_web_enterprise_01.jpg" style="border:1px solid black"/>
<br/>
</div>
<div class="oe_demo oe_screenshot img img-fluid mt32">
<img src="app_web_enterprise_03.jpg" style="border:1px solid black"/>
<br/>
</div>
<div class="oe_demo oe_screenshot img img-fluid mt32">
<img src="b03.png" style="border:1px solid black"/>
<br/>
</div>
<div class="oe_row oe_spaced" style="max-width: 95%;">
<div class="oe_demo"
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
<h2 class='oe_mt32'>Customize Module Url(eg. Enterprise).</h2>
</div>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="set21.jpg" style="border:1px solid black"/>
<br/>
</div>
</div>
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">5. Add grid line form list view. Easy to read list data.</h2>
<h4 class="oe_slogan"> </h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="b04.png"/>
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">6. Add grid line to Account Reports. Easy to view Data.</h2>
<h4 class="oe_slogan"> </h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="b05.png"/>
</div>
</div>
</section>
<!-- end quick demo-->
<section class="container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="row">
<h2 class="oe_slogan">Technical Help & Support</h2>
</div>
<div class="col-md-12 pad0">
<div class="oe_mt16">
<p><h4>
For any type of technical help & support requests, Feel free to contact us</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:odoo@china.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> odoo@china.com</a>
<p><h4>
Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> 300883@qq.com</a>
</div>
<div class="oe_mt16">
<h4>
Visit our website for more support.</h4>
<h4>https://www.odooai.cn</h4>
</div>
</div>
</div>
</section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -0,0 +1,3 @@
.ui-widget {
font-size: 1.5em;
}

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1128" viewBox="0 0 2000 1128">
<polygon fill-opacity=".03" points="0 1077.844 392.627 778.443 1504.99 1127.745 0 1127.745"/>
<polygon fill-opacity=".02" points="392.216 778.443 283.294 0 0 0 0 666.504"/>
<polygon fill-opacity=".03" points="1000 0 2000 1009.98 2000 439.94 1749.817 0"/>
</svg>

After

Width:  |  Height:  |  Size: 366 B

View File

@@ -0,0 +1,149 @@
// 不显示 tooltip
.o_tooltip.o_tooltip_visible {
display: none;
}
// 上方菜单下拉group 也有箭头
.o_main_navbar {
.o-dropdown {
.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;
}
}
}
//list
.o_list_renderer.table-responsive .o_list_table {
//list 改标头背景o2m这里分开写
:not(.o_field_x2many_list) > & thead, tfoot {
tr {
background-color: $o-gray-100;
}
}
.o_field_x2many_list > & thead, tfoot {
tr {
background-color: $o-gray-100;
}
}
//列表标头下显示边框,标尾头显示边框
> :not(:first-child) {
border-top-width: 2px;
}
//列表标头左右下显示边框
--ListRenderer-thead-border-end-color: #{map-get($grays, '300')};
//内容显示边框
.o_data_row > .o_data_cell {
border-left: 1px solid map-get($grays, '300');
border-right: 1px solid map-get($grays, '300');
}
.o_data_row:not(.o_selected_row) > .o_data_cell:not(.o_readonly_modifier):not(:last-child) {
border-left: 1px solid map-get($grays, '300');
border-right: 1px solid map-get($grays, '300');
}
}
//form
// create 按键
.o_form_view .o_form_view_container {
button.o_form_button_create {
min-width: 4rem;
}
}
@media (max-width: 768px) {
.o_form_view .o_form_view_container {
// create 按键
button.o_form_button_create {
padding: 7px 10px;
}
.o_form_sheet_bg .o_form_sheet {
margin: 6px auto;
max-width: 98%;
}
}
}
@media (min-width: 768px) {
.o_form_view .o_form_view_container .o_form_sheet_bg .o_form_sheet {
max-width: 98%;
}
.o_form_view .o_form_view_container .o_notebook .o_notebook_headers {
overflow-x: inherit;
}
}
@media (min-width: 992px) {
.o_form_view .o_form_view_container .o_form_sheet_bg .o_form_sheet {
max-width: 98%;
}
}
@media (min-width: 1200px) {
.o_form_view .o_form_view_container .o_form_sheet_bg .o_form_sheet {
max-width: 98%;
}
}
@media (min-width: 1400px) {
.o_form_view .o_form_view_container .o_form_sheet_bg .o_form_sheet {
max-width: 98%;
}
}
// report
.o_account_reports_page .o_account_reports_table {
.o_account_report_column_value tr > td.number {
border-left: 1px solid var(--AccountFinancial-border-color, #bbb);
}
}
//izi
.izi_view {
.izi_dashboard_filter_title span {
background: #00796B;
}
.izi_dashboard_filter {
color: #00796B;
border: 1px solid #00796B;
}
.izi_dashboard_filter_content .dropdown-toggle {
color: #00796B;
}
.izi_btn.izi_btn_wpb {
border-color: #00796B;
color: #00796B;
}
.izi_btn.izi_btn_wpb:hover,
.izi_btn.izi_btn_wpb:not(:disabled):not(.disabled):active,
.izi_btn.izi_btn_wpb:not(:disabled):not(.disabled).active,
.show > .izi_btn.izi_btn_wpb.dropdown-toggle {
background-color: #00796B;
border-color: #00796B;
}
/* wlp - White Light Purple*/
.izi_btn.izi_btn_wlp {
color: #00796B;
}
.izi_btn.izi_btn_wlp:hover,
.izi_btn.izi_btn_wlp:not(:disabled):not(.disabled):active,
.izi_btn.izi_btn_wlp:not(:disabled):not(.disabled).active,
.show > .izi_btn.izi_btn_wlp.dropdown-toggle {
color: #00796B;
}
}

View File

@@ -0,0 +1,25 @@
// 编辑模式默认 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')};
}
}
}
.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) {
--o-input-border-color: #{map-get($grays, '200')};
}
}
}
.o_dialog_container {
.o_form_view: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')};
}
}
}

View File

@@ -0,0 +1,22 @@
//网站的 oe_structure_header_contact_1 滚动时不可见
.o_header_affixed .oe_structure_solo {
display: none;
}
//小屏时,顶部高度为 30px
//form
@media (max-width: 768px) {
header {
.navbar-brand.logo img {
height: 40px;
}
.navbar {
padding-top: 0;
padding-bottom: 0;
}
}
.o_header_affixed.o_header_is_scrolled .navbar-brand img {
height: 40px;
}
}

View File

@@ -0,0 +1,11 @@
.o_home_menu_background, .o_web_client.o_home_menu_background {
background: {
size: cover;
attachment: fixed;
color: var(--homeMenu-bg-color, #00463e);
image: var(--homeMenu-bg-image,
linear-gradient(to right bottom, #00796B, #00463e),
url("/app_web_enterprise/static/src/img/home-menu-bg-overlay.svg")
);
}
}

View File

@@ -0,0 +1,12 @@
$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);
}
}
}

View File

@@ -0,0 +1,3 @@
$o-enterprise-color: #00796B !default;
$o-brand-odoo: $o-enterprise-color !default;

View File

@@ -0,0 +1,34 @@
<?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 &amp;&amp; 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 &amp;&amp; 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>
<!-- 菜单有下拉箭头, owl的在 web.NavBar 首行用 MenuDropdown 下拉的用 DropdownItem -->
<!-- owl NavBar-->
<!-- <t t-name="app_web_enterprise.NavBar.SectionsMenu" t-inherit="web.NavBar.SectionsMenu" t-inherit-mode="extension">-->
<!-- <xpath expr="//MenuDropdown" position="attributes">-->
<!-- <attribute name="showCaret">true</attribute>-->
<!-- </xpath>-->
<!-- </t>-->
<!-- <t t-name="app_web_enterprise.NavBar.SectionsMenu.Dropdown.MenuSlot" t-inherit="web.NavBar.SectionsMenu.Dropdown.MenuSlot" t-inherit-mode="extension">-->
<!-- <xpath expr="//DropdownItem[1]" position="attributes">-->
<!-- <attribute name="showCaret">true</attribute>-->
<!-- </xpath>-->
<!-- </t>-->
</templates>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<!-- <t t-extend="HomeMenu.Content">-->
<!-- <t t-jquery=".o_home_menu_footer" t-operation="inner">-->
<!-- <img src='/web/binary/company_logo' alt="Logo"/>-->
<!-- </t>-->
<!-- </t>-->
</templates>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<!-- tip用 *-->
<t t-name="app_web_enterprise.FormLabel" t-inherit="web.FormLabel" t-inherit-mode="extension">
<xpath expr="//label" position="replace">
<label class="o_form_label" t-att-for="props.id" t-att-class="className" >
<t t-esc="props.string"/>
<sup class="btn-link p-1" t-if="hasTooltip" t-att="{'data-tooltip-template': 'web.FieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}">*</sup>
</label>
</xpath>
</t>
<!-- 更紧凑,先不处理 保存增加字样-->
<!-- <t t-name="app_web_enterprise.FormStatusIndicator" t-inherit="web.FormStatusIndicator" t-inherit-mode="extension">-->
<!-- <xpath expr="//i[hasclass('fa-cloud-upload')]" position="after">-->
<!-- Save-->
<!-- </xpath>-->
<!-- <xpath expr="//i[hasclass('fa-undo')]" position="after">-->
<!-- Discard-->
<!-- </xpath>-->
<!-- </t>-->
<!-- 17不需要默认就是创建移到左边-->
<!-- <t t-name="app_web_enterprise.FormControlPanel" t-inherit="web.FormControlPanel" t-inherit-mode="extension">-->
<!-- <xpath expr="//div[hasclass('o_cp_bottom_right')]//t[3]" position="replace"/>-->
<!--&lt;!&ndash; <xpath expr="//t[t-slot='control-panel-create-button']" position="replace"/>&ndash;&gt;-->
<!--&lt;!&ndash; <xpath expr="//div[hasclass('o_cp_top_left')]" position="replace"/>&ndash;&gt;-->
<!-- <xpath expr="//div[hasclass('o_cp_top_left')]" position="inside">-->
<!-- <t t-slot="control-panel-create-button" />-->
<!-- </xpath>-->
<!-- </t>-->
</templates>

View File

@@ -0,0 +1,10 @@
<?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">
<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>
</xpath>
</t>
</templates>