Odoo Help

Welcome!

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.

0

Xml, cannot see labels for fields in form view

By
Lakay lakay
on 9/25/14, 10:30 PM 862 views

Hi, why is it I cannot see the labels for my fields in the form view? 

My tree view: http://postimg.org/image/xg658id11/

My Form view: http://postimg.org/image/sq2tmj9zv/

My xml code:

<?xml version="1.0"?>
<openerp>
<data>

<record model="ir.ui.view" id="view_si_form">
        <field name="name">si.form</field>
        <field name="model">si</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <form string="Shipping Information">
              <group>
                <field name="street"/>
                <field name="street2" />
                <field name="city" />
                <field name="state" />
                <field name="zip" />
                <field name="country" />

 <button name="btnSet" string="Set" type="object" />
             </group>
            </form>
        </field>
    </record>

 

  <record model="ir.ui.view" id="view_si_tree">
        <field name="name">si.tree</field>
        <field name="model">si</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <tree string="Shipping Information">
                <field name="street" />
                <field name="street2" />
                <field name="city" />

 <field name="state" />
                <field name="zip" />
                <field name="country" />
                <button name="btnSet" string="Set" type="object" />
           </tree>
        </field>
    </record>

 

    <record model="ir.actions.act_window" id="action_si">
        <field name="name">Shipping Information</field>
        <field name="res_model">si</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="search_view_id" eval="False"/>
        <field name="context">{}</field>

  <field name="help">Set shipping information</field>
    </record>
    <menuitem name="ShippingInformation" id="menu_si_item" parent="portal.portal_orders" action="action_si" sequence="50"/>

 

</data>
</openerp>

 

am i missing something?
                

0
Lakay lakay
On 9/25/14, 10:57 PM

[Solved] I just uninstall the module and then installed it again.

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

1 follower(s)

Stats

Asked: 9/25/14, 10:30 PM
Seen: 862 times
Last updated: 3/16/15, 8:10 AM