跳至内容
菜单
此问题已终结
1 回复
2208 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
0
10月 23
1284
3
4月 20
3501
4
3月 15
7584
1
3月 15
4257
1
7月 25
415