跳至内容
菜单
此问题已终结

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

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

相关帖文 回复 查看 活动
2
1月 24
14589
0
5月 24
1602
1
3月 15
5324
0
3月 15
3355
0
3月 15
3783