Odoo Help

0

Why don't save my new field?

By
Luís
on 7/18/13, 8:38 AM 998 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

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.

Register

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)

Stats

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