When calculate Days to Prepare Manufacturing Order, we didn't take into account Days to Purchase and Security Lead times for Purchaseing of the company. In this commmit, if the (sub-)bom has company_id set, these two days will added to the calculation. Task-3078049 X-original-commit: bf59aedad649dec350f091bb074d3ef1e51d5fcb Part-of: odoo/odoo#121813