Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028310Retail ModulesWeb POSpublic2014-11-28 05:092015-01-30 17:14
sureshbabu 
migueldejuana 
urgentcriticalalways
closedfixed 
5
RR14Q3.1 
RR15Q1 
marvintm
QA functional test
2014-04-28
RR14Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb957d9eb94f [^]
No
0028310: [RR14Q3.2] Generate invoice for orders feature not working
 Generate invoice for orders feature not working .

After selecting the option "Generate invoice for orders" at POS Terminal type window, when the user creates receipt from webpos system not generating invoice for the receipt, also at webpos Invoice label not appearing by default.

This feature was working fine before and not sure when and where this regression was introduced.
1) From ERP, at POS Terminal type window select the option "Generate invoice for orders"

2) Then Navigate to WEB POS, and create a receipt.

Defect 1: one can find Invoice label not appearing by default at web POS

3) Then complete the receipt by adding any product.

4) Navigate back to ERP and check the sales order details, one can find at status bar Invoice Status shows 0%.

5) Also navigate to Sales invoice window, one can find there is no (respective)corresponding sales invoice generated for the created sales order.

No tags attached.
related to defect 0028320 closed migueldejuana If we change to a bp without tax ID, we could Invoice an order 
Issue History
2014-11-28 05:09sureshbabuNew Issue
2014-11-28 05:09sureshbabuAssigned To => marvintm
2014-11-28 05:09sureshbabuRegression level => QA functional test
2014-11-28 05:09sureshbabuTriggers an Emergency Pack => No
2014-11-28 09:08migueldejuanaAssigned Tomarvintm => migueldejuana
2014-11-28 13:05hgbotCheckin
2014-11-28 13:05hgbotNote Added: 0072130
2014-11-28 13:05hgbotStatusnew => resolved
2014-11-28 13:05hgbotResolutionopen => fixed
2014-11-28 13:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/014fd557be33422a523b2fe7ee0437e961b90348 [^]
2014-11-28 13:07migueldejuanaRegression date => 2014-04-28
2014-11-28 13:07migueldejuanaRegression introduced in release => RR14Q3
2014-11-28 13:07migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb957d9eb94f [^]
2014-11-28 13:36migueldejuanaRelationship addedrelated to 0028320
2014-12-09 16:44marvintmReview Assigned To => marvintm
2014-12-09 16:44marvintmStatusresolved => closed
2014-12-09 16:44marvintmFixed in Version => RR15Q1
2015-01-30 17:14hgbotCheckin
2015-01-30 17:14hgbotNote Added: 0073957

Notes
(0072130)
hgbot   
2014-11-28 13:05   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 014fd557be33422a523b2fe7ee0437e961b90348
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Nov 28 13:04:39 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/014fd557be33422a523b2fe7ee0437e961b90348 [^]

Fixed issue 0028310: [RR14Q3.2] Generate invoice for orders feature not working

We should not confuse functionality preference with permission preference.

- Permission preference: Allow or not us to see or do depending on client/role/user... i.e.: OB.MobileApp.model.hasPermission('OBPOS_retail.restricttaxidinvoice')

- Functionality preference: Enable/Disabled functionalities/validations... i.e.: OB.MobileApp.model.hasPermission('OBPOS_retail.restricttaxidinvoice', true)

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0073957)
hgbot   
2015-01-30 17:14   
Repository: tools/automation/pi-mobile
Changeset: c807d403e66d70478706b7b5de49eb8b6ce2df7a
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Jan 30 15:46:14 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c807d403e66d70478706b7b5de49eb8b6ce2df7a [^]

Related to issue 28310: Added the 'I28310_GenerateInvoiceForOrders' test
* * *
Related to issue 28310: Added the 'I28310_GenerateInvoiceForOrders' test (II)

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/SystemSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I28310_GenerateInvoiceForOrders.java
---