Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038459Openbravo ERP04. Warehouse managementpublic2018-04-26 18:192018-05-09 19:30
ngarcia 
collazoandy4 
urgentmajoralways
closedfixed 
5
 
3.0PR18Q3 
aferraz
Core
No
0038459: Total Stock Valuation should be rounded to 2 in Product - Costing tab as it is the sum of the cost of the transactions
Total Stock Valuation should be rounded to 2 in Product - Costing tab as it is the sum of the cost of the transactions
As group admin role:
   Create a new product
   Create a Physical Inventory
   Add 1 unit of the previously created product
   Set a cost of 0.6515
   Process it
   Schedule the Costing Background Process to be run immediately
   Check the cost of the transaction is 0.65
   Check the Total Stock Valuation is 0.6515

   The case happens with different warehouse documents that modify average cost
No tags attached.
Issue History
2018-04-26 18:19ngarciaNew Issue
2018-04-26 18:19ngarciaAssigned To => Triage Finance
2018-04-26 18:19ngarciaModules => Core
2018-04-26 18:19ngarciaResolution time => 1526508000
2018-04-26 18:19ngarciaTriggers an Emergency Pack => No
2018-05-03 11:11ngarciaIssue Monitored: networkb
2018-05-03 18:27dmiguelezAssigned ToTriage Finance => collazoandy4
2018-05-03 23:16collazoandy4Statusnew => scheduled
2018-05-08 02:37collazoandy4Note Added: 0104316
2018-05-09 12:38hgbotCheckin
2018-05-09 12:38hgbotNote Added: 0104347
2018-05-09 12:38hgbotStatusscheduled => resolved
2018-05-09 12:38hgbotResolutionopen => fixed
2018-05-09 12:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/79807592bb8318143cb5a787b5126737a9be697b [^]
2018-05-09 12:39hgbotCheckin
2018-05-09 12:39hgbotNote Added: 0104348
2018-05-09 12:40aferrazReview Assigned To => aferraz
2018-05-09 12:40aferrazNote Added: 0104351
2018-05-09 12:40aferrazStatusresolved => closed
2018-05-09 12:40aferrazFixed in Version => 3.0PR18Q3
2018-05-09 13:30hgbotCheckin
2018-05-09 13:30hgbotNote Added: 0104354
2018-05-09 19:30hudsonbotCheckin
2018-05-09 19:30hudsonbotNote Added: 0104437
2018-05-09 19:30hudsonbotCheckin
2018-05-09 19:30hudsonbotNote Added: 0104438
2018-05-09 19:30hudsonbotCheckin
2018-05-09 19:30hudsonbotNote Added: 0104439

Notes
(0104316)
collazoandy4   
2018-05-08 02:37   
Test Plan
  Create a new Product and a sales price list
  Create a new Physical Inventory, add 1 unit of the previously created product and set a cost of 0.6515
  Schedule the Costing Background Process to be run immediately
   Check the cost of the transaction is 0.65
   Check the Total Stock Valuation is 0.65
(0104347)
hgbot   
2018-05-09 12:38   
Repository: erp/devel/pi
Changeset: 79807592bb8318143cb5a787b5126737a9be697b
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Fri May 04 10:13:22 2018 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/79807592bb8318143cb5a787b5126737a9be697b [^]

Fixes issue 38459:Total Stock Valuation should be rounded to 2 in Costing tab
as it is the sum of the cost of the transactions

The Total Stock Valuation is now rounded to currency cost precision

---
M src/org/openbravo/costing/AverageAlgorithm.java
---
(0104348)
hgbot   
2018-05-09 12:39   
Repository: erp/devel/pi
Changeset: 94997b80fc7097774f636cbd663b70f90ad7ec1e
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed May 09 12:25:30 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/94997b80fc7097774f636cbd663b70f90ad7ec1e [^]

Related to issue 38459: Update copyright

---
M src/org/openbravo/costing/AverageAlgorithm.java
---
(0104351)
aferraz   
2018-05-09 12:40   
Code review + Testing OK
(0104354)
hgbot   
2018-05-09 13:30   
Repository: erp/devel/pi
Changeset: a8dc1bea4612a885ee842d4fdcaab0a2b367fa41
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed May 09 13:30:44 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a8dc1bea4612a885ee842d4fdcaab0a2b367fa41 [^]

Related to issue 38459: Use currency standard precision instead of costing precision

---
M src/org/openbravo/costing/AverageAlgorithm.java
---
(0104437)
hudsonbot   
2018-05-09 19:30   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2be7d3efe606 [^]
Maturity status: Test
(0104438)
hudsonbot   
2018-05-09 19:30   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2be7d3efe606 [^]
Maturity status: Test
(0104439)
hudsonbot   
2018-05-09 19:30   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2be7d3efe606 [^]
Maturity status: Test