Odoo Help

0

Odoo 8. Remove Manage Database with a custom module

By
Keywoker
on 10/15/14, 11:35 PM 2,247 views

After Odoo 8 coming, the architecture of it was changed and I don't know how to remove the label "Manage" from the databse selector page. So, how can I do that with a custom module? Thanks.

@Vladislav, I think the question has been answered here: https://www.odoo.com/forum/help-1/question/how-to-show-the-manage-database-page-for-particular-user-like-administrator-in-openerp-v8-57036 Prakash's answer is the one you're looking for, although you can restrict the page using Nginx rules (see Luke's answer). Although I haven't tried it myself it looks like it should work. Please comment back and let me know how you get on in with this database, as it looks like something that is sorely needed for Public facing websites running Odoo 8.0 CMS and E-commerce.

Luke Branch
on 10/16/14, 12:23 AM
1
Keywoker
On 10/16/14, 3:04 AM

thanks Luke. Your answer was useful, but it's not what I need.

I solved my problem using XPATH EXPR="" POSITION="replace". In the example below I changed the label "Powered by..." like this:

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <template inherit_id="web.menu_secondary">
            <xpath expr="//div/a" position="replace">
                <a href="http://amazon.com" target="_blank"><span>Amazon</span></a>
            </xpath>
        </template>
        <template inherit_id="web.login_layout">
            <xpath expr="//div[@class='oe_single_form_footer']/a[1]" position="replace">
                <a href="http://amazon.com" target="_blank"><span>Powered by ...</span></a>
            </xpath>
        </template>
    </data>
</openerp>

 

It works perfectly, but after removing the custom module there are few records in a database as rest

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 10/15/14, 11:35 PM
Seen: 2247 times
Last updated: 3/16/15, 8:10 AM