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

I am tryint to extend stock.picking class with a new method:


def download_item_labels(self,id, **kw):

  Model = request.registry['stock.picking']

  cr, uid, context = request.cr, request.uid, request.context

  fields = ['id']

  res = Model.read(cr, uid, [int(id)], fields, context)[0]


How can I get all product codes (I guess that products i stock.picking are not linked to product) included in that stock.picking?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
3786
3
thg 12 22
11717
5
thg 4 24
42280
6
thg 4 24
39179
3
thg 3 24
10712