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

Hi,

I'd like to add a dropbox with relation to the MOs Product Names.

This dropbox will be in a different app than Manufacturing, is this possible to make in Studio?

So i basically just need the names of the products in the MOs that have the states of [confirmed], [planned] and [progress].

I understand i have to relate to the field Domain, but i'm yet to understand this.


I think this is the domain: "[('bom_ids','!=',False),('bom_ids.active','=',True),('bom_ids.type','=','normal'),('type','in',['product','consu']),'|',('company_id','=',False),('company_id','=',company_id)]"


Btw, is there an easy way to copy these domains?

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

Well... that was easy. I just needed to relate a many2one field to the BoM.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 23
1307
3
thg 4 20
3518
4
thg 3 15
7617
1
thg 3 15
4298
1
thg 7 25
521