Skip to content

Commit f3d868f

Browse files
authored
Merge pull request #71 from itpp-labs/17.0-portal_debranding
commit is created by 👷‍♂️ Merge Bot: https://odoo-devops.readthedocs.io/en/latest/git/github-merge-bot.html
2 parents ecee2e7 + ca93b20 commit f3d868f

File tree

10 files changed

+209
-0
lines changed

10 files changed

+209
-0
lines changed

portal_debranding/README.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. image:: https://itpp.dev/images/infinity-readme.png
2+
:alt: Tested and maintained by IT Projects Labs
3+
:target: https://itpp.dev
4+
5+
Portal debranding
6+
==================
7+
8+
Removes references to odoo.com:
9+
10+
* Removes copyright in sidebar in Portal
11+
12+
Further information
13+
===================
14+
15+
Odoo Apps Store: https://www.odoo.com/apps/modules/17.0/portal_debranding/
16+
17+
Tested on `Odoo 17.0 <https://github.com/odoo/odoo/commit/40b19d89846303016098840f4958fe7cc105067c>`_

portal_debranding/__init__.py

Whitespace-only changes.

portal_debranding/__manifest__.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2021 Ivan Yelizariev
2+
# Copyright 2021 Denis Mudarisov <https://github.com/trojikman>
3+
# License OPL-1 (https://www.odoo.com/documentation/user/12.0/legal/licenses/licenses.html#odoo-apps) for derivative work.
4+
{
5+
"name": "Portal debranding",
6+
"version": "17.0.1.0.0",
7+
"author": "IT-Projects LLC, Ivan Yelizariev",
8+
"license": "OPL-1",
9+
"category": "Debranding",
10+
"images": ["images/portal_debranding.jpg"],
11+
"support": "[email protected]",
12+
"website": "https://odoo-debranding.com/",
13+
"depends": ["portal", "web_debranding"],
14+
"data": ["views.xml"],
15+
"auto_install": False,
16+
"installable": True,
17+
}

portal_debranding/doc/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
`1.0.0`
2+
-------
3+
4+
- Init version

portal_debranding/doc/index.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
====================
2+
Portal debranding
3+
====================
4+
5+
Installation
6+
============
7+
8+
* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
9+
10+
Sidebar
11+
=======
12+
13+
Navigate to portal and open one of the following types of record:
14+
15+
* Purchase
16+
* Sale
17+
* Invoice
18+
19+
RESULT: no "Powered by Odoo" label in the sidebar

portal_debranding/doc/src/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<section class="oe_container">
2+
<div class="oe_row oe_spaced">
3+
<div class="oe_span12">
4+
<div
5+
class="alert alert-info oe_mt32"
6+
style="padding: 0.3em 0.6em; font-size: 150%"
7+
>
8+
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
9+
<ul class="list-unstyled">
10+
<li>
11+
<i class="fa fa-check-square-o text-primary"></i>
12+
Removes copyright in sidebar in Portal
13+
</li>
14+
</ul>
15+
</div>
16+
</div>
17+
</div>
18+
</section>
208 KB
Loading
2.24 KB
Loading
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
2+
<section class="container">
3+
<div class="row">
4+
<div class="col-md-offset-1 col-md-8 mb64 mt64">
5+
<div class="">
6+
<h2 class="display-3">Portal debranding</h2>
7+
<h4 class="text-default"></h4>
8+
<p class="text-default mt16">Version: v<b>17.0</b>.1.0.0</p>
9+
</div>
10+
</div>
11+
<div class="col-md-3 text-right">
12+
<p>
13+
<img src="https://itpp.dev/images/favicon.png"/>
14+
<br/>Tested and maintained by
15+
<br/><b>IT Projects Labs</b>
16+
<br/>Assistance: <a href="mailto:[email protected]">[email protected]</a>
17+
</p>
18+
</div>
19+
</div>
20+
</section>
21+
22+
23+
<section class="oe_container">
24+
<div class="oe_row oe_spaced">
25+
<div class="oe_span12">
26+
<div
27+
class="alert alert-info oe_mt32"
28+
style="padding: 0.3em 0.6em; font-size: 150%"
29+
>
30+
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
31+
<ul class="list-unstyled">
32+
<li>
33+
<i class="fa fa-check-square-o text-primary"></i>
34+
Removes copyright in sidebar in Portal
35+
</li>
36+
</ul>
37+
</div>
38+
</div>
39+
</div>
40+
</section>
41+
42+
43+
44+
<section class="container text-center">
45+
<div class="mt-4 mb-3">
46+
<h2>Let our expertise work for you!</h2>
47+
<h4 class="d-none d-md-block">(Doors and windows below are clickable)</h4>
48+
<div class="mb32 d-md-none">
49+
<ul class="list-unstyled">
50+
<li><a target="_blank" href="https://apps.odoo.com/apps/browse?repo_maintainer_id=59928">All modules</a></li>
51+
<li><a target="_blank" href="https://apps.odoo.com/apps/browse?price=Free&order=Downloads&repo_maintainer_id=59928">Free Modules</a></li>
52+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/category/Point%20of%20Sale/browse?repo_maintainer_id=59928">All POS modules</a></li>
53+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/category/Discuss/browse?repo_maintainer_id=59928">All Mail modules</a></li>
54+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/category/Website/browse?repo_maintainer_id=59928">All Website modules</a></li>
55+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/category/eCommerce/browse?repo_maintainer_id=59928">All eCommerce modules</a></li>
56+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=sync+studio&repo_maintainer_id=59928">Sync Studio</a></li>
57+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/14.0/openapi/">REST API</a></li>
58+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/14.0/base_automation_webhook/">Webhooks</a></li>
59+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/14.0/pos_product_available/">POS: show product qty</a></li>
60+
<li><a target="_blank" href="https://apps.odoo.com/apps/modules/14.0/web_login_background/">Web Login Background</a></li>
61+
</ul>
62+
</div>
63+
<div class="mb64 d-none d-xl-block">
64+
<img class="img img-responsive" src="https://itpp.dev/images/apps/;-)/itpp-labs-1100.jpg" usemap="#itpp-xl" />
65+
<map name="itpp-xl">
66+
<area alt="Free Modules" target="_blank" href="https://apps.odoo.com/apps/browse?price=Free&order=Downloads&repo_maintainer_id=59928" shape="rect" class="" coords="900,220,1080,625" />
67+
<area alt="Sync Studio" target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=sync+studio&repo_maintainer_id=59928" shape="rect" class="" coords="552,186,721,274" />
68+
<area alt="REST API" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/openapi/" shape="rect" class="" coords="646,279,720,365" />
69+
<area alt="Webhooks" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/base_automation_webhook/" shape="rect" class="" coords="646,370,720,458" />
70+
<area alt="POS: show product qty" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/pos_product_available/" shape="rect" class="" coords="82,373,251,459" />
71+
<area alt="All modules" target="_blank" href="https://apps.odoo.com/apps/browse?repo_maintainer_id=59928" shape="rect" class="" coords="326,267,381,456" />
72+
<area alt="All POS modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Point%20of%20Sale/browse?repo_maintainer_id=59928" shape="rect" class="" coords="82,191,154,276" />
73+
<area alt="All Mail modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Discuss/browse?repo_maintainer_id=59928" shape="rect" class="" coords="82,282,155,368" />
74+
<area alt="All Website modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Website/browse?repo_maintainer_id=59928" shape="rect" class="" coords="176,282,250,368" />
75+
<area alt="All eCommerce modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/eCommerce/browse?repo_maintainer_id=59928" shape="rect" class="" coords="175,189,250,275" />
76+
<area alt="Ivan Yelizariev" target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=Ivan+Yelizariev&repo_maintainer_id=59928" shape="rect" class="" coords="554,280,625,456" />
77+
<area alt="Web Login Background" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/web_login_background/" shape="rect" class="" coords="420,267,477,456" />
78+
</map>
79+
</div>
80+
<div class="mb64 d-none d-lg-block d-xl-none">
81+
<img class="img img-responsive" src="https://itpp.dev/images/apps/;-)/itpp-labs-930.jpg" usemap="#itpp-lg" />
82+
<map name="itpp-lg">
83+
<area alt="Free Modules" target="_blank" href="https://apps.odoo.com/apps/browse?price=Free&order=Downloads&repo_maintainer_id=59928" shape="rect" class="" coords="760,186,913,528" />
84+
<area alt="Sync Studio" target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=sync+studio&repo_maintainer_id=59928" shape="rect" class="" coords="466,157,609,231" />
85+
<area alt="REST API" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/openapi/" shape="rect" class="" coords="546,235,608,308" />
86+
<area alt="Webhooks" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/base_automation_webhook/" shape="rect" class="" coords="546,312,608,387" />
87+
<area alt="POS: show product qty" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/pos_product_available/" shape="rect" class="" coords="69,315,212,388" />
88+
<area alt="All modules" target="_blank" href="https://apps.odoo.com/apps/browse?repo_maintainer_id=59928" shape="rect" class="" coords="275,225,322,385" />
89+
<area alt="All POS modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Point%20of%20Sale/browse?repo_maintainer_id=59928" shape="rect" class="" coords="69,161,130,233" />
90+
<area alt="All Mail modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Discuss/browse?repo_maintainer_id=59928" shape="rect" class="" coords="69,238,131,311" />
91+
<area alt="All Website modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Website/browse?repo_maintainer_id=59928" shape="rect" class="" coords="148,238,211,311" />
92+
<area alt="All eCommerce modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/eCommerce/browse?repo_maintainer_id=59928" shape="rect" class="" coords="147,159,211,232" />
93+
<area alt="Ivan Yelizariev" target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=Ivan+Yelizariev&repo_maintainer_id=59928" shape="rect" class="" coords="468,236,528,385" />
94+
<area alt="Web Login Background" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/web_login_background/" shape="rect" class="" coords="355,225,403,385" />
95+
</map>
96+
</div>
97+
<div class="mb64 d-lg-none">
98+
<img class="img img-responsive" src="https://itpp.dev/images/apps/;-)/itpp-labs-690.jpg" usemap="#itpp-md" />
99+
<map name="itpp-md">
100+
<area alt="Free Modules" target="_blank" href="https://apps.odoo.com/apps/browse?price=Free&order=Downloads&repo_maintainer_id=59928" shape="rect" class="" coords="564,138,677,392" />
101+
<area alt="Sync Studio" target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=sync+studio&repo_maintainer_id=59928" shape="rect" class="" coords="346,116,452,171" />
102+
<area alt="REST API" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/openapi/" shape="rect" class="" coords="405,175,451,228" />
103+
<area alt="Webhooks" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/base_automation_webhook/" shape="rect" class="" coords="405,232,451,287" />
104+
<area alt="POS: show product qty" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/pos_product_available/" shape="rect" class="" coords="51,233,157,287" />
105+
<area alt="All modules" target="_blank" href="https://apps.odoo.com/apps/browse?repo_maintainer_id=59928" shape="rect" class="" coords="204,167,238,286" />
106+
<area alt="All POS modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Point%20of%20Sale/browse?repo_maintainer_id=59928" shape="rect" class="" coords="51,119,96,173" />
107+
<area alt="All Mail modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Discuss/browse?repo_maintainer_id=59928" shape="rect" class="" coords="51,176,97,230" />
108+
<area alt="All Website modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/Website/browse?repo_maintainer_id=59928" shape="rect" class="" coords="110,176,156,230" />
109+
<area alt="All eCommerce modules" target="_blank" href="https://apps.odoo.com/apps/modules/category/eCommerce/browse?repo_maintainer_id=59928" shape="rect" class="" coords="109,118,156,172" />
110+
<area alt="Ivan Yelizariev" target="_blank" href="https://apps.odoo.com/apps/modules/browse?search=Ivan+Yelizariev&repo_maintainer_id=59928" shape="rect" class="" coords="347,175,392,286" />
111+
<area alt="Web Login Background" target="_blank" href="https://apps.odoo.com/apps/modules/14.0/web_login_background/" shape="rect" class="" coords="263,167,299,286" />
112+
</map>
113+
</div>
114+
</div>
115+
</section>
116+

portal_debranding/views.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- Copyright 2021,2023 Ivan Yelizariev <https://twitter.com/yelizariev>
3+
Copyright 2021 Denis Mudarisov <https://github.com/trojikman>
4+
License OPL-1 (https://www.odoo.com/documentation/user/12.0/legal/licenses/licenses.html#odoo-apps) for derivative work.-->
5+
<odoo>
6+
<template
7+
id="portal_record_sidebar"
8+
inherit_id="portal.portal_record_sidebar"
9+
priority="99"
10+
>
11+
<xpath
12+
expr="//div[@id='sidebar_content']/div[hasclass('text-muted')]"
13+
position="replace"
14+
>
15+
16+
</xpath>
17+
</template>
18+
</odoo>

0 commit comments

Comments
 (0)