I have the following scenario: General entity: Car Specialized entities: Electric car Gas car This is all fine but when creating forms I am facing allot of duplicate fields. For example any properties belonging to the general entity needs a field in the specialized entity form. Hence you have 2 specialized forms with duplicate "Car" property fields. Is there a way to import a "partial" in a form to remove the duplicate's?
You can use snippets for this purpose. Here's a sample module you can download and import to your project - it should show you exactly how this can be done using a very similar example from your post.
Maybe you can use snippets to eliminate some of the duplication?
If electric car and gas car are specializations of Car, then all the attributes defined in Car are available automatically in the 2 specializations. You should not create them again separately in the 2 specializations.