Powered by Odoo footer

2019-04-12 20:52发布

I need to change the "Powered" in "Powered by Odoo" footer to "Made", So the footer of my Odoo (Formerly OpenERP) Version 8.0-aab3d9f will be "Made by Odoo"

any ideas??

3条回答
Evening l夕情丶
2楼-- · 2019-04-12 21:17

You can use the HTML Editor of the Website module to change your site's copyright footer:

Customize > HTML Editor

Website HTML Editor Footer Copyright

Website HTML Editor Footer Copyright

As this is a fast and clean way to accomplish what you're asking for, though changes will be saved directly to working database. If you want to replicate your changes in different databases, the best approach is to make a custom module.

查看更多
欢心
3楼-- · 2019-04-12 21:21

First go to your Odoo web module and open below file.

addons => web => views => webclient_templates.xml

Now find this tag <div class="oe_footer"> and edit it like

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

Save it and refresh your browser. Hope you get what you want.

查看更多
Bombasti
4楼-- · 2019-04-12 21:25

Instead of changing directly in the core of odoo (which is not appreciated), you can create a new module that depends on web module. Then you can extend template web.menu_secondary from webclient_templates.xml in web module, like this:

-> _ _openerp__.py file:

{
    'name': "My Module",

     # for the full list
    'category': 'Web',

    # any module necessary for this one to work correctly
    'depends': ['web'],

    # always loaded
    'data': ['templates.xml'],
    'demo': [],
}

-> templates.xml file:

<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <template id="menu_secondary" inherit_id="web.menu_secondary">
        <div class="oe_footer" position="replace">
            <div class="oe_footer">
                Made by <a href="http://www.odoo.com" target="_blank"><span>Odoo</span></a>
            </div>
        </div>
    </template>
  </data>
</openerp>
查看更多
登录 后发表回答