Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2443 มุมมอง

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?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ต.ค. 23
1465
3
เม.ย. 20
3669
4
มี.ค. 15
7839
1
มี.ค. 15
4475
2
ก.ย. 25
753