Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2328 Näkymät

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?

Avatar
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
lokak. 23
1345
3
huhtik. 20
3554
4
maalisk. 15
7682
1
maalisk. 15
4355
1
heinäk. 25
572