Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008473Openbravo ERP07. Sales managementpublic2009-04-07 08:442009-05-09 00:00
sureshbabu 
gorkaion 
urgentmajoralways
closedfixed 
30
2.50beta 
2.50MP1 
Core
No
0008473: 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
250 final review, 250MP1
depends on backport 0008648 closed AinhoaPagola when invoice is generated through Generate invoice process, the attribute value is not retreived from Sales order. 
jpg Attribute details are not set in the sales invoice, when sales invoice is generated trhough Generate Invoice process.JPG (188,525) 2009-04-07 08:44
https://issues.openbravo.com/file_download.php?file_id=1138&type=bug
jpg
Issue History
2009-04-07 08:44sureshbabuNew Issue
2009-04-07 08:44sureshbabuAssigned To => rafaroda
2009-04-07 08:44sureshbabuFile Added: Attribute details are not set in the sales invoice, when sales invoice is generated trhough Generate Invoice process.JPG
2009-04-07 08:44sureshbabuRegression testing => No
2009-04-07 08:44sureshbabuTag Attached: 250 final review
2009-04-20 18:51psarobePrioritynormal => urgent
2009-04-20 18:51psarobeSeverityminor => major
2009-04-20 18:53psarobeStatusnew => scheduled
2009-04-20 18:53psarobeAssigned Torafaroda => gorkaion
2009-04-20 18:53psarobefix_in_branch => pi
2009-04-23 16:05psarobeTag Attached: 250MP1
2009-04-27 16:09hgbotCheckin
2009-04-27 16:09hgbotNote Added: 0015799
2009-04-27 16:09hgbotStatusscheduled => resolved
2009-04-27 16:09hgbotResolutionopen => fixed
2009-04-27 16:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5f72980f59c8c724a47a28dfa8d931db3c1f99a9 [^]
2009-05-08 17:22psarobeStatusresolved => closed
2009-05-09 00:00anonymoussf_bug_id0 => 2789236

Notes
(0015799)
hgbot   
2009-04-27 16:09   
Repository: erp/devel/pi
Changeset: 5f72980f59c8c724a47a28dfa8d931db3c1f99a9
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Mon Apr 27 13:17:46 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5f72980f59c8c724a47a28dfa8d931db3c1f99a9 [^]

Fixes bug 8473: Attribute value retrieved form sales order in Generate invoice process

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
---