You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2012/03/06 11:54:36 UTC
svn commit: r1297416 - in /ofbiz/trunk:
applications/accounting/data/DemoPaymentsInvoices.xml
specialpurpose/ecommerce/ofbiz-component.xml
Author: lektran
Date: Tue Mar 6 10:54:36 2012
New Revision: 1297416
URL: http://svn.apache.org/viewvc?rev=1297416&view=rev
Log:
Demo data bugfix: productTypeId is a required field of Product and records shouldn't be put into the db without supplying a value for it.
Modified:
ofbiz/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml
Modified: ofbiz/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoPaymentsInvoices.xml?rev=1297416&r1=1297415&r2=1297416&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/data/DemoPaymentsInvoices.xml (original)
+++ ofbiz/trunk/applications/accounting/data/DemoPaymentsInvoices.xml Tue Mar 6 10:54:36 2012
@@ -159,8 +159,8 @@ under the License.
<!-- Demo invoice data for sales invoice with INVOICE_PAID status -->
<Party partyId="DemoCustAgent"/>
<PartyRole partyId="DemoCustAgent" roleTypeId="SALES_REP"/>
- <Product productId="WG-9943"/>
- <Product productId="WG-9943-B3"/>
+ <Product productId="WG-9943" productTypeId="FINISHED_GOOD"/>
+ <Product productId="WG-9943-B3" productTypeId="FINISHED_GOOD"/>
<Agreement agreementId="8000" partyIdFrom="Company" partyIdTo="DemoCustAgent" agreementTypeId="COMMISSION_AGREEMENT" description="Commission Agreement with DemoCustAgent"/>
<AgreementItem agreementId="8000" agreementItemSeqId="0001" agreementItemTypeId="AGREEMENT_COMMISSION" currencyUomId="USD" agreementText="Commission in USD"/>
Modified: ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml?rev=1297416&r1=1297415&r2=1297416&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml Tue Mar 6 10:54:36 2012
@@ -27,7 +27,6 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceTypeData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceSecurityData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProduct.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductImages.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoSurvey.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRentalShipping.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoShipping.xml"/>
@@ -40,6 +39,7 @@ under the License.
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRelatedData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoConfigurator.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRentalProduct.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductImages.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoTaxAuthority.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoOrderPeopleData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoOrderTestData.xml"/>