Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

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...

Avatar
Abbandona
Autore

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).

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

Post correlati Risposte Visualizzazioni Attività
2
gen 24
14637
0
mag 24
1635
1
mar 15
5405
0
mar 15
3385
0
mar 15
3848