Browse Source

[UPDT] copyright Odoo restored

pull/166/head
Ajmal Cybro 4 years ago
parent
commit
92c5ff2215
  1. 6
      customize_settings/__manifest__.py
  2. 23
      customize_settings/static/src/xml/res_config_edition.xml
  3. 11
      customize_settings/views/res_config_views.xml
  4. 4
      customize_settings/views/views.xml

6
customize_settings/__manifest__.py

@ -21,7 +21,7 @@
{
'name': "Customize Odoo",
'version': "14.0.1.0.0",
'version': "14.0.1.1.1",
'summary': """Customize Odoo, odoo14""",
'description': """Customize Odoo, odoo14""",
'live_test_url': 'https://www.youtube.com/watch?v=fYSPARjmYA4',
@ -33,11 +33,9 @@
'depends': ['website', 'base_setup'],
'data': [
'views/views.xml',
'views/res_config_views.xml',
'views/ir_module_views.xml'
],
'qweb': ["static/src/xml/base.xml",
"static/src/xml/res_config_edition.xml"],
'qweb': ["static/src/xml/base.xml"],
'images': ['static/description/banner.jpg'],
'license': "LGPL-3",
'installable': True,

23
customize_settings/static/src/xml/res_config_edition.xml

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-extend="res_config_edition">
<!-- Branding in Settings -->
<t t-jquery="div[id='edition']" t-operation="replace">
<div class="col-12 o_setting_box" id="edition">
<div class="o_setting_right_pane">
<div>
<div class="tab-content">
<div role="tabpanel" id="settings"
class="tab-pane active text-muted o_web_settings_compact_subtitle">
<small>Copyright © 2004 <a target="_blank" href="https://www.yourcompany.com"
style="text-decoration: underline;">Your Company</a>
<a target="_blank" href="http://www.gnu.org/licenses/lgpl.html"
style="text-decoration: underline;">GNU LGPL Licensed</a></small>
</div>
</div>
</div>
</div>
</div>
</t>
</t>
</templates>

11
customize_settings/views/res_config_views.xml

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form_inherit" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.remove.about</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="appstore" position="replace"/>
</field>
</record>
</odoo>

4
customize_settings/views/views.xml

@ -27,8 +27,4 @@
</xpath>
</template>
<template id="debrand_promotion" inherit_id="web.brand_promotion">
<xpath expr="//t[@t-call='web.brand_promotion_message']" position="replace"/>
</template>
</odoo>
Loading…
Cancel
Save