add stock capa

This commit is contained in:
ivan deng
2021-11-26 15:08:17 +08:00
parent 3b3d224f55
commit dbaa87081a
2 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@
], ],
'assets': { 'assets': {
'web.assets_qweb': [ 'web.assets_qweb': [
'app_web_enterprise/static/src/**/*.xml', 'app_web_enterprise/static/src/xml/*.xml',
], ],
'web._assets_primary_variables': [ 'web._assets_primary_variables': [
'app_web_enterprise/static/src/scss/primary_variables.scss', 'app_web_enterprise/static/src/scss/primary_variables.scss',

View File

@@ -6,11 +6,11 @@
<img src='/web/binary/company_logo' alt="Logo"/> <img src='/web/binary/company_logo' alt="Logo"/>
</t> </t>
</t> </t>
<!-- 菜单有下拉箭头-->
<t t-extend="Menu.sections"> <t t-inherit="web.Dropdown" t-inherit-mode="extension">
<t t-jquery=".dropdown-toggle" t-operation="attributes"> <xpath expr="//div[hasclass('o-dropdown')]" position="attributes">
<attribute name="class">dropdown-toggle o_menu_header_lvl_1</attribute> <attribute name="t-att-class">{show: state.open}</attribute>
</t> </xpath>
</t> </t>
</templates> </templates>