Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031322 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 02. Master data management | major | always | 2015-11-02 12:15 | 2015-11-27 02:55 | |||
Reporter | maite | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 1168e004ce35 | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | vmromanos | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 38015 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031322: Sales Representative defined for logged user should be maintained in case order's business partner has not sales rep defined | |||||||
Description | Sales Representative defined for logged user should be maintained in case order's business partner has not sales rep defined | |||||||
Steps To Reproduce | 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 "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 Solution | If selected business partner has not specific Sales Representative defined in its Customer tab, then default Sales Representative for logged user should be maintained | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0082351) aferraz (viewer) 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 (viewer) 2015-11-26 15:21 |
Code review + testing OK |
(0082389) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => Yes |
2015-11-02 12:15 | maite | Modules | => Core |
2015-11-02 12:15 | maite | Support ticket | => 38015 |
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 |