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

What is the function that sends from mrp.production to purchase.order in odoo 16 ?  It is not def _prepare_purchase_order(self, company_id, origins, values). I need send analytic_account_id to purchase.order in json format res["analytic_distribution"] = { str(analytic_account_id): 100 }

Awatar
Odrzuć

Hi Yohana,
I would like to help but could you first let me know what is the reproducing steps?

Autor

I create an mrp.operation.line and I put a route_id and it generates a purchase when I confirm

but in this case I want to send the mrp.production.analytic_account_id first but I can't

see where the purchase is generated

Powiązane posty Odpowiedzi Widoki Czynność
2
cze 25
1038
2
cze 25
1115
2
mar 25
1121
2
maj 25
1349
1
maj 25
1067