Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0027876 | Openbravo ERP | 08. Project and service management | public | 2014-10-15 13:23 | 2015-06-08 17:52 | |||||||
Reporter | daniOpenbravo | |||||||||||
Assigned To | Triage Omni OMS | |||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0027876: Warehouse is not changed when processing Expense Sheet. | |||||||||||
Description | After receiving an error when launching "Create Sales Order from Expenses" (Error: There is no warehouse defined for expense organization) process, if user solves it adding a new Warehouse to Expense Sheet´s Organization, "Unprocess Expenses" and "Process Expenses" again, the same error will appear again. | |||||||||||
Steps To Reproduce | As group admin role: Create a product with Product Type = Expense for *. Delete F&B US East Coast Organization´s warehouse. Be sure that there is no warehouse on hand now int that Organization. Create an Expense Sheet for F&B US East Coast. Add a line to it marked to be reinvoiced and add a business partner and a net unit price. Process it. Launch the Create Sales Orders from Expenses process. Check the following message is shown: Error: Created: 0 Expense Sheet No. XXXXXXX: There is no warehouse defined for expense organization. Try to solve the problem by adding the warehouse deleted on previous steps to F&B US East Coast Organization. Unprocess Expense Sheet. Process Expense Sheet again. Check that if we launch "Create Sales Order from Expenses" again, the same error message will appear. | |||||||||||
Proposed Solution | The error message appears again because we have not saved the Expense Sheet record one more time, so database has m_warehouse_id=null for that record (as it was saved when there was no Warehouse defined for that Organization). So, we should check when Processing Expense Sheet that, if that Expense Sheet record does not have a warehouse related, assign Expense sheet´s Organization Warehouse. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2014-10-15 13:23 | daniOpenbravo | New Issue | ||||||||||
2014-10-15 13:23 | daniOpenbravo | Assigned To | => dmiguelez | |||||||||
2014-10-15 13:23 | daniOpenbravo | OBNetwork customer | => No | |||||||||
2014-10-15 13:23 | daniOpenbravo | Modules | => Core | |||||||||
2014-10-15 13:23 | daniOpenbravo | Triggers an Emergency Pack | => No | |||||||||
2014-10-15 13:24 | daniOpenbravo | Relationship added | depends on 0026893 | |||||||||
2014-12-22 17:06 | Sandrahuguet | Target Version | 3.0PR15Q1 => 3.0PR15Q2 | |||||||||
2015-03-30 18:21 | eduardo_Argal | Target Version | 3.0PR15Q2 => 3.0PR15Q3 | |||||||||
2015-04-14 12:48 | Triage Finance | Assigned To | dmiguelez => Triage Finance | |||||||||
2015-06-08 17:52 | vmromanos | Target Version | 3.0PR15Q3 => |
There are no notes attached to this issue. |