Odoo Help


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.


Unable to save customized field in delivery order form?

on 12/3/13, 4:59 AM 578 views

Hi, I want to inherit delivery order form and put following. After enter a sample entry and save the data in form, data is not shown in form view. In database value is added. Give me issue solution. Code is entered for ur reference

<record model="ir.ui.view" id="inherit_stock_form_field_fn"> <field name="name">stock.form.inherit.fields</field> <field name="model">stock.picking.out</field> <field name="inherit_id" ref="stock.view_picking_out_form"/> <field name="arch" type="xml"> <field name="stock_journal_id" position="after"> <field name="types_of_deliveries"/> <field name="zasp_status_picking"/> <field name="problem_description_note"/> <field name="cust_warrenty_date"/> </field> </field> </record>

Python file,

class delivery_types(osv.osv): _inherit = "stock.picking.out" _description = "Delivery Types"

_columns = {
    'name': fields.char('Delivery Reference', size=64, select=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}),
    'types_of_deliveries': fields.selection(D_TYPES,'Delivery Type',required="1"),
'cust_warrenty_date': fields.date('Warrenty upto',required=True,),
'sup_warrenty_date': fields.date('Warrenty upto',),
_defaults = {
    'name': '/',


If your module loads fine, the problem is usually that you are asking the system to display your field in the wrong place. The code could be valid but you are actually not displaying where you really want it. Using xpath to map location you want usually helps

on 12/3/13, 6:02 AM

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

0 follower(s)


Asked: 12/3/13, 4:59 AM
Seen: 578 times
Last updated: 3/16/15, 8:10 AM