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

Why don't save my new field?

By
Luís
on 7/18/13, 8:38 AM 852 views

Hi,

I create a new module to add new fields to class stock_picking_out. I can choose my new field but don't save this information. Anyone knows why?

My code:

class stock_picking_out(osv.osv):
    _name = "stock.picking.out"
    _inherit = "stock.picking.out"
    _description = "Delivery Orders"

 _columns = {
        'movement_status': fields.selection(
            ....................
      ),

}
    _defaults = {
        'movement_status': 'N',
    }

stock_picking_out()

image description

But when save:

image description

I don't know why this information disappear.

Thanks...

From what I know so far this class has a bug. The workaround is to replicate information in the two modules (stock_picking and stock_picking_out).

Luís
on 7/19/13, 8:00 AM

Yes I Got the solution. Add field in both stock.picking and stock.picking.out

Arun
on 9/7/13, 12:27 PM

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)

Stats

Asked: 7/18/13, 8:38 AM
Seen: 852 times
Last updated: 3/16/15, 8:10 AM