Powered by Odoo footer

北城以北 提交于 2019-12-06 08:30:01

问题


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??


回答1:


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.




回答2:


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>



回答3:


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

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.



来源:https://stackoverflow.com/questions/27780253/powered-by-odoo-footer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!