Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1740 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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}' 


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
2403
1
lip 25
908
1
sie 25
1151
0
maj 25
1344
2
kwi 25
3566