Hi Shahzad Akram,
Hope you are doing well,
In Odoo 17 → You had Analytic Distribution fields directly in MO/BOM.
In Odoo 18 → Those fields were removed and replaced by Analytic Distribution Models in Accounting, which auto-apply distributions instead of setting them manually on MO/BOM.
Screenshot 1: Displays the Analytic Distribution field in the Bill of Materials (BOM) form in Odoo 17.

Screenshot 2: In Odoo 18, you must enable the Analytic Accounting option from Accounting configuration.

Screenshot 3: After enabling the Analytic Accounting option, the Analytic Distribution Models become visible in the Analytic Accounting section.

Screenshot 4: In Analytic Distribution Models, when clicking New, the Analytic Distribution field becomes visible in the ‘Distribution to Apply’ section.

If you have any questions, feel free to reach out to us.
Hope this helps !!!
Thanks & Regards,
Email : odoo@aktivsoftware.com