Wrong Bill from Vendor in Purchase Order created from Quote
-----------------------------------------------------------
Key: OFBIZ-1181
URL: https://issues.apache.org/jira/browse/OFBIZ-1181
Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: SVN trunk
Reporter: Bilgin Ibryam
Priority: Minor
Fix For: SVN trunk
Attachments: 1.patch, 2.patch
If you create a PO from product purchase quote, the BillFromVendorPartyId in
the PO is wrong. It usues billFromVendorPartyId =
productStore.getString("payToPartyId"); whisch is wrong for a PO.
I applied two patches.
1. This patch will apply the Quote party for PO BillFromVendorPartyId.
2. While creating the Quote, we have to add a party with BILL_FROM_VENDOR role
and it will be used fro PO BillFromVendorPartyId
Third option should be to apply both patches. Then the default
BillFromVendorPartyId will be the Quote party (the supplier) and if the user
adds a party with BILL_FROM_VENDOR role to quote roles, this party will
override the default one. In all cases it will be possible to set the right
BillFromVendorPartyId in the PO.
Regards,
Bilgin Ibryam
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.