Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020674Openbravo ERP07. Sales managementpublic2012-06-04 18:112012-06-06 11:08
mirurita 
mirurita 
immediatemajoralways
closedfixed 
20Community Appliance
 
3.0MP123.0MP12 
Core
No
0020674: Return From Customer - Insert Orphan Line: you cannot create lines with products that are not item or not stocked
You cannot create orphan lines on Return from Customer for products configured as non-item or stocked='N'

The process fails:
Chosen attribute value null has not been used by product Telefonía. Please select another one.
1) Create a new Return from Customer
   - Org: F&B España - Región Norte
   - Business Partner: Alimentos y Supermercados, S.A
2) Create a new preference
   - Org: *
   - Property: RM Allow Orphan Line
   - Value: Y
3) Logout and login again
4) Click on Insert Orphan Line
   - Select a product which is service: Telefonía
   - Returned: 1
5) Error:
Chosen attribute value null has not been used by product Telefonía. Please select another one
1) Create a new Return from Customer
   - Org: F&B España - Región Norte
   - Business Partner: Alimentos y Supermercados, S.A
2) Click on Pick/Edit Lines
3) Click on Insert Orphan Line
   - Select a product which is service: Telefonía
   - Returned: 1
4) Error:
Chosen attribute value null has not been used by product Telefonía. Please select another one.
No tags attached.
png ReturnFromCustomer_attributeseterror.png (114,429) 2012-06-04 18:11
https://issues.openbravo.com/file_download.php?file_id=5277&type=bug
png
Issue History
2012-06-04 18:11miruritaNew Issue
2012-06-04 18:11miruritaAssigned To => mirurita
2012-06-04 18:11miruritaFile Added: ReturnFromCustomer_attributeseterror.png
2012-06-04 18:11miruritaModules => Core
2012-06-06 09:24hgbotCheckin
2012-06-06 09:24hgbotNote Added: 0049637
2012-06-06 09:24hgbotStatusnew => resolved
2012-06-06 09:24hgbotResolutionopen => fixed
2012-06-06 09:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a8c622352a6df71a7bc4dd138c6f2fb33ca40d77 [^]
2012-06-06 11:08psarobeNote Added: 0049642
2012-06-06 11:08psarobeStatusresolved => closed
2012-06-06 11:08psarobeFixed in Version => 3.0MP12

Notes
(0049637)
hgbot   
2012-06-06 09:24   
Repository: erp/devel/pi
Changeset: a8c622352a6df71a7bc4dd138c6f2fb33ca40d77
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Jun 05 18:50:02 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a8c622352a6df71a7bc4dd138c6f2fb33ca40d77 [^]

Fixes issue 20682, Fixes issue 20674: Insert Orphan Line.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src-db/database/model/views/M_RM_RECEIPT_PICK_EDIT.xml
M src-db/database/sourcedata/AD_PROCESS_PARA.xml
M src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java
A src/org/openbravo/erpCommon/info/RMProductSelectorFilterExpression.java
---
(0049642)
psarobe   
2012-06-06 11:08   
Works fine