Odoo Help


openerp form view don't display field data

on 3/28/14, 9:47 AM 1,030 views

I found a problem with the stock module. I want to add some fields the data are well stored in the database but they are not displayed in the view! you find files module test


<openerp> <data>

    <record id="view_picking_out_form_test" model="ir.ui.view">
    <field name="name">stock.picking.out.form.test</field>
    <field name="type">form</field>
    <field name="model">stock.picking.out</field>
    <field name="inherit_id" ref="stock.view_picking_form"/>
    <field name="arch" type="xml">
        <xpath expr="//field[@name='partner_id']" position="after">
            <field name="test" placeholder="e.g. [0-9][a-zA-Z]"/>

</data> </openerp> test.py

from openerp.osv import fields, osv

class stock_picking_out(osv.osv):
    _inherit = 'stock.picking.out'
    _columns = {
        'test': fields.char('Test Field', size=8, select=True, states={'done': [('readonly', True)]}, domain=[('type', '=', 'out')]),

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

0 follower(s)


Asked: 3/28/14, 9:47 AM
Seen: 1030 times
Last updated: 3/16/15, 8:10 AM