Browse Source

[CHG] Index Updated

pull/97/merge
Sreejith P 7 years ago
parent
commit
482f56708c
  1. 5
      odoo-debrand/__manifest__.py
  2. 7
      odoo-debrand/doc/changelog.rst
  3. 1
      odoo-debrand/models/__init__.py
  4. BIN
      odoo-debrand/static/description/about-og.png
  5. BIN
      odoo-debrand/static/description/about.png
  6. BIN
      odoo-debrand/static/description/configurations.png
  7. 156
      odoo-debrand/static/description/index.html
  8. BIN
      odoo-debrand/static/description/odoo-title-og.png
  9. BIN
      odoo-debrand/static/description/odoo-title.png
  10. BIN
      odoo-debrand/static/description/powered-og.png
  11. BIN
      odoo-debrand/static/description/powered.png
  12. BIN
      odoo-debrand/static/description/settings-dash-og.png
  13. BIN
      odoo-debrand/static/description/settings-dashboard.png
  14. BIN
      odoo-debrand/static/description/warning-og.png
  15. BIN
      odoo-debrand/static/description/warning.png
  16. BIN
      odoo-debrand/static/description/website_footer-og.png
  17. BIN
      odoo-debrand/static/description/website_footer.png
  18. 22
      odoo-debrand/views/templates.xml
  19. 26
      odoo-debrand/views/views.xml

5
odoo-debrand/__manifest__.py

