When attempting to update our managed package in a subscriber org the install is failing with the following message:
Opportunities Missing Organization Feature: Opportunity.Sharing
That makes sense, as during packaging Opportunity Sharing is forced on as an Object Requirement.
I'm not 100% certain why that is forced on currently. I suspect it is related to explicitly referencing
The presence of explicit references to
Organization.DefaultOpportunityAccess in the test cases.
OpportunityShare in the test cases is what is forcing the setting on.
What isn't clear is what sharing settings are required in the subscriber org to meet the Organization.Sharing feature requirement?
They currently have the Sharing Settings Organization-Wide Defaults set to Public Read/Write for both Default Internal Access and Default External Access. Or is the problem related to the specific Opportunity Sharing Rules?