Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2020-03-24 13:232020-04-08 09:55
Reportersanti_lozanoView Statuspublic 
Assigned Toinigo_lerga 
PriorityhighResolutionfixedFixed in VersionPR20Q3
StatusclosedFix in branchFixed in SCM revision0fcd14a364f0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
Regression levelProduction - Confirmed Stable
Regression date2016-04-23
Regression introduced in release3.0PR15Q1.2
Regression introduced by commit [^]
Triggers an Emergency PackNo

0043554: Costing Background Process is not creating necessary standard costs when costing rule has changed to be standard

DescriptionHaving average cost calculation for an organization, when changing the Costing Rule to be for standard and validating this rule, standard costs are not created with the next Costing Background Process. Neither if we do an Inventory Amount Update.
Steps To Reproduce* Go to Openbravo livebuilds latest version without modules, access with role F&B International Group [^]
* Go to Costing Rules tab, check that there are only two entries, one for each Organization and both for Costing Algorithm of type Average Algorithm
* Create a new one: Organization = F&B España, S.A., Costing Algorithm = Standard Algorithm. Leave the resting fields with their default values
* Click on button Validate Costing Rule
* Go to window Process Request, select the Costing Background Process. Go to its Process Monitor tab, every 5 minutes a new entry should appear here, wait for the new one to appear (refresh tab if necessary). There is a message on the log “No standard cost defined for given product and date. Org:F&B España, S.A, Product: Zumo de Naranja Bio 0,33L” when it should be creating this cost
* Go back to Costing Rules, select the created one. Go to Initialization tab, select line for España Región Sur, click on link Init Inventory. Get one Product name that appears here on lines (ie: Limonada)
* Go to Product window, search for that product (Limonada), go to tab Costing, add filter to search for Standard on Cost Type column. Notice that there is no standard cost here created.
* Go to Inventory Amount Update window. Create a new one for Organization F&B España, S.A. On Lines create a new one for that previous product (Limonada), set a new Unit Cost, for example 1.5. Click on button Process. Wait for the Costing Background Process to be executed. Check again for that product if there exist Standard Cost (nothing created here neither)
TagsNo tags attached.
Attached Filespng file icon 001.png [^] (111,288 bytes) 2020-03-24 13:24

png file icon 002.png [^] (129,086 bytes) 2020-03-24 13:24

png file icon 003.png [^] (76,496 bytes) 2020-03-24 13:24

png file icon 004.png [^] (88,384 bytes) 2020-03-24 13:24

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
inigo_lerga (developer)
2020-04-02 11:45

--Test Plan Mantis--
As the F&B International Group Admin role:
  - Go to the Process request window and open the Costing Background Process record.
    Press the Unschedule Process button.
  - Create a new record with every field as default. Put "Costing Background Process"
    in the Process field.
  - Go to the Costing Rules window and create a new record for Organization "F&B España, S.A"
    and "Standard Algorithm" as Costing Algorith.
    Press the Validate Costing Rule and Done in the popup window.
  - Go back to the Process request window and press the Schedule Process in the previously
    created record.

    #In this moment the necessary standard costs are generated#
hgbot (developer)
2020-04-08 09:54

Repository: erp/devel/pi
Changeset: 0fcd14a364f0b6e52d5a79926ca63ddeb4b2f047
Author: Iñigo Lerga <inigo.lerga <at>>
Date: Thu Apr 02 11:37:33 2020 +0200
URL: [^]

fixes BUG-43554:Std costs are now created when enabling std costing rule

M src/org/openbravo/costing/
M src/org/openbravo/costing/
M src/org/openbravo/costing/
dmiguelez (developer)
2020-04-08 09:55

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2020-03-24 13:23 santi_lozano New Issue
2020-03-24 13:23 santi_lozano Assigned To => Triage Finance
2020-03-24 13:23 santi_lozano Modules => Core
2020-03-24 13:23 santi_lozano Triggers an Emergency Pack => No
2020-03-24 13:24 santi_lozano File Added: 001.png
2020-03-24 13:24 santi_lozano File Added: 002.png
2020-03-24 13:24 santi_lozano File Added: 003.png
2020-03-24 13:24 santi_lozano File Added: 004.png
2020-03-24 15:51 inigo_lerga Assigned To Triage Finance => inigo_lerga
2020-03-24 15:51 inigo_lerga Status new => scheduled
2020-03-31 11:32 dmiguelez Regression level => Production - Confirmed Stable
2020-03-31 11:32 dmiguelez Regression date => 2016-04-23
2020-03-31 11:32 dmiguelez Regression introduced in release => 3.0PR15Q1.2
2020-03-31 11:32 dmiguelez Regression introduced by commit => [^]
2020-04-02 11:45 inigo_lerga Note Added: 0118918
2020-04-08 09:54 hgbot Checkin
2020-04-08 09:54 hgbot Note Added: 0119088
2020-04-08 09:54 hgbot Status scheduled => resolved
2020-04-08 09:54 hgbot Resolution open => fixed
2020-04-08 09:54 hgbot Fixed in SCM revision => [^]
2020-04-08 09:55 dmiguelez Review Assigned To => dmiguelez
2020-04-08 09:55 dmiguelez Note Added: 0119089
2020-04-08 09:55 dmiguelez Status resolved => closed
2020-04-08 09:55 dmiguelez Fixed in Version => 3.0PR20Q3

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker