Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When I create a entry into form header will come like
'Botique Information / bot.info,1
<record id="booking_form_view" model="ir.ui.view">
<field name="arch" type="xml">
<form string="Booking form" version="7.0" create="false" edit="false">
<group><field name="id" invisible="1"/>
<field name="product_id" widget="selection"/></group>
<div class="oe_button_box oe_right">
<button name="button_dummy" string="Check Availability" type="object" class="oe_web_example_stop"/>
<record id="booking_type_action" model="ir.actions.act_window">
<field name="name">Booking Information</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">Place your order..................</p>
Why? need a help......... How to change
In the Form view default its shows table "name" column value or "rec_name" value. If both options are not available in your table then its shows tablename, id
so in table create in one column with "name" field or use rec_name= 'column_name' in python file. After that in header its shows column value.
In python file add,
rec_name = 'product_id'
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 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
|Asked: 7/23/14, 1:09 AM|
|Seen: 490 times|
|Last updated: 10/15/15, 11:00 AM|