Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042130Retail ModulesWeb POSpublic2019-10-28 12:272019-11-15 17:13
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q1 
guilleaer
No
0042130: Taxable Amount in Line Tax different from Line Net Amount with composed tax rates and price including taxes
Taxable Amount in Line Tax different from Line Net Amount with composed tax rates and price including taxes
In the backoffice:
   Create the following three tax rates:
   1) Common parameters:
      Tax Category: IVA Normal
      Valid From: today
      Country: Spain
      Destination Country: Spain
      Sales/Purchase Type: Sales
   2) Specific parameters:
   2.1) PARENT
      Summary Level: Y
      Default: Y
   2) CHILD1
      Rate: 2.5
      Base Amount: Line Net Amount
      Parent Tax Rate: PARENT
   3) CHILD2
      Rate: 2.5
      Base Amount: Line Net Amount
      Parent Tax Rate: PARENT

   Modify the price of 3 products to 99, 80 and 100 (check the price includes tax)

In the POS:
   Create a new receipt
   Add the 3 products in that order, first the product with a price of 99, then the product with a price of 80 and then the product with a price of 100
   Pay it

In the backoffice:
   Check the first two lines have the same value in the Line Net Amount and Taxable Amount:
      First line: 94.29
      Second line. 76.19
   Check that the third line has the following values:
      Lines - Line Net Amount: 95.23
      Line Tax - Taxable Amount: 95.24
No tags attached.
Issue History
2019-10-28 12:27ngarciaNew Issue
2019-10-28 12:27ngarciaAssigned To => Retail
2019-10-28 12:27ngarciaResolution time => 1574031600
2019-10-28 12:27ngarciaTriggers an Emergency Pack => No
2019-10-28 12:31ngarciaIssue Monitored: networkb
2019-11-05 12:38ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-11-05 12:38ranjith_qualiantech_comStatusnew => scheduled
2019-11-15 13:30hgbotCheckin
2019-11-15 13:30hgbotNote Added: 0115628
2019-11-15 13:30hgbotStatusscheduled => resolved
2019-11-15 13:30hgbotResolutionopen => fixed
2019-11-15 13:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89d5c89e6ce7e2d1ef44230a1e037e345a0f4f11 [^]
2019-11-15 13:31hgbotCheckin
2019-11-15 13:31hgbotNote Added: 0115629
2019-11-15 17:13guilleaerReview Assigned To => guilleaer
2019-11-15 17:13guilleaerStatusresolved => closed
2019-11-15 17:13guilleaerFixed in Version => RR20Q1

Notes
(0115628)
hgbot   
2019-11-15 13:30   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 89d5c89e6ce7e2d1ef44230a1e037e345a0f4f11
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 15 17:59:48 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89d5c89e6ce7e2d1ef44230a1e037e345a0f4f11 [^]

Fixed issue 42130 : Line Net and tax amount must be adjusted when receipt tax amount is adjusted

* When line net amount is adjusted, net amount in line tax must be adjusted
  When receipt tax amount is adjusted, corresponding tax amount in line tax must be adjusted

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0115629)
hgbot   
2019-11-15 13:31   
Repository: tools/automation/pi-mobile
Changeset: 0cedef5adda0226714fa91f68633a91a7e517eb2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 15 18:01:46 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0cedef5adda0226714fa91f68633a91a7e517eb2 [^]

Verifies issue 42130 : Modified Automated Tests

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/taxes/MultipleLinesSameProductCascadeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/taxes/TwoSetsTaxesWithDependantTaxes.java
---