Openbravo Issue Tracking System - POS2
View Issue Details
0054400POS2POSpublic2024-01-19 14:352024-03-12 19:31
wicherr 
Triage Omni OMS 
normalmajoralways
closedfixed 
5
 
 
No
0054400: Deleting a ticket without calling the calculation of taxes makes the ticket go to EWI
Using a pricelist with prices without tax,
When you add a product on the basket and delete the ticket on the scan tab, it goes to EWI with the following error :



org.openbravo.base.exception.OBException: Error in OrderLoader: No tax was found for the specified product. Please review your configuration
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:513)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:214)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:165)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:97)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:55)
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:447)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:370)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.openbravo.base.exception.OBException: No tax was found for the specified product. Please review your configuration
    at org.openbravo.retail.posterminal.OrderLoader.verifyOrderLineTax(OrderLoader.java:2277)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:344)
    ... 12 more
This defect has been obtained using the Avalara module

Step to reproduce 1 :
Create a new ticket
Add a product
DON’T click on Pay
Delete the ticket
Check the EWI

Step to reproduce 2 :
Create a new ticket
Add a product
Click on Pay
Click on Back
Delete the ticket
Check the EWI
No tags attached.
depends on backport 005492524Q1.1 closed Triage Omni OMS POS2 Deleting a ticket without calling the calculation of taxes makes the ticket go to EWI 
related to feature request 0054653 closed kousalya_r Openbravo ERP API Change: OrderLine Tax 
Issue History
2024-01-19 14:35wicherrNew Issue
2024-01-19 14:35wicherrAssigned To => Retail
2024-01-19 14:35wicherrTriggers an Emergency Pack => No
2024-01-24 20:51aferrazAssigned ToRetail => Triage Omni OMS
2024-02-13 07:12hgbotNote Added: 0160664
2024-02-13 07:13hgbotNote Added: 0160665
2024-02-13 11:00frank_gonzalezRelationship addedrelated to 0054653
2024-02-13 14:24hgbotNote Added: 0160697
2024-02-14 10:07hgbotNote Added: 0160724
2024-02-14 11:56hgbotNote Added: 0160732
2024-02-19 12:33hgbotNote Added: 0160899
2024-02-19 12:34hgbotNote Added: 0160901
2024-02-19 12:34hgbotNote Added: 0160902
2024-02-19 13:10frank_gonzalezNote Added: 0160906
2024-02-19 13:20frank_gonzalezNote Edited: 0160906bug_revision_view_page.php?bugnote_id=0160906#r27544
2024-02-19 13:22frank_gonzalezStatusnew => scheduled
2024-02-19 13:22frank_gonzalezStatusscheduled => resolved
2024-02-19 13:22frank_gonzalezResolutionopen => fixed
2024-02-19 13:22frank_gonzalezStatusresolved => closed
2024-03-12 19:31aferrazStatusclosed => new
2024-03-12 19:31aferrazResolutionfixed => open
2024-03-12 19:31aferrazStatusnew => scheduled
2024-03-12 19:31aferrazStatusscheduled => resolved
2024-03-12 19:31aferrazResolutionopen => fixed
2024-03-12 19:31aferrazStatusresolved => closed

Notes
(0160664)
hgbot   
2024-02-13 07:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1470 [^]
(0160665)
hgbot   
2024-02-13 07:13   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1138 [^]
(0160697)
hgbot   
2024-02-13 14:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/235 [^]
(0160724)
hgbot   
2024-02-14 10:07   
Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/61 [^]
(0160732)
hgbot   
2024-02-14 11:56   
Merge request closed: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/61 [^]
(0160899)
hgbot   
2024-02-19 12:33   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1470 [^]
(0160901)
hgbot   
2024-02-19 12:34   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1138 [^]
(0160902)
hgbot   
2024-02-19 12:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/235 [^]
(0160906)
frank_gonzalez   
2024-02-19 13:10   
(edited on: 2024-02-19 13:20)
org.openbravo.retail.posterminal merge commit:

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d259c390e32eec11c64c5e151ed8afceca63a4e9 [^]

Core merge commit:
https://gitlab.com/openbravo/product/openbravo/-/commit/55a15dfc4f696588c98c974df65bb04f5a4454d5 [^]

org.openbravo.api merge commit:
https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/3d2e3a0c0c788259319af6532a700fb1243e56ce [^]