Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039121Retail ModulesWeb POSpublic2018-08-10 13:472019-01-08 23:29
ngarcia 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR19Q1 
marvintm
No
0039121: Total amount is not calculated if a BOM product with As Per BOM tax category without BOM Price is included in a receipt
Total amount is not calculated if a BOM product with As Per BOM tax category without BOM Price is included in a receipt
In the backend:
   Create a Product
   Set it as Stocked = 'N' and Bill Of Materials
   Set As Per BOM Tax Category
   Add a product to it in Bill Of Materials tab and do not set a BOM Price
   Verify BOM
   Add it to the store's price list and assortment
   

In the POS:
   Create a new receipt
   Add the previously created product and check an error is shown:

      "Cannot read property 'toString' of null..."

   The total amount of the ticket is not calculated
No tags attached.
Issue History
2018-08-10 13:47ngarciaNew Issue
2018-08-10 13:47ngarciaAssigned To => Retail
2018-08-10 13:47ngarciaTriggers an Emergency Pack => No
2018-08-10 13:47ngarciaIssue Monitored: networkb
2018-10-01 14:54rqueraltaAssigned ToRetail => rqueralta
2018-10-01 14:55rqueraltaStatusnew => scheduled
2018-10-08 03:53hgbotCheckin
2018-10-08 03:53hgbotNote Added: 0107204
2018-10-08 03:53hgbotStatusscheduled => resolved
2018-10-08 03:53hgbotResolutionopen => fixed
2018-10-08 03:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/822653867126763513dc6b5b544971e4ad118740 [^]
2018-10-16 15:12hgbotCheckin
2018-10-16 15:12hgbotNote Added: 0107337
2018-10-29 12:45marvintmReview Assigned To => marvintm
2018-10-29 12:45marvintmStatusresolved => closed
2018-10-29 12:45marvintmFixed in Version => RR19Q1
2019-01-08 23:29hgbotCheckin
2019-01-08 23:29hgbotNote Added: 0108862

Notes
(0107204)
hgbot   
2018-10-08 03:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 822653867126763513dc6b5b544971e4ad118740
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Oct 02 17:39:37 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/822653867126763513dc6b5b544971e4ad118740 [^]

Fixed issue 39121: Total amount is not calculated if a BOM product with As Per
BOM tax category without BOM Price is included in a receipt

If a BOM product related with this product has no definite price, a exception
is thrown and a message is shown to the user.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0107337)
hgbot   
2018-10-16 15:12   
Repository: tools/automation/pi-mobile
Changeset: 2455bb848be0c07d6ddbd0f1e32dfe0e08ff02a1
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Fri Oct 12 12:39:21 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2455bb848be0c07d6ddbd0f1e32dfe0e08ff02a1 [^]

Related to issue 39121: added automated test

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I39121_VerifyTotalAmountWithBOMProduct.java
---
(0108862)
hgbot   
2019-01-08 23:29   
Repository: tools/automation/pi-mobile
Changeset: f6bc6f4853839a4ce7d6c0276e0376f3e7219621
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Thu Dec 20 13:48:36 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f6bc6f4853839a4ce7d6c0276e0376f3e7219621 [^]

Related to issue 39121: test has been refactored due to it doesn't create its
own sampledata anymore.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I39121_VerifyTotalAmountWithBOMProduct.java
---