Skip to content

Commit

Permalink
Merge pull request #73 from itpp-labs/17.0-website_debranding
Browse files Browse the repository at this point in the history
  • Loading branch information
itpp-bot authored Dec 19, 2023
2 parents f3d868f + ce723e9 commit 71066a0
Show file tree
Hide file tree
Showing 14 changed files with 434 additions and 0 deletions.
15 changes: 15 additions & 0 deletions website_debranding/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Website debranding
==================

Removes references to odoo.com:

* Removes copyright in sidebar in Portal
* Removes /website/info page
* Removes Odoo Social links in demo company and websites

Further information
===================

Odoo Apps Store: https://www.odoo.com/apps/modules/17.0/website_debranding/

Tested on `Odoo 17.0 <https://github.com/odoo/odoo/commit/40b19d89846303016098840f4958fe7cc105067c>`_
Empty file added website_debranding/__init__.py
Empty file.
18 changes: 18 additions & 0 deletions website_debranding/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2015-2018,2020 Ivan Yelizariev
# Copyright 2021 Denis Mudarisov <https://github.com/trojikman>
# License OPL-1 (https://www.odoo.com/documentation/user/13.0/legal/licenses/licenses.html#odoo-apps) for derivative work.
{
"name": "Website debranding",
"version": "17.0.1.0.1",
"author": "IT-Projects LLC, Ivan Yelizariev",
"license": "OPL-1",
"category": "Debranding",
"images": ["images/website_debranding.jpg"],
"support": "[email protected]",
"website": "https://odoo-debranding.com",
"depends": ["website", "portal_debranding"],
"data": ["views.xml"],
"demo": ["demo.xml"],
"auto_install": True,
"installable": True,
}
32 changes: 32 additions & 0 deletions website_debranding/demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 Ivan Yelizariev
License OPL-1 (https://www.odoo.com/documentation/user/13.0/legal/licenses/licenses.html#odoo-apps) for derivative work.-->
<odoo>
<record id="base.main_company" model="res.company">
<field name="social_twitter" eval="False" />
<field name="social_facebook" eval="False" />
<field name="social_linkedin" eval="False" />
<field name="social_youtube" eval="False" />
<field name="social_github" eval="False" />
<field name="social_instagram" eval="False" />
<field name="favicon" eval="False" />
</record>
<record id="website.default_website" model="website">
<field name="social_twitter" eval="False" />
<field name="social_facebook" eval="False" />
<field name="social_linkedin" eval="False" />
<field name="social_youtube" eval="False" />
<field name="social_github" eval="False" />
<field name="social_instagram" eval="False" />
<field name="favicon" eval="False" />
</record>
<record id="website.website2" model="website">
<field name="social_twitter" eval="False" />
<field name="social_facebook" eval="False" />
<field name="social_linkedin" eval="False" />
<field name="social_youtube" eval="False" />
<field name="social_github" eval="False" />
<field name="social_instagram" eval="False" />
<field name="favicon" eval="False" />
</record>
</odoo>
9 changes: 9 additions & 0 deletions website_debranding/doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
`1.0.1`
-------

- **Improvement:** separation of the portal part into a separate dependency

`1.0.0`
-------

- Init version
8 changes: 8 additions & 0 deletions website_debranding/doc/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
====================
Website debranding
====================

Installation
============

* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
28 changes: 28 additions & 0 deletions website_debranding/doc/src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<div
class="alert alert-info oe_mt32"
style="padding: 0.3em 0.6em; font-size: 150%"
>
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
Removes copyright in sidebar in Portal
</li>

<li>
<i class="fa fa-check-square-o text-primary"></i>
Removes /website/info page
</li>

<li>
<i class="fa fa-check-square-o text-primary"></i>
Removes Odoo Social links in demo company
</li>
</ul>
</div>
</div>
</div>
</section>
1 change: 1 addition & 0 deletions website_debranding/doc/src/info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
slogan:
101 changes: 101 additions & 0 deletions website_debranding/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_debranding
#
# Translators:
# Dawid Runowski <[email protected]>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-10 16:28+0000\n"
"PO-Revision-Date: 2017-07-13 08:52+0000\n"
"Last-Translator: Dawid Runowski <[email protected]>, 2019\n"
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/"
"de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "<small>Author of this quote</small>"
msgstr "<small>Autor des Zitates</small>"

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "<small>John Doe, CEO</small>"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_button
msgid "<strong>We provide the best software for companies.</strong>"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_banner
msgid "Banner Image"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_button
msgid "Join us and make your company a better place."
msgstr "Tritt uns bei und mach dein Unternehmen zu einem besseren Platz."

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "Logo"
msgstr "Logo"

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "More than 500 happy customers."
msgstr "Mehr als 500 zufriedene Kunden"

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "Our References"
msgstr "Unsere Empfehlungen"

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
msgid ""
"Software provides essential platform for our project management.\n"
" Things are better organized "
"and more visible with it."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid ""
"Software provides essential platform for our project management.\n"
" Things are better organized and more visible "
"with it."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_image_text
#: model:ir.ui.view,arch_db:website_debranding.s_text_image
msgid "Text and image block"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
msgid ""
"Write a quote here from one of your customers. Quotes are a\n"
" great way to build "
"confidence in your products or services."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid ""
"Write a quote here from one of your customers. Quotes are a\n"
" great way to build confidence in your products "
"or services."
msgstr ""
87 changes: 87 additions & 0 deletions website_debranding/i18n/website_debranding.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_debranding
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "<small>Author of this quote</small>"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "<small>John Doe, CEO</small>"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_button
msgid "<strong>We provide the best software for companies.</strong>"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_banner
msgid "Banner Image"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_button
msgid "Join us and make your company a better place."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "Logo"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "More than 500 happy customers."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "Our References"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
msgid "Software provides essential platform for our project management.\n"
" Things are better organized and more visible with it."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "Software provides essential platform for our project management.\n"
" Things are better organized and more visible with it."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_image_text
#: model:ir.ui.view,arch_db:website_debranding.s_text_image
msgid "Text and image block"
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_parallax_slider
msgid "Write a quote here from one of your customers. Quotes are a\n"
" great way to build confidence in your products or services."
msgstr ""

#. module: website_debranding
#: model:ir.ui.view,arch_db:website_debranding.s_references
msgid "Write a quote here from one of your customers. Quotes are a\n"
" great way to build confidence in your products or services."
msgstr ""

Binary file added website_debranding/images/website_debranding.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website_debranding/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 71066a0

Please sign in to comment.