Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008648Openbravo ERP07. Sales managementpublic2009-04-07 08:442009-05-11 11:10
sureshbabu 
AinhoaPagola 
urgentmajoralways
closedfixed 
30
2.50beta 
2.40MP4 
Core
No
0008648: when invoice is generated through Generate invoice process, the attribute value is not retreived from Sales order.
when invoice is generated through Generate invoice process for a sales order in which product is associated with an attribute. After i run the process i opened the invoice document to verify the document details where i find the Attribute field is blank instead of a value from Sales order.



Note: same issue applies when invoice is generated through create invoice from
orders.

Kindly refer the screen shot for details.
Step 1: Complete a sales order with valid details and select a product <hat> and attribute as medium.
Sales Management || Transactions || Sales Order || Header


Step 2: Create Goods shipment by moving to Sales Management || Transactions || Goods Shipment || Header


Step 3: generate Sales invoice using Sales Management || Transactions ||Generate invoice option.

"Process completed successfully" message appears with a invoice id


Step 4: Open the above created invoice document and verify the details.

Attribute field is blank instead of value 'medium'.
Sales Management || Transactions || Sales Invoice || Header >> Lines
No tags attached.
blocks defect 0008473 closed gorkaion when invoice is generated through Generate invoice process, the attribute value is not retreived from Sales order. 
Issue History
2009-04-20 18:53psarobeTypedefect => backport
2009-04-20 18:53psarobefix_in_branch => 2.40
2009-04-22 17:52rafarodaAssigned Torafaroda => gorkaion
2009-04-27 16:11AinhoaPagolaAssigned Togorkaion => AinhoaPagola
2009-04-27 16:26hgbotCheckin
2009-04-27 16:26hgbotNote Added: 0015801
2009-04-27 16:26hgbotStatusscheduled => resolved
2009-04-27 16:26hgbotResolutionopen => fixed
2009-04-27 16:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/31b48b3c0c1da6fd114a06636a98b53cbc4d79b1 [^]
2009-05-10 19:37psarobeFixed in Version => 2.40MP4
2009-05-11 11:10arunkumarStatusresolved => closed
2009-05-11 11:10arunkumarNote Added: 0016246

Notes
(0015801)
hgbot   
2009-04-27 16:26   
Repository: erp/stable/2.40
Changeset: 31b48b3c0c1da6fd114a06636a98b53cbc4d79b1
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Mon Apr 27 16:24:41 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/31b48b3c0c1da6fd114a06636a98b53cbc4d79b1 [^]

Fixes bug 8648: Attribute retreived from Slaes order in Generate Invoice Process

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
---
(0016246)
arunkumar   
2009-05-11 11:10   
This issue has been fixed.