mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc and fix
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<field name="model">res.config.settings</field>
|
<field name="model">res.config.settings</field>
|
||||||
<field name="inherit_id" ref="app_odoo_customize.view_app_theme_config_settings"/>
|
<field name="inherit_id" ref="app_odoo_customize.view_app_theme_config_settings"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[@name='app_modules']" position="after">
|
<xpath expr="//div[@name='app_settings_header']" position="after">
|
||||||
<h2>Ai Center Setup</h2>
|
<h2>Ai Center Setup</h2>
|
||||||
<div class="col-xs-12 col-md-6 row o_settings_container" id="chatgpt_integration">
|
<div class="col-xs-12 col-md-6 row o_settings_container" id="chatgpt_integration">
|
||||||
<div class="col-12 o_web_settings_compact_subtitle">
|
<div class="col-12 o_web_settings_compact_subtitle">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[@data-key='general_settings']" position="after">
|
<xpath expr="//div[@data-key='general_settings']" position="after">
|
||||||
<div class="app_settings_block ml8" data-string="app_odoo_customize" string="OEM & Boost" data-key="app_odoo_customize">
|
<div class="app_settings_block ml8" data-string="app_odoo_customize" string="OEM & Boost" data-key="app_odoo_customize">
|
||||||
<div class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25">
|
<div class="row app_settings_header my-0 ms-0 mw-100 bg-warning bg-opacity-25" name="app_settings_header">
|
||||||
<div class="col-lg-12 col-md-12 ms-0 o_setting_box">
|
<div class="col-lg-12 col-md-12 ms-0 o_setting_box">
|
||||||
<div class="o_setting_right_pane border-start-0 ms-0 ps-0">
|
<div class="o_setting_right_pane border-start-0 ms-0 ps-0">
|
||||||
<div class="content-group">
|
<div class="content-group">
|
||||||
|
|||||||
@@ -1,13 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<!-- sample add same logo-->
|
||||||
<template id="assets_backend" name="app_web_supero2m assets" inherit_id="web.assets_backend">
|
<template id="option_header_brand_logo" inherit_id="website.option_header_brand_logo">
|
||||||
<xpath expr="//link[last()]" position="after">
|
<xpath expr="//a" position="after">
|
||||||
<link rel="stylesheet" type="text/scss" href="/app_web_supero2m/static/src/scss/app.scss"/>
|
<a href="/" t-attf-class="navbar-brand logo #{_link_class}">
|
||||||
</xpath>
|
<span t-if="website.logo" class="d-lg-none"
|
||||||
<xpath expr="script[last()]" position="after">
|
t-field="website.logo" t-options="{'widget': 'image', 'width': auto, 'height': 40}" role="img"
|
||||||
<script type="text/javascript" src="/app_web_supero2m/static/src/js/list_renderer.js"/>
|
t-att-aria-label="'sample Logo of %s' % website.name" t-att-title="website.name"/>
|
||||||
</xpath>
|
</a>
|
||||||
</template>
|
</xpath>
|
||||||
</data>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- not use from v15-->
|
||||||
|
<!-- <template id="assets_backend" name="app_web_supero2m assets" inherit_id="web.assets_backend">-->
|
||||||
|
<!-- <xpath expr="//link[last()]" position="after">-->
|
||||||
|
<!-- <link rel="stylesheet" type="text/scss" href="/app_web_supero2m/static/src/scss/app.scss"/>-->
|
||||||
|
<!-- </xpath>-->
|
||||||
|
<!-- <xpath expr="script[last()]" position="after">-->
|
||||||
|
<!-- <script type="text/javascript" src="/app_web_supero2m/static/src/js/list_renderer.js"/>-->
|
||||||
|
<!-- </xpath>-->
|
||||||
|
<!-- </template>-->
|
||||||
</odoo>
|
</odoo>
|
||||||
Reference in New Issue
Block a user