主题logo添加中文

This commit is contained in:
WEB许何哲\xuhez
2023-07-14 10:33:11 +08:00
parent 7b4d4a0d9a
commit 412083e2aa
4 changed files with 14 additions and 3 deletions

View File

@@ -33,7 +33,6 @@
<!-- <field name="time_test" widget="timepicker"/>--> <!-- <field name="time_test" widget="timepicker"/>-->
<field name="area_type" attrs="{'invisible': [('hide_area', '=', False)], 'required': [('hide_area', '!=', False)]}"/> <field name="area_type" attrs="{'invisible': [('hide_area', '=', False)], 'required': [('hide_area', '!=', False)]}"/>
</group> </group>
<group> <group>
<field name="storage_type" attrs="{'invisible': [('hide_area', '=', False)], 'required': [('hide_area', '!=', False)]}"/> <field name="storage_type" attrs="{'invisible': [('hide_area', '=', False)], 'required': [('hide_area', '!=', False)]}"/>

View File

@@ -7,7 +7,7 @@
'version': '2.0', 'version': '2.0',
'author': 'Bizople Solutions Pvt. Ltd.', 'author': 'Bizople Solutions Pvt. Ltd.',
'website': 'https://www.bizople.com/', 'website': 'https://www.bizople.com/',
'summary': 'The ultimate Odoo Backend theme with the most advanced key features of all time. Get your own personalized view while working on the Backend system with a wide range of choices. Spiffy theme has 3 in 1 Theme Style, Progressive Web App, Fully Responsive for all apps, Configurable Apps Icon, App Drawer with global search, RTL & Multi-Language Support, and many other key features.', 'summary': '机企猫定制的odoo主题',
'description': """ The ultimate Odoo Backend theme with the most advanced key features of all time. Get your own personalized view while working on the Backend system with a wide range of choices. Spiffy theme has 3 in 1 Theme Style, Progressive Web App, Fully Responsive for all apps, Configurable Apps Icon, App Drawer with global search, RTL & Multi-Language Support, and many other key features. """, 'description': """ The ultimate Odoo Backend theme with the most advanced key features of all time. Get your own personalized view while working on the Backend system with a wide range of choices. Spiffy theme has 3 in 1 Theme Style, Progressive Web App, Fully Responsive for all apps, Configurable Apps Icon, App Drawer with global search, RTL & Multi-Language Support, and many other key features. """,
'depends': ['web', 'base_setup', 'portal', 'resource'], 'depends': ['web', 'base_setup', 'portal', 'resource'],
'data': [ 'data': [
@@ -24,7 +24,7 @@
'views/res_config_setting.xml', 'views/res_config_setting.xml',
'views/menuitems.xml', 'views/menuitems.xml',
'views/backend_configurator_template.xml', 'views/backend_configurator_template.xml',
'views/login_page_style.xml', 'views/login_page_style.xml',
'views/templates_inherit.xml', 'views/templates_inherit.xml',

View File

@@ -69,5 +69,16 @@ body.o_web_client.top_menu_vertical .o_main_navbar .o_navbar_apps_menu .app_icon
.jikimo { .jikimo {
color: #fff; color: #fff;
font-family: 'Berlin Sans FB'; font-family: 'Berlin Sans FB';
margin-left: 8px;
//font-weight: bold; //font-weight: bold;
//margin-bottom: 0 !important;
}
.chn_title {
color: #fff;
margin-top: -10px;
font-size: 12px;
transform: scale(0.8);
letter-spacing: 5px;
margin-left: 6px;
} }

View File

@@ -155,6 +155,7 @@
<div class="o_company_logo"> <div class="o_company_logo">
<t t-if="currentCompany"> <t t-if="currentCompany">
<h1 class="jikimo">JIKIMO</h1> <h1 class="jikimo">JIKIMO</h1>
<div class="chn_title">机企猫</div>
<img class="img img-fluid company_logo_icon d-none" t-attf-src="/web/image?model=res.company&amp;field=backend_menubar_logo_icon&amp;id={{currentCompany.id}}"/> <img class="img img-fluid company_logo_icon d-none" t-attf-src="/web/image?model=res.company&amp;field=backend_menubar_logo_icon&amp;id={{currentCompany.id}}"/>
</t> </t>
</div> </div>