@ -22,7 +22,7 @@
############################################################################## ##############################################################################
{ {
'name': "Odoo Debranding", 'name': "Odoo Debranding",
'version': "10.0.3.0", 'version': "10.0.1.0.0",
'summary': """Debrand Odoo""", 'summary': """Debrand Odoo""",
'description': """Debrand Odoo""", 'description': """Debrand Odoo""",
'author': "Cybrosys Techno Solutions", 'author': "Cybrosys Techno Solutions",
@ -31,7 +31,8 @@
'category': 'Tools', 'category': 'Tools',
'depends': ['base', 'im_livechat', 'website'], 'depends': ['base', 'im_livechat', 'website'],
'data': [ 'data': [
'views/views.xml'], 'views/views.xml',
'views/templates.xml'],
'demo': [], 'demo': [],
'qweb': ["static/src/xml/*.xml"], 'qweb': ["static/src/xml/*.xml"],
'images': ['static/description/banner.jpg'], 'images': ['static/description/banner.jpg'],

7
odoo-debrand/doc/changelog.rst

@ -1,7 +0,0 @@
Changelog
=========
`10.0.2.0.0`
------------
- Fixed Crash Issue on Un-installing.

1
odoo-debrand/models/__init__.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from . import models from . import models

BIN
odoo-debrand/static/description/about-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
odoo-debrand/static/description/about.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 40 KiB

BIN
odoo-debrand/static/description/configurations.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 27 KiB

156
odoo-debrand/static/description/index.html

@ -1,111 +1,162 @@
<section class="oe_container oe_dark"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Odoo Debranding</h2> <h2 class="oe_slogan">Odoo Debranding</h2>
<h3 class="oe_slogan">Debrand Odoo Back-end + Front-End</h3> <h3 class="oe_slogan">Debrand Odoo Back-end + Front-End</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a></h4> <h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
<div class="oe_row oe_spaced" style="padding-left:65px;">
<h4>Features:</h4>
<div>
<span style="color:green;"> &#9745; </span> Debranding configuration page.<br/>
<span style="color:green;"> &#9745; </span> Modify database selector page.<br/>
<span style="color:green;"> &#9745; </span> Update website footer.<br/>
<span style="color:green;"> &#9745; </span> Remove Odoo's default favicon.<br/>
<span style="color:green;"> &#9745; </span> Updated "About" list.<br/>
<span style="color:green;"> &#9745; </span> Updated warning messages.<br/>
<span style="color:green;"> &#9745; </span> Page title modification.<br/>
<br/>
</div>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Configuration</h2> <div class="oe_picture">
<div class="col-md-12"> <h3 class="oe_slogan">Overview</h3>
<img class="oe_picture oe_screenshot" src="configurations.png"/> <p class="oe_mt32 text-justify" >
Want to debrand your company website? Odoo Debranding module developed by Cybrosys Technologies
helps you to change the aesthetic look of Odoo software via customizing them
with Logo and other branding changes. The module helps you to change almost every area of Odoo visuals,
delivering a brand new customized website.
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p>
<h4>Configuration</h4>
<p>
</div>
<div style="text-align: center">
<span class="oe_mt32 text-justify" style="text-align: center;">From the website configuration page, you can configure the company logo, favicon, company name, and website. </span>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="configurations.png">
</div>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Database Selector Page</h2> <div style="text-align: center">
<div class="col-md-12"> <p>
<img class="oe_picture oe_screenshot" src="db-selector.png"/> <h4>Database Selector Page</h4>
<p>
</div>
<div style="text-align: center">
<span class="oe_mt32 text-justify" style="text-align: center;">Database selector page will be updated with the company logo configured in the back-end.</span>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="db-selector.png">
</div>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Page Title</h2> <div style="text-align: center">
<div class="col-md-5"> <p>
<img class="oe_picture oe_screenshot" src="odoo-title-og.png"/> <h4>Page Title</h4>
</p>
</div> </div>
<div class="col-md-2" style="top:100px;color:green"> <div class="" style="text-align: center">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="odoo-title.png">
</div> </div>
<div class="col-md-5"> <span class="oe_mt32 text-justify" style="text-align: center;">"Odoo" will be removed from the page title.</span>
<img class="oe_picture oe_screenshot" src="odoo-title.png"/>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Warning</h2> <div style="text-align: center">
<div class="col-md-5"> <p>
<img class="oe_picture oe_screenshot" src="warning-og.png"/> <h4>Warning</h4>
</p>
</div> </div>
<div class="col-md-2" style="top:50px;color:green"> <div class="" style="text-align: center">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="warning.png">
</div> </div>
<div class="col-md-5"> <span class="oe_mt32 text-justify" style="text-align: center;">All the warning messages will be updated, by removing "Odoo" from the warning message window.</span>
<img class="oe_picture oe_screenshot" src="warning.png"/>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Settings</h2> <div style="text-align: center">
<div class="col-md-5"> <p>
<img class="oe_picture oe_screenshot" src="settings-dash-og.png"/> <h4>Settings</h4>
</p>
</div> </div>
<div class="col-md-2" style="top:50px;color:green"> <div class="" style="text-align: center">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="settings-dashboard.png">
</div> </div>
<div class="col-md-5"> <span class="oe_mt32 text-justify" style="text-align: center;">The settings dashboard will be updated.</span>
<img class="oe_picture oe_screenshot" src="settings-dashboard.png"/>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">About</h2> <div style="text-align: center">
<div class="col-md-5"> <p>
<img class="oe_picture oe_screenshot" src="about-og.png"/> <h4>About</h4>
</p>
</div> </div>
<div class="col-md-2" style="top:50px;color:green"> <div class="" style="text-align: center">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="about.png">
</div> </div>
<div class="col-md-5"> <span>"My Odoo.com Account" will be removed from the "About" dropdown list.</span>
<img class="oe_picture oe_screenshot" src="about.png"/>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Powered By</h2> <div style="text-align: center">
<div class="col-md-5"> <p>
<img class="oe_picture oe_screenshot" src="powered-og.png"/> <h4>Powered By</h4>
</p>
</div> </div>
<div class="col-md-2" style="top:50px;color:green"> <div class="" style="text-align: center">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i> <div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="powered.png">
</div> </div>
<div class="col-md-5"> <span>"Powered by Odoo" in the footer will be replaced with the company name configured in the back-end.</span>
<img class="oe_picture oe_screenshot" src="powered.png"/>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Website Footer</h2> <div style="text-align: center">
<div class="col-md-12"> <p>
<img class="oe_picture" src="website_footer-og.png"/> <h4>Website Footer</h4>
</p>
</div> </div>
<span class="" style="padding-left: 50%;color:green"> <div class="" style="text-align: center">
<i class="fa fa-hand-o-down fa-2x" aria-hidden="true"></i> <div class="oe_demo oe_picture oe_screenshot">
</span> <img style="border:10px solid white;" src="website_footer.png">
<div class="col-md-12"> </div>
<img class="oe_picture" src="footer.png"/> <span>Website footer content will also be replaced with the company name configured in the website configuration page.</span>
</div> </div>
</div> </div>
</section> </section>
@ -135,4 +186,3 @@
</div> </div>
</div> </div>
</section> </section>

BIN
odoo-debrand/static/description/odoo-title-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

BIN
odoo-debrand/static/description/odoo-title.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
odoo-debrand/static/description/powered-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
odoo-debrand/static/description/powered.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
odoo-debrand/static/description/settings-dash-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

BIN
odoo-debrand/static/description/settings-dashboard.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 69 KiB

BIN
odoo-debrand/static/description/warning-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

BIN
odoo-debrand/static/description/warning.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 25 KiB

BIN
odoo-debrand/static/description/website_footer-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

BIN
odoo-debrand/static/description/website_footer.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

22
odoo-debrand/views/templates.xml

@ -0,0 +1,22 @@
<openerp>
<data>
<!-- <template id="listing"> -->
<!-- <ul> -->
<!-- <li t-foreach="objects" t-as="object"> -->
<!-- <a t-attf-href="#{ root }/objects/#{ object.id }"> -->
<!-- <t t-esc="object.display_name"/> -->
<!-- </a> -->
<!-- </li> -->
<!-- </ul> -->
<!-- </template> -->
<!-- <template id="object"> -->
<!-- <h1><t t-esc="object.display_name"/></h1> -->
<!-- <dl> -->
<!-- <t t-foreach="object._fields" t-as="field"> -->
<!-- <dt><t t-esc="field"/></dt> -->
<!-- <dd><t t-esc="object[field]"/></dd> -->
<!-- </t> -->
<!-- </dl> -->
<!-- </template> -->
</data>
</openerp>

26
odoo-debrand/views/views.xml

@ -1,4 +1,5 @@
<odoo> <openerp>
<data>
<record id="debrand_config" model="ir.ui.view"> <record id="debrand_config" model="ir.ui.view">
<field name="name">Debranding Configuration</field> <field name="name">Debranding Configuration</field>
<field name="model">website.config.settings</field> <field name="model">website.config.settings</field>
@ -51,9 +52,9 @@
<a t-att-href="request.env['website'].sudo().search([])[0].company_name or ''" target="_blank"> <a t-att-href="request.env['website'].sudo().search([])[0].company_name or ''" target="_blank">
<span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a> <span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a>
</div> </div>
</xpath> </xpath>
</template> </template>
<template id="login_layout_secondary" inherit_id="web.menu_secondary"> <template id="login_layout_secondary" inherit_id="web.menu_secondary">
<xpath expr="//div[@class='o_sub_menu_footer']" position="replace"> <xpath expr="//div[@class='o_sub_menu_footer']" position="replace">
<div class="o_sub_menu_footer"> <div class="o_sub_menu_footer">
@ -62,39 +63,35 @@
</div> </div>
</xpath> </xpath>
</template> </template>
<template id="login_layout_im_livechat" inherit_id="im_livechat.support_page"> <template id="login_layout_im_livechat" inherit_id="im_livechat.support_page">
<xpath expr="//body" position="replace"> <xpath expr="//body" position="replace">
<body> <body>
<div class="main" style="opacity: 1;"> <div class="main" style="opacity: 1;">
<h1 class="channel_name"><t t-esc="channel.name"/></h1> <h1 class="channel_name"><t t-esc="channel.name"/></h1>
<div>Website Live Chat Powered by <strong><t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></strong></div> <div>Website Live Chat Powered by <strong><t t-esc="request.env['website'].sudo().search([])[0].company_name or '"/></strong></div>
</div> </div>
</body> </body>
</xpath> </xpath>
</template> </template>
<template id="login_layout" inherit_id="mail.message_user_assigned"> <template id="login_layout" inherit_id="mail.message_user_assigned">
<xpath expr="//p[last()]" position="replace"> <xpath expr="//p[last()]" position="replace">
<p style="color:#9E588B;">Powered by <a t-att-href="request.env['website'].sudo().search([])[0].company_website or ''"> <p style="color:#9E588B;">Powered by <a t-att-href="request.env['website'].sudo().search([])[0].company_website or ''">
<t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a>.</p> <t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a>.</p>
</xpath> </xpath>
</template> </template>
<template id="layout_footer_copyright" inherit_id="website.layout_footer_copyright" name="Footer Copyright">
<template id="layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
<xpath expr="//div[@class='container mt16 mb8']" position="replace"> <xpath expr="//div[@class='container mt16 mb8']" position="replace">
<div class="container mt16 mb8"> <div class="container mt16 mb8">
<div class="pull-right" t-if="not editable"> <div class="pull-right" t-if="not editable">
Powered by <a class="label label-danger" t-att-href="request.env['website'].sudo().search([])[0].company_website or ''"> Powered by <a class="label label-danger" t-att-href="request.env['website'].sudo().search([])[0].company_website">
<t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/> </a>. <t t-esc="request.env['website'].sudo().search([])[0].company_name"/> </a>.
</div> </div>
<div class="pull-left text-muted"> <div class="pull-left text-muted">
Copyright &amp;copy; <span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/> Copyright &amp;copy; <span t-esc="request.env['website'].sudo().search([])[0].company_name"/>
</div> </div>
</div> </div>
</xpath> </xpath>
</template> </template>
<template id="footer_extend" inherit_id="website.footer_custom"> <template id="footer_extend" inherit_id="website.footer_custom">
<xpath position="replace" expr="//h2"/> <xpath position="replace" expr="//h2"/>
</template> </template>
@ -136,8 +133,8 @@
<a class="" href="/web/database/manager">Manage Databases</a> | <a class="" href="/web/database/manager">Manage Databases</a> |
</t> </t>
<t> <t>
<a t-att-href="request.env['website'].sudo().search([])[0].company_website or ''" target="_blank">Powered by <a t-att-href="request.env['website'].sudo().search([])[0].company_website" target="_blank">Powered by
<span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a> <span t-esc="request.env['website'].sudo().search([])[0].company_name"/></a>
</t> </t>
</div> </div>
@ -145,4 +142,5 @@
</div> </div>
</xpath> </xpath>
</template> </template>
</odoo> </data>
</openerp>
Loading…
Cancel
Save