Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008377Openbravo ERP03. Procurement managementpublic2009-04-01 12:272012-09-13 10:43
sureshbabu 
dmiguelez 
normalminoralways
scheduledopen 
30
2.50beta 
 
Core
No
0008377: Not able to generate Receipt using 'Generate Receipt from invoice' process if the product is associated with an attribute set
Not able to generate Receipt using 'Generate Receipt from invoice' process if the product is associated with an attribute set, system throws error message as "Error:In line 10 the product has no attribute set"

1) Move to Procurement Management || Transactions || Purchase Order || Header
enter all the required details move to lines tab and select any product associated with an attribute set & enter qty =10
Move to header and click complete button.

2) Create a receipt for the above created PO with qty =10

3) Generate invoice for the above created PO with qty = 20 (more than the goods received.)

4) Try to generate receipt for the remaining qty (i.e. 10) using Generate Receipt from Invoice button ..

Actual result: System throws error message as "Error:In line 10 the product has no attribute set"

Expected result: Process completed successfully message should appear with Invoice ID.





250 final review, comsupchennai_sprint5, OB3-Reviewed
related to defect 0008472 closed AinhoaPagola User not able to create goods shipment using Generate Shipments process when SO Product is associated with an attribute. 
jpg Generate receipt from invoice fails if the product associated with an attribute set.JPG (204,017) 2009-04-01 12:27
https://issues.openbravo.com/file_download.php?file_id=1098&type=bug
jpg
Issue History
2009-04-01 12:27sureshbabuNew Issue
2009-04-01 12:27sureshbabuAssigned To => rafaroda
2009-04-01 12:27sureshbabuFile Added: Generate receipt from invoice fails if the product associated with an attribute set.JPG
2009-04-01 12:27sureshbabuRegression testing => No
2009-04-01 12:28sureshbabuTag Attached: 250 final review
2009-04-01 16:15psarobeSeveritymajor => minor
2009-04-01 16:15psarobeStatusnew => scheduled
2009-04-01 16:15psarobeProposed Solution updated
2009-05-04 10:38AinhoaPagolaAssigned Torafaroda => sathiyan
2009-05-04 10:40AinhoaPagolaRelationship addedrelated to 0008472
2009-05-04 14:30sathiyanAssigned Tosathiyan => jayakumar
2009-05-07 08:57hgbotCheckin
2009-05-07 08:57hgbotNote Added: 0016119
2009-05-07 08:57hgbotStatusscheduled => resolved
2009-05-07 08:57hgbotResolutionopen => fixed
2009-05-07 08:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e654944b96134c42b82be386fe80843a33765876 [^]
2009-05-07 08:58jayakumarTag Attached: comsupchennai_sprint5
2009-06-02 10:36sureshbabuNote Added: 0016843
2009-06-05 14:08sureshbabuAssigned Tojayakumar => rafaroda
2009-06-05 14:20sureshbabuNote Added: 0017019
2009-06-05 14:23sureshbabuStatusresolved => new
2009-06-05 14:23sureshbabuResolutionfixed => open
2009-06-05 14:23sureshbabuNote Added: 0017020
2009-06-05 14:23sureshbabuNote Deleted: 0017019
2009-06-08 08:57psarobeStatusnew => scheduled
2009-06-08 08:57psarobefix_in_branch => pi
2010-02-11 18:05rafarodaAssigned Torafaroda => adrianromero
2011-06-03 11:00dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:11dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-10-28 11:51psarobeTypedefect => design defect
2011-10-28 11:51psarobefix_in_branchpi =>
2011-10-28 11:51psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2849#r2849
2011-10-28 11:51psarobeTag Attached: OB3-Reviewed
2012-09-13 10:43jonalegriaesarteAssigned Tojonalegriaesarte => dmiguelez

Notes
(0016119)
hgbot   
2009-05-07 08:57   
Repository: erp/devel/pi
Changeset: e654944b96134c42b82be386fe80843a33765876
Author: Jayakumar Kasinathan <jayakumar.kasinathan <at> openbravo.com>
Date: Thu May 07 00:30:15 2009 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/e654944b96134c42b82be386fe80843a33765876 [^]

Fixes bug 8377 Not able to generate Receipt using 'Generate Receipt from invoice' process if the product is associated with an attribute set.

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0016843)
sureshbabu   
2009-06-02 10:36   
Hi Rafa,

The root cause of this issue is in purchase invoice||line items tab where we do not have field 'Attribute set value', because of this when we try to create a receipt using 'Generate Receipt from invoice' button, system throws error since attribute value is mandatory for products which are associated with attribute.
 

My suggestion is too add a field called 'Attribute set value' like the one in the Sales invoice.
(0017020)
sureshbabu   
2009-06-05 14:23   
Steps to reproduce this issue

1) Create and complete a Purchase order using below details (Procurement Management || Transactions || Purchase Order || Header )

Note: select any product which is associated with an attribute but keep the attribute field blank.

BP: Any BP
Product: <shirt>
Qty : 20
Attribute: Blank

2) Move to Procurement Management || Transactions || Goods Receipt || Header and create & complete a goods receipt for the above created Purchase order with the below given details.

Product: <shirt>
Qty : 20
Attribute: <small>

3) Create & complete a Purchase invoice for the above created Sales order.
Procurement Management || Transactions || Purchase Invoice || Header

4) Open the above created sales invoice in edit mode and click 'Generate receipt from invoice' button in the invoice header page

Actual result: System throws error message as "Error:In line 10 the product has no attribute set"