Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5004 Lượt xem

Odoo 11.0.

It's just not there. I don't remember doing anything different...

Help?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Shahar,

It does show in v11 as well. See following screenshot from runbot:


When you confirm PO, does it create incoming shipment? Also, make sure your products are of type stockable.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi, 

the button has the invisible attrs : 

attrs="{'invisible': ['|', '|' , ('is_shipped', '=', True), ('state','not in', ('purchase','done')), ('picking_count', '=', 0)]}"

First, check if one of these conditions is True.

that is to say : if (is_shipped is True) OR (state is different from purcahse or done) OR picking_count is null, then the button will not be visible.

Thanks.

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

What does `picking_count` stand for, please?

number of deliveries, (receptions)

when you confirm a purchase order, a picking is created automatically ( smart button to access to the order's stock picking)