admin管理员组

文章数量:1289831

How do you remove the backlinks from the public front end of Odoo 8?

Location: lower right corner of the page, in the footer.

HTML Code:

<div class="pull-right">
     Powered by <a class="label label-danger" href="">Odoo</a>,
     the #1 
     <a href="">Open Source eCommerce</a>.
</div>

These backlinks are shown to all search engines, and to anybody visiting the site, who is not logged in to the site!!

And when you log in, Odoo dynamically removes the links from the generated HTML page.

Odoo is very nice, but...

We cannot be displaying its back links on all public website page footers!

How do you remove them??

How do you remove the backlinks from the public front end of Odoo 8?

Location: lower right corner of the page, in the footer.

HTML Code:

<div class="pull-right">
     Powered by <a class="label label-danger" href="http://www.odoo./page/website-builder">Odoo</a>,
     the #1 
     <a href="http://www.odoo./page/e-merce">Open Source eCommerce</a>.
</div>

These backlinks are shown to all search engines, and to anybody visiting the site, who is not logged in to the site!!

And when you log in, Odoo dynamically removes the links from the generated HTML page.

Odoo is very nice, but...

We cannot be displaying its back links on all public website page footers!

How do you remove them??

Share Improve this question edited Dec 9, 2014 at 10:04 Chris Coleman asked Dec 9, 2014 at 6:11 Chris ColemanChris Coleman 4961 gold badge5 silver badges9 bronze badges 0
Add a ment  | 

6 Answers 6

Reset to default 2

I've determined how to solve this issue.

  1. First, log in to back end as administrator. Activate Technical Features, if not already activated, by going to Settings > Users > Users > (your Administrator user name, default is Administrator) > Edit > Usability > Technical Features > check the box (active), click Save.
  2. Go to Settings > Technical > User Interface > Views.
  3. In the search box, next to "(filter icon) Active", type "Footer Copyright", and hit enter to search.
  4. There will be one search result. (View name: Footer Copyright. View type: QWeb view.) Click to open it.
  5. Click Edit.
  6. Comment out lines 6-7 of the code as follows: <!-- Powered by <a class="label label-danger" href="http://www.odoo./page/website-builder">Odoo</a>, the #1 <a href="http://www.odoo./page/e-merce">Open Source eCommerce</a>. -->
  7. Click Save.
  8. Refresh the browser view of your Odoo front end website. Log out of the front end of your Odoo website. You'll see the previously visible "Powered by" backlinks and text, is now removed! For more info or help, see the following blog entry: http://www.espacenetworks./blog/entry/how-to-remove-the-powered-by-odoo-1-open-source-emerce-footer-from-front-end-of-odoo-8.html

It's remended to use modules to make updates in odoo.

You can create new module or try existed modules, e.g. website_debranding:

<template id="layout_footer_copyright" inherit_id="website.layout_footer_copyright">
    <xpath expr="//div[@t-ignore='true']" position="replace">
    </xpath>
</template>

See this guide: http://odoo.guide/debranding-odoo-backend/

There is a module to override all of that, which is the preferred way.

Check the master branch here https://superuser./a/808851/71031

  1. Active developer mode.
  2. Enable technical features.
  3. Go to Settings > Technical > User Interface > Views.
  4. In the search box, next to (filter icon) Active, type secondary, and hit enter to search.
  5. Choose web.menu_secondary. Click to open it.
  6. Now find this tag and ment it like.

    <!--div class="oe_footer">
      Powered by <a href="http://www.openerp." target="_blank"><span>Odoo</span></a>
    </div-->
    

Hope this will solve your problem.

It work for me in odoo13

<odoo>

    <data >
        <template id="layout_footer_copyright" inherit_id="website.layout">
            <xpath expr="//div[hasclass('o_footer_copyright')]" position="replace">

            </xpath>
        </template>
    </data>

</odoo> ```

You can remove it directly from the source code (or modify to anything you want. Take a look at the file openerp/addons/website/views/website_templates.xml

本文标签: