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

I want to add the delivery address and customer fields to a production order, this after having made that production order from a sales order... how can I add those fields ? in odoo 15

Avatar
Hylkää
Paras vastaus

Create a related field on the Manufacturing Order model (mrp.production) like this:

move_dest_ids.sale_line_id.order_id.partner_shipping_id

Add this field to the Form View to see:


Be sure to use 

context="{'show_address': 1}"  options='{"always_reload": True}' 


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
elok. 25
2548
1
heinäk. 25
961
1
elok. 25
1151
0
toukok. 25
1404
2
huhtik. 25
3596