Openbravo Issue Tracking System - POS2
View Issue Details
0057342POS2POSpublic2024-12-02 10:502024-12-09 19:22
psanjuan 
Bimla_vm 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
25Q1 
No
0057342: Not possible to make a sale if Sales Representative for New Orders = Use the same as logged-in user automatically
Not possible to make a sale if Sales Representative for New Orders = Use the same as logged-in user automatically, regardless Sales Representative mandatory = False.
Go to livebuilds modules_pgsql backend enable below configuration:

1.- Openbravo user configure as Sales Representative = NO, in the user window
2.- Sales Representative for New Orders = Use the same as logged-in user automatically
3.- Sales Representative mandatory = False

Log in Openbravo POS as Openbravo
Select a product

Verify that the an error is shown. See image attached.
If the parameter Sales Representative mandatory = False no error related to the sales representative must be shown.
No tags attached.
png Captura de pantalla 2024-12-02 090431.png (186,988) 2024-12-02 10:50
https://issues.openbravo.com/file_download.php?file_id=20585&type=bug
png
Issue History
2024-12-02 10:50psanjuanNew Issue
2024-12-02 10:50psanjuanAssigned To => Retail
2024-12-02 10:50psanjuanTriggers an Emergency Pack => No
2024-12-02 10:50psanjuanFile Added: Captura de pantalla 2024-12-02 090431.png
2024-12-02 18:59guilleaerAssigned ToRetail => guilleaer
2024-12-02 18:59guilleaerStatusnew => acknowledged
2024-12-03 05:53Bimla_vmAssigned Toguilleaer => Bimla_vm
2024-12-03 05:53Bimla_vmStatusacknowledged => scheduled
2024-12-04 13:05hgbotNote Added: 0172980
2024-12-09 19:22hgbotResolutionopen => fixed
2024-12-09 19:22hgbotStatusscheduled => closed
2024-12-09 19:22hgbotNote Added: 0173091
2024-12-09 19:22hgbotFixed in Version => 25Q1
2024-12-09 19:22hgbotNote Added: 0173092

Notes
(0172980)
hgbot   
2024-12-04 13:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3201 [^]
(0173091)
hgbot   
2024-12-09 19:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3201 [^]
(0173092)
hgbot   
2024-12-09 19:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fe8eba50fae6b384090b9f15dd717e300c582a20
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 09-12-2024 18:22:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fe8eba50fae6b384090b9f15dd717e300c582a20 [^]

Fixed ISSUE-57342: Changed condition to skip error if obpos2SalesrepMandatory is false

---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddNewTicketActionPreparation.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js
---