I have a scenario in Odoo where a Manufacturing Order (MO) is linked to a Sale Order (SO). When I duplicate an MO, I want the new MO to also retain the link to the original SO. Currently, when I duplicate an MO, the link to the SO is not retained.
How can I customize the behavior of Odoo so that the duplicated MO automatically retains the reference to the original SO?
Is there any module or anything so i can take a reference.