Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041647Retail ModulesWeb POSpublic2019-08-14 09:312019-11-11 17:30
airaceburu 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
pi 
RR19Q4 
marvintm
No
0041647: Tax labels are not removed if OBPOS_remove_ticket is true
Tax labels are not being removed from Web POS current ticket when removing the last product of an specific tax. Instead they appear with amount 0.

This is happening because when the tax collection is reset the line has not been removed from the model yet.

This only happens when the preference OBPOS_remove_ticket is true.
In Backend
Set OBPOS_remove_ticket='Y'

In Web POS
Add a product with one tax
Add a product with a different tax
Remove one of those products
The tax is not removed but set to 0 instead.
Attached patch
No tags attached.
diff patch.diff (1,144) 2019-08-14 14:12
https://issues.openbravo.com/file_download.php?file_id=13238&type=bug
Issue History
2019-08-14 09:31airaceburuNew Issue
2019-08-14 09:31airaceburuAssigned To => Retail
2019-08-14 09:31airaceburuFile Added: patch.diff
2019-08-14 09:31airaceburuResolution time => 1566943200
2019-08-14 09:31airaceburuTriggers an Emergency Pack => No
2019-08-14 11:25ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-08-14 14:12airaceburuFile Deleted: patch.diff
2019-08-14 14:12airaceburuFile Added: patch.diff
2019-08-14 14:45ranjith_qualiantech_comStatusnew => scheduled
2019-08-22 08:34ranjith_qualiantech_comFile Added: issue 41647 source posterminal.patch
2019-08-22 11:58ranjith_qualiantech_comFile Deleted: issue 41647 source posterminal.patch
2019-08-23 04:36hgbotCheckin
2019-08-23 04:36hgbotNote Added: 0114239
2019-08-23 04:36hgbotStatusscheduled => resolved
2019-08-23 04:36hgbotResolutionopen => fixed
2019-08-23 04:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8e8034016fa068a0dbc0c88f62dc6a8cc7360c43 [^]
2019-08-23 14:18marvintmReview Assigned To => marvintm
2019-08-23 14:18marvintmStatusresolved => closed
2019-08-23 14:18marvintmFixed in Version => RR19Q4
2019-11-11 17:30hgbotCheckin
2019-11-11 17:30hgbotNote Added: 0115533

Notes
(0114239)
hgbot   
2019-08-23 04:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8e8034016fa068a0dbc0c88f62dc6a8cc7360c43
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Aug 23 08:06:01 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8e8034016fa068a0dbc0c88f62dc6a8cc7360c43 [^]

Fixed issue 41647 : Receipt taxes should be hidden when line is deleted

* With Save Remove Ticket Pref. is enabled, when line is deleted,
  respective tax should be hidden from the receipt tax list

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0115533)
hgbot   
2019-11-11 17:30   
Repository: tools/automation/pi-mobile
Changeset: ece66b7103d5f583326707177d55f95c77be2b50
Author: Fidel <fidel.campos <at> doceleguas.com>
Date: Mon Nov 04 14:07:06 2019 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ece66b7103d5f583326707177d55f95c77be2b50 [^]

Related to issue 41647: Added automated test I41647_VerifyTaxLabelWhenDeleteLineWithDifferentTax

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/taxes/I41647_VerifyTaxLabelWhenDeleteLineWithDifferentTax.java
---