Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040907Retail ModulesWeb POSpublic2019-05-20 09:452019-06-04 16:37
asiermartirena 
rqueralta 
highmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040907: Errors in 'Service can change product tax' development
Having the 'Save removed tickets' preference set to true and configuring services to change product taxes, when removing the service that is changing the product the product's tax is not being restored to the initial tax.
Enable the 'Save removed tickets' preference.
Configure a service to change some product's tax.
Load the Web POS.
Add a product that belongs to a category that the configured service changes the tax.
Add the service related to the product --> The product's tax changes
Remove the service from the receipt --> The product's tax is not restored, and it should
Patch added to fix the problem.
No tags attached.
? issue_40907.export (1,311) 2019-05-20 09:51
https://issues.openbravo.com/file_download.php?file_id=12962&type=bug
Issue History
2019-05-20 09:45asiermartirenaNew Issue
2019-05-20 09:45asiermartirenaAssigned To => Retail
2019-05-20 09:45asiermartirenaTriggers an Emergency Pack => No
2019-05-20 09:51asiermartirenaFile Added: issue_40907.export
2019-05-20 10:09guillermogilResolution time => 1559858400
2019-05-20 22:04rqueraltaAssigned ToRetail => rqueralta
2019-05-20 22:04rqueraltaStatusnew => scheduled
2019-05-23 13:53hgbotCheckin
2019-05-23 13:53hgbotNote Added: 0112095
2019-05-23 13:53hgbotStatusscheduled => resolved
2019-05-23 13:53hgbotResolutionopen => fixed
2019-05-23 13:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1cb681d0b7e8c3f99c16182bb75dc73e0728eec3 [^]
2019-05-23 17:33marvintmReview Assigned To => marvintm
2019-05-23 17:33marvintmStatusresolved => closed
2019-05-23 17:33marvintmFixed in Version => RR19Q3
2019-06-04 16:37hgbotCheckin
2019-06-04 16:37hgbotNote Added: 0112385

Notes
(0112095)
hgbot   
2019-05-23 13:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1cb681d0b7e8c3f99c16182bb75dc73e0728eec3
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Mon May 20 09:50:42 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1cb681d0b7e8c3f99c16182bb75dc73e0728eec3 [^]

Fixed issue 40907: Errors in 'Service can change product tax' development

When deleting a service line that changes the tax of a product, as the 'Save delete ticket' doesn't remove the line until the calculateReceipt has been finished, the obposIsDeleted property is taken into account in order to calculate if the tax of a product have to be restored to it initial tax.

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0112385)
hgbot   
2019-06-04 16:37   
Repository: tools/automation/pi-mobile
Changeset: 569fc3ef5222550f9233a411228b13d86d76452b
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Wed May 29 15:20:45 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/569fc3ef5222550f9233a411228b13d86d76452b [^]

Related to issue 40907: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I40907_VerifyTaxChangesWhenServiceIsRemoved.java
---