Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026893 | Openbravo ERP | 08. Project and service management | public | 2014-06-18 01:04 | 2014-12-30 23:22 |
|
Reporter | ngarcia | |
Assigned To | reinaldoguerra | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q1 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | daniOpenbravo |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 28614 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0026893: Wrong warehouse selected when creating a sales order from an expense |
Description | Wrong warehouse selected when creating a sales order from an expense |
Steps To Reproduce | As group admin role:
Login with España Región Norte warehouse
Create a product with Product Type = Expense for *
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:
Sales Order No. <> has been created -> The Warehouse of the document does not belong to the selected Organization
If you navigate to the sales order, you will observe the warehouse in the header is the one you are logged with |
Proposed Solution | The m_warehouse_id column of s_timeexpense table has the value of the warehouse you are login with when you save the record in the Expense Sheet window, which is incorrect. You should check it through database as the associated field is inactive. |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0027876 | | new | Triage Omni OMS | Warehouse is not changed when processing Expense Sheet. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-06-18 01:04 | ngarcia | New Issue | |
2014-06-18 01:04 | ngarcia | Assigned To | => jonalegriaesarte |
2014-06-18 01:04 | ngarcia | Modules | => Core |
2014-06-18 01:04 | ngarcia | OBNetwork customer | => Yes |
2014-06-18 01:04 | ngarcia | Support ticket | => 28614 |
2014-06-18 01:04 | ngarcia | Resolution time | => 1406844000 |
2014-06-18 01:04 | ngarcia | Triggers an Emergency Pack | => No |
2014-06-18 01:04 | ngarcia | Issue Monitored: networkb | |
2014-06-30 13:45 | jonalegriaesarte | Assigned To | jonalegriaesarte => pramakrishnan |
2014-06-30 13:45 | jonalegriaesarte | Target Version | PR14Q3 => PR14Q4 |
2014-08-11 14:57 | daniOpenbravo | Assigned To | pramakrishnan => daniOpenbravo |
2014-08-11 14:57 | daniOpenbravo | Status | new => scheduled |
2014-09-08 11:16 | daniOpenbravo | Review Assigned To | => AtulOpenbravo |
2014-09-29 16:12 | jonalegriaesarte | Target Version | 3.0PR14Q4 => 3.0PR15Q1 |
2014-10-01 06:52 | reinaldoguerra | Assigned To | daniOpenbravo => reinaldoguerra |
2014-10-01 06:52 | reinaldoguerra | Note Added: 0070595 | |
2014-10-15 12:53 | hgbot | Checkin | |
2014-10-15 12:53 | hgbot | Note Added: 0070952 | |
2014-10-15 12:53 | hgbot | Status | scheduled => resolved |
2014-10-15 12:53 | hgbot | Resolution | open => fixed |
2014-10-15 12:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3886667705c24877ddf5521be25ab17a3f9f228a [^] |
2014-10-15 12:56 | daniOpenbravo | Review Assigned To | AtulOpenbravo => daniOpenbravo |
2014-10-15 12:56 | daniOpenbravo | Note Added: 0070953 | |
2014-10-15 12:56 | daniOpenbravo | Status | resolved => closed |
2014-10-15 12:56 | daniOpenbravo | Fixed in Version | => pi |
2014-10-15 13:24 | daniOpenbravo | Relationship added | blocks 0027876 |
2014-12-30 23:22 | hudsonbot | Checkin | |
2014-12-30 23:22 | hudsonbot | Note Added: 0072935 | |
Notes |
|
|
1- Login into Openbravo ERP with España Región Norte warehouse
2- Create a product with Product Type = Expense for *
3- Create an Expense Sheet for F&B US East Coast
4- Add a line to it, marked to be reinvoiced, add a business partner and a net unit price
5- Process it
6- Launch the Create Sales Orders from Expenses process
7- A shipment and a sales order will be created successfully. |
|
|
(0070952)
|
hgbot
|
2014-10-15 12:53
|
|
Repository: erp/devel/pi
Changeset: 3886667705c24877ddf5521be25ab17a3f9f228a
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Tue Sep 30 21:55:34 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/3886667705c24877ddf5521be25ab17a3f9f228a [^]
Fixed bug 26893: Wrong warehouse when creating a sales order from an expense.
An auxiliary input was added to associate the created expense sheet warehouse with the selected organization's warehouse.
Now when Create Sales Orders from Expenses process is launched, sales order is associated with the correct expense's warehouse.
Also the process throws an error message if the expense's organization does not have a default warehouse defined.
---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java
---
|
|
|
|
|
|
|
|