What happens to the rights and obligations of the parent company when a new company is formed?  
The new company will replace the parent company in terms of its rights and obligations within the limits of the stake transferred, unless the creditors agree otherwise for their debts.