Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0049614Openbravo LocalizationsLocalization Francepublic2022-06-21 11:012022-08-03 14:06
rfacon 
sebastien_liron 
normalmajoralways
closedduplicate 
5
 
 
0049614: Wrong tax calculation for sales to exempt customers (conflict between Metropolitan/DOMTOM tax)
When two discounts Tax Exempt = Y are configured the same way for an Organization, the most recent 'Valid from Date' is applied.
Regions defined in the Tax Zone subtab should be considered in addition.
1. Having two different Tax rates configured for the same Organization with :
- Country : France, Destination Country : France
- Tax Exempt = Yes
- Rate : 0,00

2. For one discount, "TVA Normale Exonérée", apply in the Tax Zone :
- From Country : France
- From Region : Hauts-de-France
- Destination Country : France
- Destination Region : Hauts-de-France

3. For one discount, "Export DOM-TOM Normale", apply in the Tax Zone :
- From Country : France
- From Region : Guadeloupe
- Destination Country : France
- Destination Region : Guadeloupe

4. Login a French WebPOS located in one of the two Regions defined, add an article with normal tax and a customer tagged as Tax Exempt.
You will see that the discount is applied according to the most recent 'Valid from Date' of the two discounts. If both are equal, the two taxes will be applied (picture joined).
The region should be taken into account also when selecting the appropriate discount
NOR
duplicate of defect 0049939 closed Triage Omni OMS Openbravo Localizations Two exempt taxes are applied for a tax exempt customer 
related to defect 0048580 closed ebecerra POS2 2693: Tax engine is not working well when several tax zones are defined 
png 2 Taxes applied.png (61,155) 2022-06-21 11:01
https://issues.openbravo.com/file_download.php?file_id=17200&type=bug
png

png Screenshot from 2022-07-13 14-56-05.png (109,095) 2022-07-13 15:02
https://issues.openbravo.com/file_download.php?file_id=17305&type=bug
png

png Screenshot from 2022-07-13 14-56-19.png (108,798) 2022-07-13 15:03
https://issues.openbravo.com/file_download.php?file_id=17306&type=bug
png

png Screenshot from 2022-07-13 14-56-36.png (174,136) 2022-07-13 15:03
https://issues.openbravo.com/file_download.php?file_id=17307&type=bug
png

png Screenshot from 2022-07-13 14-56-52.png (139,041) 2022-07-13 15:03
https://issues.openbravo.com/file_download.php?file_id=17308&type=bug
png

png Screenshot from 2022-07-13 14-57-00.png (279,544) 2022-07-13 15:04
https://issues.openbravo.com/file_download.php?file_id=17309&type=bug
Issue History
2022-06-21 11:01rfaconNew Issue
2022-06-21 11:01rfaconFile Added: 2 Taxes applied.png
2022-06-21 11:47sebastien_lironAssigned To => psanjuan
2022-06-22 14:32rafarodaTag Attached: NOR
2022-06-22 14:33rafarodaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24332#r24332
2022-07-13 15:02aferrazNote Added: 0139307
2022-07-13 15:02aferrazStatusnew => closed
2022-07-13 15:02aferrazResolutionopen => unable to reproduce
2022-07-13 15:02aferrazFile Added: Screenshot from 2022-07-13 14-56-05.png
2022-07-13 15:03aferrazFile Added: Screenshot from 2022-07-13 14-56-19.png
2022-07-13 15:03aferrazFile Added: Screenshot from 2022-07-13 14-56-36.png
2022-07-13 15:03aferrazFile Added: Screenshot from 2022-07-13 14-56-52.png
2022-07-13 15:04aferrazFile Added: Screenshot from 2022-07-13 14-57-00.png
2022-07-13 15:10aferrazNote Edited: 0139307bug_revision_view_page.php?bugnote_id=0139307#r24475
2022-07-13 15:10aferrazRelationship addedrelated to 0048580
2022-07-13 15:10aferrazAssigned Topsanjuan => aferraz
2022-07-15 11:32aferrazNote Edited: 0139307bug_revision_view_page.php?bugnote_id=0139307#r24503
2022-07-25 11:01sebastien_lironNote Added: 0139594
2022-07-25 11:01sebastien_lironStatusclosed => new
2022-07-26 12:15aferrazNote Added: 0139607
2022-07-26 12:31sebastien_lironNote Added: 0139608
2022-07-29 12:22aferrazNote Added: 0139719
2022-07-29 12:22aferrazAssigned Toaferraz => sebastien_liron
2022-07-29 12:22aferrazStatusnew => feedback
2022-08-03 13:51rafarodaRelationship addedrelated to 0049939
2022-08-03 14:05rafarodaNote Added: 0139841
2022-08-03 14:06rafarodaRelationship replacedduplicate of 0049939
2022-08-03 14:06rafarodaStatusfeedback => closed
2022-08-03 14:06rafarodaResolutionunable to reproduce => duplicate

Notes
(0139307)
aferraz   
2022-07-13 15:02   
(edited on: 2022-07-15 11:32)
POS applies the correct tax taking into account the store region.
See attached images.
Probably fixed in 0048580.

(0139594)
sebastien_liron   
2022-07-25 11:01   
0048580 is for POS 2, not POS 1, and the issue is in 20q3
(0139607)
aferraz   
2022-07-26 12:15   
The fix you need to apply is 0048619.
(0139608)
sebastien_liron   
2022-07-26 12:31   
re -applying mantis 48619 for mantis 49614 resolution, regression included with mantis 48737
(0139719)
aferraz   
2022-07-29 12:22   
Pending to validate from project team if reapplying 0048619 solves the issue.
(0139841)
rafaroda   
2022-08-03 14:05   
Here confirmed that we still have the issue: new Mantis has been opened 0049939