Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4370 Zobrazení

Hi all,

I would like to change or remove the "Copyright © Company name" message from left footer.

Try in Settings ==> User Interface ==> Views from admin page of ODOO 14 CE but I cannot find any view that I can change.

How to change that message?

Thank a lot,

Avatar
Zrušit
Nejlepší odpověď

Hello duyhung

For remove "Copyright © Company name" follow this steps:
Go to setting --> user --> Technical --> User Interface --> Views then search "Frontend Layout"  and you will find template related copyright so edit template and remove Div which contains copyrights.

If you wants do it with backend then inherit template and remove div tag.
Thanks

Avatar
Zrušit
Autor Nejlepší odpověď

Hello Husain Rangwala,


Thank you very much for your quick help,

It works! I tried both solutions and all are OK. 

With backend template I tried as follow (note for someone needs):

In Settings --> Technical --> Views 

Click "Create" button to create new custom view

View Name: Footer Copyright
View Type: QWeb
Key: website.footer_copyright
Child Field: 
Inherited View: Main layout

Architecture:


<?xml version="1.0"?>

<!-- Customized -->

<data inherit_id="portal.frontend_layout" name="Footer Copyright">

  <xpath expr="//*[hasclass('o_footer_copyright_name')]" position="replace">

      <t t-call="web.debug_icon"/>

      <span class="o_footer_copyright_name mr-2">Copyright &amp;copy; MyCompany.com</span>

  </xpath>

</data>

<!--End Customized-->


=> Save

=> OK


If I try to edit from front page, it will create exact the same template in the backend view.


Thanks again,

Hung

Avatar
Zrušit