Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042994 | Openbravo ERP | 04. Warehouse management | public | 2020-01-24 10:48 | 2020-01-30 11:09 |
|
Reporter | ngarcia | |
Assigned To | AtulOpenbravo | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR20Q2 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Packaging and release |
Regression date | 2019-12-05 |
Regression introduced in release | main |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/4f441ebb434f0b6fe5f1cb81583246b4f5223814 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0042994: Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed |
Description | Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed |
Steps To Reproduce | On F&B client.
1. Create a new organization (name: Org A) child of F&B España, S.A of type Organization.
2. Create a new organization (name: Generic) child of "Org A" of type Generic.
3. Create a new warehouse (name: Test WH) on "Org A" organization
3. Create a new Product (name: Test) of type item and stocked.
4. Create a physical inventory to initialize the stock of the product "Test" on the warehouse "Test WH" set a cost of 10 EUR before processing the inventory.
5. Ensure that the costing background process is executed and that the transaction of the physical inventory is calculated.
6. Go to Costing RUles window and create a new costing rule for F&B España, S.A
7. Try to validate it and check the following error message is shown:
The header document belongs to an organization where transactions are not allowed |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0042847 | | closed | AtulOpenbravo | Inventory Amount Update process tries to create Physical Inventories in organizations no trx allowed | depends on | backport | 0043002 | 3.0PR20Q1 | closed | AtulOpenbravo | Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed | caused by | defect | 0042398 | | closed | collazoandy4 | When validating a new costing rule, physical inventories should be created in the warehouse's organization | related to | backport | 0043003 | 3.0PR19Q4.2 | closed | AtulOpenbravo | Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed | related to | backport | 0043004 | 3.0PR19Q3.4 | closed | AtulOpenbravo | Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-01-24 10:48 | ngarcia | New Issue | |
2020-01-24 10:48 | ngarcia | Assigned To | => Triage Finance |
2020-01-24 10:48 | ngarcia | OBNetwork customer | => No |
2020-01-24 10:48 | ngarcia | Modules | => Core |
2020-01-24 10:48 | ngarcia | Triggers an Emergency Pack | => No |
2020-01-24 10:49 | ngarcia | Relationship added | caused by 0042398 |
2020-01-24 10:50 | ngarcia | Relationship added | related to 0042847 |
2020-01-24 13:41 | AtulOpenbravo | Status | new => scheduled |
2020-01-24 13:41 | AtulOpenbravo | Assigned To | Triage Finance => AtulOpenbravo |
2020-01-24 16:57 | AtulOpenbravo | Regression date | => 2019-12-05 |
2020-01-24 16:57 | AtulOpenbravo | Regression introduced in release | => pi |
2020-01-24 16:57 | AtulOpenbravo | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/4f441ebb434f0b6fe5f1cb81583246b4f5223814 [^] |
2020-01-24 16:57 | AtulOpenbravo | Regression level | => Production - QA Approved |
2020-01-27 03:47 | AtulOpenbravo | Note Added: 0117242 | |
2020-01-28 09:30 | AtulOpenbravo | Regression level | Production - QA Approved => Packaging and release |
2020-01-28 09:30 | AtulOpenbravo | Regression introduced in release | pi => main |
2020-01-28 09:32 | AtulOpenbravo | Relationship deleted | depends on 0043004 |
2020-01-28 09:33 | AtulOpenbravo | Relationship deleted | depends on 0043003 |
2020-01-30 10:19 | dmiguelez | Relationship added | related to 0043003 |
2020-01-30 10:22 | dmiguelez | Relationship added | related to 0043004 |
2020-01-30 11:07 | hgbot | Checkin | |
2020-01-30 11:07 | hgbot | Note Added: 0117356 | |
2020-01-30 11:07 | hgbot | Status | scheduled => resolved |
2020-01-30 11:07 | hgbot | Resolution | open => fixed |
2020-01-30 11:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/82b3930f899dd00dff2170b0c0c61ea07bf8ca71 [^] |
2020-01-30 11:08 | hgbot | Checkin | |
2020-01-30 11:08 | hgbot | Note Added: 0117357 | |
2020-01-30 11:09 | dmiguelez | Review Assigned To | => dmiguelez |
2020-01-30 11:09 | dmiguelez | Note Added: 0117359 | |
2020-01-30 11:09 | dmiguelez | Status | resolved => closed |
2020-01-30 11:09 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
Notes |
|
|
Test Plan
- Login as F&B International Group Admin role.
- Using Initial Organization Setup, create a new organization (name: Org A) child of F&B España, S.A of type Organization, set Include Accounting File or Accounting Reference Data = No.
- Navigate to Organization window, set above Organization summary flag = Yes and set it as ready.
- Similarly create a new organization (name: Generic) child of "Org A" of type Generic, set this organization as ready.
- Log out and Log in.
- Create a new warehouse (name: Test WH) on "Org A" organization
- Create a new Product (name: Test) of type item and stocked.
- Create a physical inventory to initialize the stock of the product "Test" on the warehouse "Test WH" set a cost of 10 EUR before processing the inventory.
- Ensure that the costing background process is executed and that the transaction of the physical inventory is calculated.
- Go to Costing Rules window and create a new costing rule for F&B España, S.A
- Try to validate it and realize that process is successful. |
|
|
(0117356)
|
hgbot
|
2020-01-30 11:07
|
|
Repository: erp/devel/pi
Changeset: 82b3930f899dd00dff2170b0c0c61ea07bf8ca71
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Jan 27 08:11:56 2020 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/82b3930f899dd00dff2170b0c0c61ea07bf8ca71 [^]
Fixes BUG-42994:Validating a new costing rule is trying to
create physical inventories in organizations where transactions
are not allowed
** Moved method from InventoryAmountUpdateProcess to CostingUtils
to achieve reusability that uses Organization from the Parent
list of Warehouse Organization whose organization type has
transaction allowed flag set as Yes, if no such organization
is found, then use Organization from the Inventory Line when
validating costing rule process which creates Closing and
Opening Inventories.
---
M src/org/openbravo/costing/CostingRuleProcess.java
M src/org/openbravo/costing/CostingUtils.java
M src/org/openbravo/costing/InventoryAmountUpdateProcess.java
---
|
|
|
(0117357)
|
hgbot
|
2020-01-30 11:08
|
|
|
|
|
|