Odoo Help

0
0
pratima mohanty
On 1/3/18, 8:23 AM

Hi Marwa,

May this blog can help you out: https://www.targetintegration.com/technical/change-users-first-page-login-odoo-community

You can change the sequence no. of the menu item to and bring it to the very first page.

Thanks!

This is about the page after login right .... i think the question is not about this, if th question is this means , we can use home action in users page right :)

Niyas Raphy
on 1/4/18, 1:51 AM
0
Niyas Raphy
On 1/3/18, 4:47 AM

Hi,

What you can do for this that, navigate  to this path :- odoo-11.0/addons/web/views/database_manager.html

Then,

<div class="list-group">
{% for db in databases %}
<a href="/web?db={{ db }}" class="list-group-item" >
{% if db in incompatible_databases %}
<i class="icon fa fa-warning pull-right text-warning" title="This database may not be compatible"></i>
{% endif %}
{{ db }}
{% if manage %}
<div class="text-right pull-right">
<span data-db="{{ db }}" data-target=".o_database_backup" class="o_database_action btn-link"><i class="fa fa-floppy-o fa-fw"></i> Backup</span>
<span data-db="{{ db }}" data-target=".o_database_duplicate" class="o_database_action btn-link"><i class="fa fa-files-o fa-fw"></i> Duplicate</span>
<span data-db="{{ db }}" data-target=".o_database_delete" class="o_database_action btn-link"><i class="fa fa-trash-o fa-fw"></i> Delete</span>
</div>
{% endif %}
</a>
{% endfor %}
</div>

You will find a div like the above.

Then for redirecting to the home page rather than login page , change one of the above line like this,

<div class="list-group">
{% for db in databases %}
<a href="/?db={{ db }}" class="list-group-item" >
{% if db in incompatible_databases %}
<i class="icon fa fa-warning pull-right text-warning" title="This database may not be compatible"></i>
{% endif %}
{{ db }}
{% if manage %}
<div class="text-right pull-right">
<span data-db="{{ db }}" data-target=".o_database_backup" class="o_database_action btn-link"><i class="fa fa-floppy-o fa-fw"></i> Backup</span>
<span data-db="{{ db }}" data-target=".o_database_duplicate" class="o_database_action btn-link"><i class="fa fa-files-o fa-fw"></i> Duplicate</span>
<span data-db="{{ db }}" data-target=".o_database_delete" class="o_database_action btn-link"><i class="fa fa-trash-o fa-fw"></i> Delete</span>
</div>
{% endif %}
</a>
{% endfor %}
</div>

In the <a href="/web?db={{ db }}" , remove web?db={{ db }} and give  like this <a href="/?db={{ db }}" class="list-group-item" >.

If you have more than one db, there will be some issues

Thanks

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/3/18, 4:13 AM
Seen: 767 times
Last updated: 1/3/18, 8:23 AM