This is an automated email from the ASF dual-hosted git repository.
surajk pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new 0269e7b Improved: Sales Invoice creation should be limited for customer parties only. (OFBIZ-11023) Thanks Pierre Smits for reporting and Rohit Hukkeri for the patch
0269e7b is described below
commit 0269e7b05fc83841b99843783c247188963d2221
Author: Suraj Khurana <
[hidden email]>
AuthorDate: Wed Apr 29 17:05:04 2020 +0530
Improved: Sales Invoice creation should be limited for customer parties only.
(OFBIZ-11023)
Thanks Pierre Smits for reporting and Rohit Hukkeri for the patch
---
applications/accounting/widget/InvoiceForms.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/accounting/widget/InvoiceForms.xml b/applications/accounting/widget/InvoiceForms.xml
index 620f4c9..25691b4 100644
--- a/applications/accounting/widget/InvoiceForms.xml
+++ b/applications/accounting/widget/InvoiceForms.xml
@@ -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>