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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031322
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2015-11-02 12:152015-11-27 02:55
ReportermaiteView Statuspublic 
Assigned Toaferraz 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1168e004ce35
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031322: Sales Representative defined for logged user should be maintained in case order's business partner has not sales rep defined

DescriptionSales Representative defined for logged user should be maintained in case order's business partner has not sales rep defined
Steps To Reproduce1. Create new User with any username and password. Expand More information section and define "Alimentos y Supermercados" as business partner. Define "F&B International Group Admin" in User Roles tab
2. Navigate to "Alimentos y Supermercados" business partner and go to Employee tab to define it as "sales representative"
3. Logout and login with new user
4. Access Sales Order window and realize that Sales Representative field is filled with your user as default. Select "Hoteles Buenas noches" business partner and realize that Sales Representative field is empty

NOTE: When registering a sales order from WebPOS, in case Business Partner has not specific Sales Representative defined then value for logged user is maintained
Proposed SolutionIf selected business partner has not specific Sales Representative defined in its Customer tab, then default Sales Representative for logged user should be maintained
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0082351)
aferraz (manager)
2015-11-25 19:19

Test plan:

1. Create new User with any username and password. Expand More information section and define "Alimentos y Supermercados" as business partner. Define "F&B International Group Admin" in User Roles tab
2. Navigate to "Alimentos y Supermercados" business partner and go to Employee tab to define it as "is sales representative"
3. Navigate to "Hoteles Buenas Noches, S.A." business partner and go to Customer tab to define its sales representative as "Javier Martín"
4. Logout and login with new user
5. Access Sales Order window.
   Realize that Sales Representative field is filled with your user as default.
   Select "Alimentos y Supermercados, S.A" business partner and realize that Sales Representative field is filled with your user.
   Select "Hoteles Buenas Noches, S.A." business partner and realize that Sales Representative field is filled with "Javier Martín".
   Select "Restaurantes Luna Llena, S.A." business partner and realize that Sales Representative field is filled with your user.
   Repeat the same step in Goods Shipment (needs to display "sales representative" field) and in Sales Invoice and behaviour should be the same.
6. Navigate to "Alimentos y Supermercados" business partner and go to Employee tab and unselect "is sales representative" checkbox.
7. Access Sales Order window.
   Realize that Sales Representative field is empty by default.
   Select "Alimentos y Supermercados, S.A" business partner and realize that Sales Representative field is empty.
   Select "Hoteles Buenas Noches, S.A." business partner and realize that Sales Representative field is filled with "Javier Martín".
   Select "Restaurantes Luna Llena, S.A." business partner and realize that Sales Representative field is empty.
   Repeat the same step in Goods Shipment (needs to display "sales representative" field) and in Sales Invoice and behaviour should be the same.
(0082374)
hgbot (developer)
2015-11-26 15:21

Repository: erp/devel/pi
Changeset: 1168e004ce351bcc56c7b9678599ad109f054896
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Nov 25 19:04:45 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1168e004ce351bcc56c7b9678599ad109f054896 [^]

Fixes issue 31322: Sales Representative defined for logged user should be used

Sales representative defined for logged user should be used in case sales order, goods receipt or sales invoice business partner does not have a sales representative defined.

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java
---
(0082375)
vmromanos (manager)
2015-11-26 15:21

Code review + testing OK
(0082389)
hudsonbot (developer)
2015-11-27 02:55

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

- Issue History
Date Modified Username Field Change
2015-11-02 12:15 maite New Issue
2015-11-02 12:15 maite Assigned To => Triage Finance
2015-11-02 12:15 maite Modules => Core
2015-11-02 12:15 maite Resolution time => 1449615600
2015-11-02 12:15 maite Triggers an Emergency Pack => No
2015-11-02 12:15 maite Issue Monitored: networkb
2015-11-25 14:38 aferraz Assigned To Triage Finance => aferraz
2015-11-25 14:38 aferraz Status new => scheduled
2015-11-25 19:19 aferraz Note Added: 0082351
2015-11-26 15:21 hgbot Checkin
2015-11-26 15:21 hgbot Note Added: 0082374
2015-11-26 15:21 hgbot Status scheduled => resolved
2015-11-26 15:21 hgbot Resolution open => fixed
2015-11-26 15:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1168e004ce351bcc56c7b9678599ad109f054896 [^]
2015-11-26 15:21 vmromanos Review Assigned To => vmromanos
2015-11-26 15:21 vmromanos Note Added: 0082375
2015-11-26 15:21 vmromanos Status resolved => closed
2015-11-27 02:55 hudsonbot Checkin
2015-11-27 02:55 hudsonbot Note Added: 0082389


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker