Skip to Content
मेन्यू
This question has been flagged

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 }

Avatar
Discard

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

Author

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

Related Posts Replies Views Activity
1
सित॰ 25
126
2
जून 25
1126
2
जून 25
1144
2
मार्च 25
1183
3
अग॰ 25
1467