Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1727 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 25
2358
1
lug 25
874
1
ago 25
1150
0
mag 25
1327
2
apr 25
3527