Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037066Openbravo ERP03. Procurement managementpublic2017-01-03 14:292018-01-25 16:57
psanjuan 
nonofrancisco 
urgentmajoralways
closedfixed 
20Professional Appliance
 
3.0PR17Q4.13.0PR17Q4.1 
dmiguelez
Core
No
0037066: RTV shipment (Pick/Edit Lines) not properly working if Returned UOM is changed from Unit to Pallet.
RTV shipment (Pick/Edit Lines) not properly working if Returned UOM is changed from Unit to Pallet.
Log in as System Admin.
Go to preference window and create a new one with below setup:
Client = System
Organization = *
Property = Enable UOM Management
Value = Y
Visible at = empty for all

Go to Unit of Measure window and create a new one with below setup:
Organization = *
EDI Code = PA
Name = Pallet
Costing precision = Standard Precision = 2
Symbol = PA.

Log out and Log in.

Go to product window and create a new product for F&B España. Configure a purchase and a sales price list for it. Enter any price.
Go to "Alternate UOM" tab and create a new record with below setup:

UOM = Pallet
Conversion Rate = 10
Sales= Purchase = Primary
Logistics = Not Applicable.

Go to Purchase order and create a new one for F&B España, Bebidas Alegres business partner.
Go to lines and select the product just created. Enter an Operative Qty = 500 (pallets). 5000 Units.
Book the order.

Go to Goods Receipt and create a new one for F&B España, Bebidas Alegres business partner.
Use Create Lines from. Select the order and receipt all units in RN-0-0-0
Complete the receipt.

Go to Return to Vendor window and create a new one for F&B España, Bebidas Alegres business partner.
Click on Pick/Edit lines. Select the receipt just created and enter 50 in the field "Returned". Press Done.

Verify that Operative Qty shown = 50 (pallet) and Return = 500 Units.
Complete the order.

Go to Return to Vendor shipment window and create a new one for F&B España, Bebidas Alegres business partner.
Click on Pick/Edit lines. Select the RM order just created.

Verify that Ship Qty shows 500, and Returned UOM = Unit.

Change Ship Qty to 5, press tab key and change Returned UOM to Pallet.

Check that Ship Qty is "Automatically Updated" to 50, while 5 pallets need to be returned. See images attached.
Ship Qty does not need to be updated to 5, once Returned UOM is changed from Unit to Pallet.
No tags attached.
blocks defect 0034841 closed nonofrancisco RTV shipment (Pick/Edit Lines) not properly working if Returned UOM is changed from Unit to Pallet. 
Issue History
2017-10-13 15:13nonofranciscoTypedefect => backport
2017-10-13 15:13nonofranciscoTarget Version => 3.0PR17Q4
2017-12-28 09:24psanjuanTarget Version3.0PR17Q4 => 3.0PR17Q4.1
2018-01-25 16:56hgbotCheckin
2018-01-25 16:56hgbotNote Added: 0101967
2018-01-25 16:56hgbotStatusscheduled => resolved
2018-01-25 16:56hgbotResolutionopen => fixed
2018-01-25 16:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/f66c846ec385d2ad1408598178763619ce7f2656 [^]
2018-01-25 16:57dmiguelezReview Assigned To => dmiguelez
2018-01-25 16:57dmiguelezNote Added: 0101969
2018-01-25 16:57dmiguelezStatusresolved => closed
2018-01-25 16:57dmiguelezFixed in Version => 3.0PR17Q4.1

Notes
(0101967)
hgbot   
2018-01-25 16:56   
Repository: erp/backports/3.0PR17Q4.1
Changeset: f66c846ec385d2ad1408598178763619ce7f2656
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Mon Jan 22 12:49:49 2018 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/f66c846ec385d2ad1408598178763619ce7f2656 [^]

Fixes issue 37066: RTV shipment (Pick/Edit Lines) not properly working if
Returned UOM is changed from Unit to Pallet.

When changing Ship Qty and then returned Uom, just pending field is updated,
showing the pending quantity expressed in returned Uom.

Same behaviour in Return Material Receipt window.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/return-material/ob-return-material.js
---
(0101969)
dmiguelez   
2018-01-25 16:57   
Code Review + Testing Ok