When trying to add record in child view, it require to save the parent record. how can i stop this behavior?
It is impossible to make it work unless you set LinkNewObjectToParentImmediately to false under Program.cs . But in this case there won't be any relationship between objects. You can override action by adding new controller but it is also useless in your case because there must an existing customer to link new invoice to.