Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040093Retail ModulesOmnichannelpublic2019-01-31 17:212019-03-05 09:38
plujan 
ranjith_qualiantech_com 
normalminorhave not tried
closedfixed 
5
main 
RR19Q2 
jorge-garcia
Packaging and release
2018-11-08
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8bb7e3c1aa17 [^]
No
0040093: [RR19Q1] [OMNI] The "Invoice" checkbox can be visually removed from paid tickets
When a ticket has been invoiced, a checkbox labelled "Invoice" is shown. For draft tickets, it is possible to click this check to remove it and to add it again using the "Invoice this receipt" menu option.

However, in previous releases, trying to remove the check from a paid ticket generated a pop up error message "This order cannot be edited", while in current release there is no pop up and the check is removed. It is true that the change is simply visual (reloading the same ticket will show the check again)
1. Create a ticket with a line
2. Select the menu option "Invoice this receipt" and pay it by its total amount. Note a check labelled "Invoice" is shown.
3. Go to the Open Receipt menu option and select the ticket to open it
4. Note the "Invoice" checkbox and click it. The checkbox now is not shown. Repeat these steps in 18Q4 and check an error message is shown "This order cannot be edited"
5. Close the ticket and open it again, note the check that is still shown, so the uncheck in step 4 is just visual.
No tags attached.
depends on backport 0040224RR19Q1 closed ranjith_qualiantech_com [RR19Q1] [OMNI] The "Invoice" checkbox can be visually removed from paid tickets 
blocks defect 0040390 closed Retail [RR19Q1] The "Invoice this receipt" menu option is available for closed tickets 
Issue History
2019-01-31 17:21plujanNew Issue
2019-01-31 17:21plujanAssigned To => Retail
2019-01-31 17:21plujanRegression level => Packaging and release
2019-01-31 17:21plujanTriggers an Emergency Pack => No
2019-02-04 12:50ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-02-04 12:50ranjith_qualiantech_comStatusnew => scheduled
2019-02-04 13:03ranjith_qualiantech_comRegression date => 2018-11-08
2019-02-04 13:03ranjith_qualiantech_comRegression introduced in release => pi
2019-02-04 13:03ranjith_qualiantech_comRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8bb7e3c1aa17 [^]
2019-02-05 09:05hgbotCheckin
2019-02-05 09:05hgbotNote Added: 0109567
2019-02-05 09:05hgbotStatusscheduled => resolved
2019-02-05 09:05hgbotResolutionopen => fixed
2019-02-05 09:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/262969db0fded50b1bebbbdbcd9ece28fb0e21ea [^]
2019-02-05 09:05hgbotCheckin
2019-02-05 09:05hgbotNote Added: 0109568
2019-02-15 14:38marvintmStatusresolved => new
2019-02-15 14:38marvintmResolutionfixed => open
2019-02-15 14:38marvintmStatusnew => scheduled
2019-02-15 14:38marvintmStatusscheduled => resolved
2019-02-15 14:38marvintmFixed in Version => RR19Q2
2019-02-15 14:38marvintmResolutionopen => fixed
2019-02-19 10:42hgbotCheckin
2019-02-19 10:42hgbotNote Added: 0109925
2019-02-28 10:10jorge-garciaReview Assigned To => jorge-garcia
2019-03-01 08:01ranjith_qualiantech_comNote Added: 0110137
2019-03-01 08:01ranjith_qualiantech_comStatusresolved => new
2019-03-01 08:01ranjith_qualiantech_comResolutionfixed => open
2019-03-01 08:01ranjith_qualiantech_comFixed in VersionRR19Q2 =>
2019-03-01 14:38ranjith_qualiantech_comStatusnew => scheduled
2019-03-04 14:33hgbotCheckin
2019-03-04 14:33hgbotNote Added: 0110189
2019-03-04 14:35hgbotCheckin
2019-03-04 14:35hgbotNote Added: 0110190
2019-03-04 14:35hgbotStatusscheduled => resolved
2019-03-04 14:35hgbotResolutionopen => fixed
2019-03-04 14:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/262969db0fded50b1bebbbdbcd9ece28fb0e21ea [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5361c109b40dc74d0a4fd9fda41868253e307728 [^]
2019-03-04 14:39hgbotCheckin
2019-03-04 14:39hgbotNote Added: 0110191
2019-03-04 14:39hgbotCheckin
2019-03-04 14:39hgbotNote Added: 0110192
2019-03-05 09:38jorge-garciaNote Added: 0110219
2019-03-05 09:38jorge-garciaStatusresolved => closed
2019-03-05 09:38jorge-garciaFixed in Version => RR19Q2
2019-03-15 10:05plujanRelationship addedblocks 0040390

Notes
(0109567)
hgbot   
2019-02-05 09:05   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 262969db0fded50b1bebbbdbcd9ece28fb0e21ea
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 05 13:35:21 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/262969db0fded50b1bebbbdbcd9ece28fb0e21ea [^]

Fixed issue 40093 : Invoice Flag should not be updated when receipt is not editable

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0109568)
hgbot   
2019-02-05 09:05   
Repository: tools/automation/pi-mobile
Changeset: 8b45857a09661701c5ba9ecbf607113c6a071b0d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 05 13:35:35 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8b45857a09661701c5ba9ecbf607113c6a071b0d [^]

