Odoo Help


Why name coming like 'Botique Information / bot.info,1 in form view header

on 7/23/14, 1:09 AM 677 views

 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="name">booking.form.view</field>
    <field name="model">booking.info</field>
    <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="res_model">booking.info</field>
        <field name="view_type">form</field>
        <field name="view_mode">form</field>
        <field name="help" type="html">
        <p class="oe_view_nocontent_create">Place your order..................</p>

Why? need a help......... How to change




| 5 4 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 7/23/14, 1:30 AM

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'

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.


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

1 follower(s)


Asked: 7/23/14, 1:09 AM
Seen: 677 times
Last updated: 10/15/15, 11:00 AM