Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045754Retail ModulesWeb POSpublic2021-01-19 14:182021-01-26 07:50
azabaleta 
markmm82 
normalmajoralways
closedfixed 
5
 
 
No
0045754: External BP Infrastucture and Tax Exempt module dont work correctly together
When using tax exempt functionality and applying the exemption to a ticket, a new BP is set to the ticket (which is correct) but the external BP selection is lost (at least visually)
- Configure correctly the anonymous bp of a store and the tax exempt bp for the same store.
- Configure correcty a tax exempt in the tax rate window
- Log in WebPOs and choose a customer from an external system (although the anonymous bp keeps set to the ticket, visually the external business partner is seen)
- Insert products. Check that the usual tax is applied.
- From the menu choose Tax Exempt
- Verify that the lines have been correctly changeg to tax exempt, but the customer of the ticket (from the external system) is lost.
After applying the tax exempt, even if the bp has been changed , keep showing the external customer information
No tags attached.
Issue History
2021-01-19 14:18azabaletaNew Issue
2021-01-19 14:18azabaletaAssigned To => Retail
2021-01-19 14:18azabaletaTriggers an Emergency Pack => No
2021-01-19 14:19azabaletaIssue Monitored: azabaleta
2021-01-19 14:42marvintmResolution time => 1612220400
2021-01-19 14:42marvintmCategoryTax Exempt => Web POS
2021-01-19 15:10markmm82Assigned ToRetail => markmm82
2021-01-19 15:10markmm82Statusnew => acknowledged
2021-01-20 14:31markmm82Statusacknowledged => scheduled
2021-01-25 17:16hgbotNote Added: 0125758
2021-01-25 17:16hgbotNote Added: 0125759
2021-01-26 07:50hgbotNote Added: 0125765
2021-01-26 07:50hgbotNote Added: 0125766
2021-01-26 07:50hgbotResolutionopen => fixed
2021-01-26 07:50hgbotStatusscheduled => closed
2021-01-26 07:50hgbotNote Added: 0125767
2021-01-26 07:50hgbotNote Added: 0125768

Notes
(0125758)
hgbot   
2021-01-25 17:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.taxexempt/-/merge_requests/3 [^]
(0125759)
hgbot   
2021-01-25 17:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/276 [^]
(0125765)
hgbot   
2021-01-26 07:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/276 [^]
(0125766)
hgbot   
2021-01-26 07:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: afeafb14201ef7563b6db8155249a10342f99d55
Author: Mark <markmm82@gmail.com>
Date: 2021-01-26T06:50:33+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/afeafb14201ef7563b6db8155249a10342f99d55 [^]

Related to BUG-45754: Set BP external information when Tax Exempt is applied

If the BP has information fields related to an external BP Integration, then the ticket will use the BP and also with that external BP information instead of initialize with null.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0125767)
hgbot   
2021-01-26 07:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.taxexempt [^]
Changeset: 2d6f9881439d9ea7bedcf1c521c5ca4e1b32993d
Author: Mark <markmm82@gmail.com>
Date: 2021-01-25T08:14:51-03:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.taxexempt/-/commit/2d6f9881439d9ea7bedcf1c521c5ca4e1b32993d [^]

Fixed BUG-45754: Set BP external information when Tax Exempt is applied

When Tax Exempt module was installed, and the External BP Integration is configured, then this information was lost after execute the Tax Exempt menu action. It was caused by the change of the current selected customer by the one configured in store for tax exemption. This was causing a BP change and reset of the ticket BP but also the external information data.

To fix that, before trigger the BP change all the info regarding external BP info is saved into the BP and this way grants this information isn't lost when the BP is changed.

---
M web/org.openbravo.retail.taxexempt/js/taxExemptButton.js
---
(0125768)
hgbot   
2021-01-26 07:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.taxexempt/-/merge_requests/3 [^]