Verifies issue 40093 : Added Automated Test 'I40093_VerifyInvoiceFlagInPaidReceipt'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I40093_VerifyInvoiceFlagInPaidReceipt.java
---
(0109925)
hgbot   
2019-02-19 10:42   
Repository: tools/automation/pi-mobile
Changeset: 86bafed98bc23a19a7f42511318eeda3410041b9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 19 15:12:04 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/86bafed98bc23a19a7f42511318eeda3410041b9 [^]

Fixed Quarantine Failing Omni Prepayment Tests

* Completed Receipt cannot be set as Invoice. So Receipt Invoice is updated before completing the receipt
* Issue was failing due to issue 40093

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsDeferredServicePrepayment290.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsPrepaymentAmountLayaway280.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediateServiceAsPerProductUndeliverableProductPrepayment250.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediateServiceUniqueQuantityUndeliverableProductPrepayment260.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI060_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterOrderDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI190_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterDelivery.java
---
(0110137)
ranjith_qualiantech_com   
2019-03-01 08:01   
Fix is not correct and it needs to be fixed based on the implementation of prepayments
(0110189)
hgbot   
2019-03-04 14:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 972bc7f8ebb5cafd4210cf843df8164807a02468
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 04 19:03:04 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/972bc7f8ebb5cafd4210cf843df8164807a02468 [^]

Related to issue 40093 : Backed out changeset: 262969db0fde

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0110190)
hgbot   
2019-03-04 14:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5361c109b40dc74d0a4fd9fda41868253e307728
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 04 19:05:38 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5361c109b40dc74d0a4fd9fda41868253e307728 [^]

Fixed issue 40093 : Invoice should not be genereated if it is already generated

* Currently, Invoice can be generated for completed receipt also.
  So if invoice is generated for the order, we should not allow to enable invoice again

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0110191)
hgbot   
2019-03-04 14:39   
Repository: tools/automation/pi-mobile
Changeset: 396eb07542cde1524e83b15eb5f8f8f88f54abd7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 04 19:03:00 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/396eb07542cde1524e83b15eb5f8f8f88f54abd7 [^]

Related to issue 40093 : Backed out changeset: 86bafed98bc2

Backed out changeset: 1573ea0380ff

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsDeferredServicePrepayment290.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsPrepaymentAmountLayaway280.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediateServiceAsPerProductUndeliverableProductPrepayment250.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediateServiceUniqueQuantityUndeliverableProductPrepayment260.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI060_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterOrderDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI190_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterDelivery.java
---
(0110192)
hgbot   
2019-03-04 14:39   
Repository: tools/automation/pi-mobile
Changeset: a46f649e3f3703e2f4d88c350fb55081db1a0c58
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 04 19:09:19 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a46f649e3f3703e2f4d88c350fb55081db1a0c58 [^]

Verifies issue 40093 : Modified Automated Test 'I40093_VerifyInvoiceFlagInPaidReceipt'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsDeferredServicePrepayment290.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsPrepaymentAmountLayaway280.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI060_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterOrderDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI190_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I40093_VerifyInvoiceFlagInPaidReceipt.java
---
(0110219)
jorge-garcia   
2019-03-05 09:38   
Code reviewed and tested