mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update app_web_ent
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
|
||||
{
|
||||
'name': "odoo Enterprise enhance Pack,企业版界面及操作增强",
|
||||
'version': '23.11.16',
|
||||
'version': '24.08.17',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Base',
|
||||
'category': 'Extra tools',
|
||||
'website': 'https://www.odooai.cn',
|
||||
'live_test_url': 'https://demo.odooapp.cn',
|
||||
'license': 'LGPL-3',
|
||||
@@ -30,6 +30,7 @@
|
||||
1. Add dropdown arrow to parent menu.
|
||||
2. Replace the odoo logo to your company logo in main menu.
|
||||
3. Alway show search in main menu.
|
||||
4. Table and report UI enhance(Grid View).
|
||||
""",
|
||||
'description': """
|
||||
odoo enterprise version UI enhance.
|
||||
@@ -42,8 +43,10 @@
|
||||
替换主菜单界面的logo为你公司的logo。
|
||||
4. Add underline for input field.
|
||||
在可编辑字段下方增加下划线,易于分辨。
|
||||
5. Add grid line form list view. Easy to read list data.</li>
|
||||
5. Add grid line form list view. Easy to read list data.
|
||||
为表格list增加行列分隔线,易于看数据。
|
||||
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.
|
||||
13. Full Open Source.
|
||||
@@ -51,7 +54,7 @@
|
||||
1.
|
||||
2.
|
||||
11. 多语言支持,多公司支持
|
||||
12. Odoo 16,15,14,13,12, 企业版,社区版,在线SaaS.sh版,等全版本支持
|
||||
12. Odoo 17,16,15,14,13,12, 企业版,社区版,在线SaaS.sh版,等全版本支持
|
||||
13. 代码完全开源
|
||||
""",
|
||||
'price': 68.00,
|
||||
@@ -70,24 +73,23 @@
|
||||
'web._assets_primary_variables': [
|
||||
('before', 'web_enterprise/static/src/scss/primary_variables.scss', 'app_web_enterprise/static/src/scss/primary_variables.scss'),
|
||||
],
|
||||
# 处理header 变更
|
||||
'web.assets_backend': [
|
||||
('before', 'web/static/src/webclient/navbar/navbar.scss', 'app_web_enterprise/static/src/scss/navbar_before.scss'), # ('after', 'web/static/src/webclient/navbar/navbar.scss', 'app_web_enterprise/static/src/scss/navbar.scss'),
|
||||
('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/components/*/*.xml',
|
||||
'app_web_enterprise/static/src/webclient/navbar.xml',
|
||||
'app_web_enterprise/static/src/xml/res_config_edition.xml',
|
||||
'app_web_enterprise/static/src/xml/form.xml',
|
||||
'app_web_enterprise/static/src/components/*/*.xml',
|
||||
'app_web_enterprise/static/src/webclient/**/*.xml',
|
||||
'app_web_enterprise/static/src/xml/**/*.xml',
|
||||
# 'app_web_enterprise/static/src/xml/base.xml',
|
||||
],
|
||||
# 这里是改样式,要 after处理
|
||||
'web.assets_common': [
|
||||
# ('after', 'web/static/lib/jquery.ui/jquery-ui.css', 'app_web_enterprise/static/lib/jquery.ui/jquery-ui.css'),
|
||||
# ('after', 'web_enterprise/static/src/webclient/home_menu/home_menu_background.scss', 'app_web_enterprise/static/src/scss/home_menu_background.scss'),
|
||||
('after', 'web/static/lib/jquery.ui/jquery-ui.css', 'app_web_enterprise/static/lib/jquery.ui/jquery-ui.css'),
|
||||
('after', 'web_enterprise/static/src/webclient/home_menu/home_menu_background.scss', 'app_web_enterprise/static/src/scss/home_menu_background.scss'),
|
||||
],
|
||||
'web.assets_frontend': [
|
||||
# ('after', 'web/static/src/core/**/*', 'app_web_enterprise/static/src/xml/base.xml'),
|
||||
# ('after', 'web_enterprise/static/src/webclient/home_menu/home_menu_background.scss', 'app_web_enterprise/static/src/scss/home_menu_background.scss'),
|
||||
# 'app_web_enterprise/static/src/scss/app_style_website.scss',
|
||||
('after', 'web_enterprise/static/src/webclient/home_menu/home_menu_background.scss', 'app_web_enterprise/static/src/scss/home_menu_background.scss'),
|
||||
'app_web_enterprise/static/src/scss/app_style_website.scss',
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
BIN
app_web_enterprise/static/description/b05.png
Normal file
BIN
app_web_enterprise/static/description/b05.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 366 KiB |
@@ -14,6 +14,9 @@
|
||||
</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">
|
||||
@@ -21,7 +24,7 @@
|
||||
<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>Lastest update: v16.23.09.04</h3>
|
||||
<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>
|
||||
@@ -43,12 +46,6 @@
|
||||
<img src="b03.png" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
<div class="oe_demo oe_screenshot img img-fluid mt32">
|
||||
<img src="b04.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%;">
|
||||
@@ -61,6 +58,29 @@
|
||||
</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">
|
||||
|
||||
@@ -1,11 +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>
|
||||
<!-- <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>
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
//列表标头下显示边框,标尾头显示边框
|
||||
> :not(:first-child) {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
//列表标头左右下显示边框
|
||||
--ListRenderer-thead-border-end-color: #{map-get($grays, '300')};
|
||||
|
||||
@@ -55,13 +59,54 @@
|
||||
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 {
|
||||
|
||||
@@ -6,3 +6,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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')};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +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">-->
|
||||
<!--<!– todo: 以下主要是测试,改这个主图标为 O –>-->
|
||||
<!-- <xpath expr="//a[hasclass('o_menu_toggle')]" position="replace">-->
|
||||
<!-- <a href="#" class="o_menu_toggle fa fa-2x fa-opera" style="font-size: 2em;" accesskey="h" t-ref="menuApps" t-on-click.prevent="() => this.hm.toggle()">-->
|
||||
<!-- </a>-->
|
||||
<!-- </xpath>-->
|
||||
<!--</t>-->
|
||||
<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>
|
||||
<!-- 菜单有下拉箭头, owl的在 web.NavBar, 首行用 MenuDropdown, 下拉的用 DropdownItem -->
|
||||
<!-- owl NavBar-->
|
||||
<t t-name="app_web_enterprise.NavBar.SectionsMenu" t-inherit="web.NavBar.SectionsMenu" t-inherit-mode="extension">
|
||||
|
||||
@@ -9,18 +9,20 @@
|
||||
</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>
|
||||
<!-- 创建移到左边-->
|
||||
<!-- 更紧凑,先不处理 保存增加字样-->
|
||||
<!-- <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"/>-->
|
||||
<!--<!– <xpath expr="//t[t-slot='control-panel-create-button']" position="replace"/>–>-->
|
||||
<!--<!– <xpath expr="//div[hasclass('o_cp_top_left')]" position="replace"/>–>-->
|
||||
<!-- <xpath expr="//div[hasclass('o_cp_top_left')]" position="inside">-->
|
||||
<!-- <t t-slot="control-panel-create-button" />-->
|
||||
<!-- </xpath>-->
|
||||
|
||||
Reference in New Issue
Block a user