Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1728 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
srp 25
2364
1
čvc 25
877
1
srp 25
1151
0
kvě 25
1328
2
dub 25
3529