Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037891Retail ModulesWeb POSpublic2018-02-12 17:042018-11-26 15:24
umartirena 
umartirena 
highmajoralways
closedfixed 
5
 
RR19Q1 
marvintm
No
0037891: Allow to save Sales with 1 or more negative lines as Returns
Allow to save Sales with 1 or more negative lines as Returns. Currently, if a ticket has a positive line, it will always be a Sales Order. There are certain use cases in were this type of tickets needs to be treated as Returns.
-
See attached patch
No tags attached.
diff issue37891.diff (3,498) 2018-02-12 17:09
https://issues.openbravo.com/file_download.php?file_id=11571&type=bug
diff issue37891part2.diff (3,558) 2018-02-12 18:13
https://issues.openbravo.com/file_download.php?file_id=11572&type=bug
Issue History
2018-02-12 17:04umartirenaNew Issue
2018-02-12 17:04umartirenaAssigned To => Retail
2018-02-12 17:04umartirenaTriggers an Emergency Pack => No
2018-02-12 17:08umartirenaProposed Solution updated
2018-02-12 17:09umartirenaFile Added: issue37891.diff
2018-02-12 18:13umartirenaFile Added: issue37891part2.diff
2018-11-22 15:09hgbotCheckin
2018-11-22 15:09hgbotNote Added: 0108056
2018-11-22 15:09hgbotStatusnew => resolved
2018-11-22 15:09hgbotResolutionopen => fixed
2018-11-22 15:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ae22038573480cbd7282fce85a774a7af23f9a8e [^]
2018-11-22 15:10hgbotCheckin
2018-11-22 15:10hgbotNote Added: 0108057
2018-11-26 15:24marvintmAssigned ToRetail => umartirena
2018-11-26 15:24marvintmReview Assigned To => marvintm
2018-11-26 15:24marvintmStatusresolved => closed
2018-11-26 15:24marvintmFixed in Version => RR19Q1

Notes
(0108056)
hgbot   
2018-11-22 15:09   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ae22038573480cbd7282fce85a774a7af23f9a8e
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Nov 20 18:43:03 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ae22038573480cbd7282fce85a774a7af23f9a8e [^]

Fixes issue 37891: Allow to save Sales with 1 or more negative lines as Returns

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---
(0108057)
hgbot   
2018-11-22 15:10   
Repository: tools/automation/pi-mobile
Changeset: 67e75441d0ad68e11f771cb00beae172b30cc47e
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Nov 21 17:55:36 2018 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/67e75441d0ad68e11f771cb00beae172b30cc47e [^]

Related to issue 37891: Add Automated tests

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I37891_VerifyReturnsWith1NegativeLinePreference.java
---