Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041665Retail ModulesWeb POSpublic2019-08-19 17:482019-10-29 14:43
francisco 
rqueralta 
highmajoralways
newopen 
5
 
 
No
0041665: Error With return verified if the business partner price list is changed
Error With return verified if the business partner price list has changed
Tested in retail_modules_pgsql_pi
Steps to reproduce:
Go to BackEnd:
Enable the preference Web POS Enable Multi Price List
Create a pricelist "Test" without including tax
We add the product 1502145 and set the price 20
In Business partner window we assign the price list Test to Arturo Montoro

Go to FrontEnd:
Select business partner Arturo Montoro
Buy the product 1502145

Go to BackEnd
In the window Business partner change for Arturo Montoro the priceList to the pricelist "The White Valley Group Sale Price List"

Go to the POS and do full refresh
In the menu click on verified returns and select the previous order you bought
You get the error "Cannot calculate receipt taxes"

If you do the operation the other way around:
Buying with the price list "The White Valley Group Sale Price List" that include tax.
And later changes the price list To Test in business partner. The return will add the taxes making the amount bigger than the one was paid at first time

Note:Screenshots attached
No tags attached.
causes defect 0041927 closed ranjith_qualiantech_com Data inconsistency is provoked when multiprice list is used in WEBPOS [ Quotations and Verified Returns ] 
png biggeramount.png (69,791) 2019-08-19 17:48
https://issues.openbravo.com/file_download.php?file_id=13245&type=bug
png
Issue History
2019-08-19 17:48franciscoNew Issue
2019-08-19 17:48franciscoAssigned To => Retail
2019-08-19 17:48franciscoFile Added: biggeramount.png
2019-08-19 17:48franciscoResolution time => 1567980000
2019-08-19 17:48franciscoTriggers an Emergency Pack => No
2019-08-19 17:52jfrancesIssue Monitored: jfrances
2019-08-20 14:43rqueraltaAssigned ToRetail => rqueralta
2019-09-02 13:33hgbotCheckin
2019-09-02 13:33hgbotNote Added: 0114356
2019-09-02 13:33hgbotStatusnew => resolved
2019-09-02 13:33hgbotResolutionopen => fixed
2019-09-02 13:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b5ee2a511b8ff2d645c7670c1ca54e858ac97ccf [^]
2019-09-12 09:21hgbotCheckin
2019-09-12 09:21hgbotNote Added: 0114540
2019-09-12 09:21marvintmStatusresolved => new
2019-09-12 09:21marvintmResolutionfixed => open
2019-09-12 09:25marvintmNote Added: 0114541
2019-09-12 09:25marvintmTypedefect => design defect
2019-09-12 09:26marvintmResolution time1567980000 =>
2019-10-03 16:27salvador_campanellaRelationship addedcauses 0041927
2019-10-11 11:34franciscoNote Added: 0115035
2019-10-14 16:38franciscoResolution time => 1572562800
2019-10-25 09:55marvintmResolution time1572562800 =>
2019-10-29 14:43matias-bernalIssue Monitored: matias-bernal

Notes
(0114356)
hgbot   
2019-09-02 13:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b5ee2a511b8ff2d645c7670c1ca54e858ac97ccf
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Aug 30 17:53:47 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b5ee2a511b8ff2d645c7670c1ca54e858ac97ccf [^]

Fixed issue 41665: Error With return verified if the business partner price list
is changed

- If preference Web POS Enable Multi Price List is true, now we check if the
priceIncludesTax flag of the lines and if it is diffente of the receipt, we
change the receipt value property.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0114540)
hgbot   
2019-09-12 09:21   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a8c88799d39c8594844c1261bc375ce13b8d9538
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Sep 12 09:20:48 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a8c88799d39c8594844c1261bc375ce13b8d9538 [^]

Related to issue 41665. The multipricelist flows are not designed to work with different kinds of pricelists which include and not include tax

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0114541)
marvintm   
2019-09-12 09:25   
It is currently not possible to use in the same terminal pricelists which include taxeswith pricelists that do not include them. This is true for all flows, regardless of how you managed to combine these pricelists in the same terminal (so it is true if using multipricelist, it's also true if the pricelist itself was changed, and it is true also if the pricelist used by the organisation is changed).
(0115035)
francisco   
2019-10-11 11:34   
After support have spoken with Antonio, there is a workaround when the change is from pricelist with tax to pricelist without tax