Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043219Retail ModulesWeb POSpublic2020-02-13 17:052020-04-24 14:58
normalmajorhave not tried
0043219: Web POS should calculate taxes based on store address instead of customer address
As part of IndexedDB project, tax calculation in Web POS will be refactored.

A new tax engine will be developed as a function that can be called from Web POS or any other system (backoffice, ecommerce, etc.).

Country and region will be properties of the ticket sent to the new engine. These parameters will be sent at ticket line level. Thus, engine will calculate which tax rules apply to each ticket line based on line country and region.

Those properties will be sent from Web POS as follows:
- If the ticket line is Home Delivery, business partner delivery address will be sent.
- Otherwise, line organization address will be sent:
-- If the line belongs to the current store, touchpoint store address will be sent.
-- If the line belongs to a cross store, cross store address will be sent.
No tags attached.
depends on feature request 0043657 closed Sandrahuguet Masterdata IndexedDB - Phase 1 
Issue History
2020-02-13 17:05aferrazNew Issue
2020-02-13 17:05aferrazAssigned To => aferraz
2020-02-13 17:05aferrazTriggers an Emergency Pack => No
2020-02-18 10:43aferrazDescription Updatedbug_revision_view_page.php?rev_id=20395#r20395
2020-04-06 11:51hgbotCheckin
2020-04-06 11:51hgbotNote Added: 0118951
2020-04-16 08:40aferrazRelationship addeddepends on 0043657
2020-04-16 08:42aferrazNote Added: 0119210
2020-04-16 08:42aferrazStatusnew => scheduled
2020-04-16 08:43aferrazStatusscheduled => resolved
2020-04-16 08:43aferrazFixed in Version => RR20Q3
2020-04-16 08:43aferrazResolutionopen => fixed
2020-04-24 14:58marvintmReview Assigned To => marvintm
2020-04-24 14:58marvintmStatusresolved => closed

2020-04-06 11:51   
Repository: tools/automation/pi-mobile
Changeset: 9bb2b8db29f26687a679564a52093412d52bc889
Author: Álvaro Ferraz <alvaro.ferraz <at>>
Date: Thu Feb 13 17:10:45 2020 +0100
URL: [^]

[indexedDB-masterdata-tax] Do not run CheckShippingAddressMandatory test until issue 43219 is fixed

M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/
2020-04-16 08:42   
Fix included in Tax Engine refactor, developed as part of 0043657.