Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007370Openbravo ERP08. Project and service managementpublic2009-02-04 16:422009-03-06 09:01
AinhoaPagola 
AinhoaPagola 
normaltrivialhave not tried
closedfixed 
20Ubuntu 8.4
 
2.50 
Core
No
0007370: An extra comma is displayed when creating Purchase Order from Project
I run the Create Purchase Order from Project. The displayed message is:
      
Process completed successfully
Document No.: , 800012

Note that there is a misplaced ","

# Go to Project & Service Management->Transactions->Service Project
# Click New and fill:
    * Search Key: sca
    * Name: Service Project for Customer A
    * Create Temporary Price List: N (un-checked)
# Move to Project Line tab.
# Click New and fill:
    * Product: A Final goods
    * Planned Quantity: 10
    * Tax: Do not select a tab (is not a mandatory field)
    * Planned Price: 1.75 and verify Planned Amount is 17.5
    * Planned Purchase Price: 1.2
# Go back to Service Project tab.
# Select Service Project for Customer A and edit:
    * Business Partner: CUSTOMER A
    * Sales Representative: Eduard
# Save and click on Change Project Status button and select Order.
# Verify that:
    * Project Status is Order.
    * Price List is CUSTOMER A.
# Move to Supplier tab.
# Click New and fill:
    * Business partner: Vendor A
# Verify that Price List is PURCHASE.
# Save and click on Create Purchase Order from Project.
The message is displayed with the extra comma.
Modify c_generatepofromproject as it's been done in the related issue.
comsup_sprint5
related to defect 0006987 closed AinhoaPagola An extra comma is displayed when creating Sales Order from a Project Phase 
has duplicate defect 0010121 closed rafaroda comma is displayed in front of the document number if we create purchase or sales order in project service 
Issue History
2009-02-04 16:42AinhoaPagolaNew Issue
2009-02-04 16:42AinhoaPagolaAssigned To => rafaroda
2009-02-04 16:42AinhoaPagolasf_bug_id0 => 2564369
2009-02-04 16:42AinhoaPagolaRegression testing => No
2009-02-04 16:42AinhoaPagolaAssigned Torafaroda => AinhoaPagola
2009-02-04 16:42AinhoaPagolaRelationship addedrelated to 0006987
2009-02-04 17:24AinhoaPagolaStatusnew => scheduled
2009-02-04 17:24AinhoaPagolafix_in_branch => trunk
2009-02-04 17:25AinhoaPagolafix_in_branchtrunk =>
2009-02-04 17:25AinhoaPagolaSteps to Reproduce Updated
2009-02-04 17:26AinhoaPagolaNote Added: 0013153
2009-02-04 17:37svnbotCheckin
2009-02-04 17:37svnbotNote Added: 0013156
2009-02-04 17:37svnbotStatusscheduled => resolved
2009-02-04 17:37svnbotResolutionopen => fixed
2009-02-04 17:37svnbotsvn_revision => 12788
2009-02-06 16:01AinhoaPagolaTag Attached: comsup_sprint5
2009-03-06 09:01sureshbabuStatusresolved => closed
2009-03-06 09:01sureshbabuNote Added: 0014470
2009-03-06 09:01sureshbabuFixed in Version => 2.50
2009-08-31 15:38rafarodaRelationship addedhas duplicate 0010121

Notes
(0013153)
AinhoaPagola   
2009-02-04 17:26   
Same issue affects c_generatesofromprojectorder and c_generatesofromproject.
(0013156)
svnbot   
2009-02-04 17:37   
Repository: openbravo
Revision: 12788
Author: AinhoaPagola
Date: 2009-02-04 17:37:29 +0100 (Wed, 04 Feb 2009)

Fixes bug 0007370. Extra comma generating PO or SO from projects.

---
U trunk/src-db/database/model/functions/C_GENERATEPOFROMPROJECT.xml
U trunk/src-db/database/model/functions/C_GENERATESOFROMPROJECT.xml
U trunk/src-db/database/model/functions/C_GENERATESOFROMPROJECTORDER.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12788&sc=1 [^]
(0014470)
sureshbabu   
2009-03-06 09:01   
Retested working fine