I am trying to create a managed package version, but getting the below error. I can see the QuoteSetting is enabled in my project-scratch-def.json. I know that this will anyway not getting executed while creating the package version, But is there any way we can enable it inside the sfdx-project.json file or did I miss anything? Quote__c is actually a lookup for Address object.
Address.Quote__c: referenceTo value of 'Quote' does not resolve to a valid sObject type
Quote-Quote Layout: Parent entity failed to deploy
Quote.CreateAddress: Invalid object name Quote.CreateAddress
Test_PS: In field: field - no CustomField named Address.Quote__c found
My sfdx-project.json file
{
"packageDirectories": [
{
"path": "force-app-core",
"default": true,
"package": "app_core",
"versionNumber": "1.1.0.NEXT"
}
],
"namespace": "app_core",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "50.0",
"packageAliases": {
"app_core": "0Ho......",
"[email protected]": "04t......",
"[email protected]": "04t......"
}
}
project-scratch-def.json file
{
"orgName": "Test Core App",
"edition": "Developer",
"features": [
"Communities",
"EnablePRM",
"ForceComPlatform",
"PersonAccounts",
"Sites",
"StateAndCountryPicklist"
],
"settings": {
"communitiesSettings": {
"enableNetworksEnabled": true
},
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": true
},
"chatterSettings": {
"enableChatter": true
},
"quoteSettings": {
"enableQuote" : true
}
}
}