Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 24
14642
0
thg 5 24
1639
1
thg 3 15
5414
0
thg 3 15
3388
0
thg 3 15
3853