Hello,
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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
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
Hi,
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
...
</xpath>
</field>
</record>
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 ?
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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký