Odoo Help


This community 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.


How switch page from notebook ?

Laetitia Gangloff (Acsone)
on 7/31/13, 1:57 PM 1,180 views


In "My current timesheet sheet" I want to switch "Summary" and "Attendances".

Can I have a clue to do this in my custom module ?

Thank you

On 7/31/13, 3:44 PM


Yes, is possible with something like this:

<record id="new_id" model="ir.ui.view">
    <field name="name">new_name</field>
    <field name="model">[name_of_module]r</field>
    <field name="inherit_id" ref="[name_of_module].[id_of_view]"/>
    <field name="arch" type="xml">
    <xpath expr="[path_until_notebook]/notebook" position="replace">
      changes that you want like first page appear first

I think with this you resolve your problems.

Thank you but there is no better solution than rewrite the original notebook in another order ? Something like sequence ?

Laetitia Gangloff (Acsone)
on 8/1/13, 6:00 AM

I've looked to all pages of openerp and there is no sequence for pages. So I suggested this way. But if you discover another way, tell us. Thanks

on 8/1/13, 7:42 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

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

Question tools

0 follower(s)


Asked: 7/31/13, 1:57 PM
Seen: 1180 times
Last updated: 3/16/15, 8:10 AM