Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026893
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementminoralways2014-06-18 01:042014-12-30 23:22
ReporterngarciaView Statuspublic 
Assigned Toreinaldoguerra 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision3886667705c2
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned TodaniOpenbravo
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026893: Wrong warehouse selected when creating a sales order from an expense

DescriptionWrong warehouse selected when creating a sales order from an expense
Steps To ReproduceAs 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 SolutionThe 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0027876 newTriage Omni OMS Warehouse is not changed when processing Expense Sheet. 

-  Notes
(0070595)
reinaldoguerra (developer)
2014-10-01 06:52

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 (developer)
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
---
(0070953)
daniOpenbravo (developer)
2014-10-15 12:56

Verified.
(0072935)
hudsonbot (developer)
2014-12-30 23:22

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/6525fe229e06 [^]
Maturity status: Test

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker