Improved: Sales Invoice creation should be limited for customer parties only.
Thanks Pierre Smits for reporting and Rohit Hukkeri for the patch
@@ -259,7 +259,7 @@ under the License.
</entity-options>
</drop-down>
</field>
- <field position="2" name="partyIdTo" parameter-name="partyId" required-field="true"><lookup target-form-name="LookupPartyName"/></field>
+ <field position="2" name="partyIdTo" parameter-name="partyId" required-field="true"><lookup target-form-name="LookupCustomerName"/></field>
<field position="1" name="createButton" widget-style="smallSubmit" title="${uiLabelMap.CommonCreate}">
<submit button-type="button"/>
</field>
