Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032935
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2016-05-11 17:392018-01-26 10:51
ReporterngarciaView Statuspublic 
Assigned Tomarkmm82 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision408ed751de81
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032935: Data is pending to be created in M_STORAGE_PENDING by the Fix Stock process

DescriptionData is pending to be created in M_STORAGE_PENDING by the Fix Stock process. The problem is the m_product_uom_id is passed to the convertUOM function instead of the c_uom_id
Steps To ReproduceAs system admin role:
   Set as Displayed the fields related with second UOM feature:
      Order UOM
      Order Quantity
   Set as Active the tabs used in that feature:
      Product - UOM
      Unit Of Measure - Conversion
   Install the org.openbravo.module.fixstock module (it is not available in the module management window, it is on https://code.openbravo.com/erp/pmods [^] [^] repository)
As group admin role:
   Create a product
   Add a new unit in the UOM tab
   Configure the conversion between both of them
   Add a purchase price to it
   Add a new product
   Do not set a UOM to it
   Add a purchase price to it
   Create a purchase order and add the previously created products
   You should fill the Order Quantity and Order UOM fields to one of them
   Book it
   Create a partial goods receipt from it
   Check there is an entry in the m_storage_pending for that product
   Go to Process Request window and launch the Fix Stock process
   Check there is no entry in the m_storage_pending for these products
Proposed SolutionAttached a possible patch
TagsFix Stock
Attached Filesdiff file icon 32395.diff [^] (27,866 bytes) 2016-05-11 18:07 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0032943 closedmarkmm82 'Fix Stock QuantityOrder Process' should round the Order quantity of the opening physical inventory to the std precision 
depends on defect 0032934 closedmarkmm82 Wrong definition of convertUOM function in RestoreStockValue_data.xsql 
related to defect 0032951 closedalostale Fix Stock process rounds the quantities to 6 decimals and it should not 

-  Notes
(0086625)
hgbot (developer)
2016-05-20 15:13

Repository: erp/pmods/org.openbravo.module.fixstock
Changeset: 408ed751de816784e82cff02effc965d64cbdc99
Author: Mark <markmm82 <at> gmail.com>
Date: Sun May 15 19:15:17 2016 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.fixstock/rev/408ed751de816784e82cff02effc965d64cbdc99 [^]

Fixes issue 32934 & Fixes issue 32935: Error in Fix Stock process

Data is created in M_STORAGE_PENDING by the Fix Stock process.
The c_uom_id is passed to the convertUOM function instead of the m_product_uom_id.
Correct definition of convertUOM function in RestoreStockValue_data.xsql.

---
M src/org/openbravo/module/fixstock/RestoreStockValue.java
M src/org/openbravo/module/fixstock/RestoreStockValue_data.xsql
---
(0086626)
hgbot (developer)
2016-05-20 15:13

Repository: erp/pmods/org.openbravo.module.fixstock
Changeset: ecf2f1a3e01131293400e46bb62f3e243516762d
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri May 20 14:21:07 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.fixstock/rev/ecf2f1a3e01131293400e46bb62f3e243516762d [^]

Related to issue 32935: Code review improvements

---
M src/org/openbravo/module/fixstock/RestoreStockValue.java
---
(0086628)
hgbot (developer)
2016-05-20 15:13

Repository: erp/pmods/org.openbravo.module.fixstock
Changeset: d3c9a8b3561c70b89f6de33faf318dc04c6165e3
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri May 20 15:12:58 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.fixstock/rev/d3c9a8b3561c70b89f6de33faf318dc04c6165e3 [^]

Related to issue 32934 & Related to issue 32935: Update module version

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0086630)
aferraz (manager)
2016-05-20 15:14

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2016-05-11 17:39 ngarcia New Issue
2016-05-11 17:39 ngarcia Assigned To => Triage Finance
2016-05-11 17:39 ngarcia Modules => Core
2016-05-11 17:39 ngarcia Resolution time => 1466200800
2016-05-11 17:39 ngarcia Triggers an Emergency Pack => No
2016-05-11 17:39 ngarcia Relationship added depends on 0032934
2016-05-11 17:39 ngarcia Issue Monitored: networkb
2016-05-11 17:43 ngarcia File Added: 32935.diff
2016-05-11 18:03 aferraz Assigned To Triage Finance => markmm82
2016-05-11 18:06 ngarcia File Deleted: 32935.diff
2016-05-11 18:07 ngarcia File Added: 32395.diff
2016-05-16 13:26 aferraz Relationship added related to 0032951
2016-05-16 13:26 aferraz Relationship added related to 0032943
2016-05-20 15:13 hgbot Checkin
2016-05-20 15:13 hgbot Note Added: 0086625
2016-05-20 15:13 hgbot Status new => resolved
2016-05-20 15:13 hgbot Resolution open => fixed
2016-05-20 15:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.fixstock/rev/408ed751de816784e82cff02effc965d64cbdc99 [^]
2016-05-20 15:13 hgbot Checkin
2016-05-20 15:13 hgbot Note Added: 0086626
2016-05-20 15:13 hgbot Checkin
2016-05-20 15:13 hgbot Note Added: 0086628
2016-05-20 15:14 aferraz Review Assigned To => aferraz
2016-05-20 15:14 aferraz Note Added: 0086630
2016-05-20 15:14 aferraz Status resolved => closed
2018-01-26 10:51 ngarcia Tag Attached: Fix Stock


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker