I have simple lightning component that is using [`lighting:recordEditForm`](https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_lightning_recordEditForm.htm) and input fields on Quote object. This quote object is custom, as CPQ is implemented in the system.

**Component**

```
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >       
    <lightning:recordEditForm recordId="{! v.recordId }" objectApiName="Quote">
        <div class="slds-box slds-theme_default">
            <lightning:messages />
            <lightning:inputField fieldName="BDM_Approved__c" />
            <lightning:inputField fieldName="BDM_Approval_Comments__c" />
            <lightning:button class="slds-m-top_small" variant="brand" type="submit" name="update" label="Update" />
        </div>
    </lightning:recordEditForm>
</aura:component>

```

**Error**

I am receiving an error when I test the component 

> 
> Cannot read property 'defaultRecordTypeId' of undefined
> 
> 
> 

Recordtype: I don't have any record types on Quote object and documentation clearly specifies, `recordTypeId` attribute is **required** only if I have multiple record types on the object.

`recordTypeId` The ID of the record type, which is required if youcreated multiple record types but don't have a default.