Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045458Retail ModulesWeb POSpublic2020-11-04 17:352020-11-19 08:11
rafaroda 
prakashmurugesan88 
highmajorhave not tried
closedfixed 
5
 
RR20Q3.2RR20Q3.2 
No
0045458: When Sell On Credit in a Touchpoint which Touchpoint Type does NOT use simplified invoice, simplified invoice created
When Sell On Credit in a Touchpoint which Touchpoint Type does NOT use simplified invoice, simplified invoice created with simplified invoice prefix and simplified invoice document sequence of the terminal (if the prefix is null it puts null)

Doing a credit Sale / Sell On Credit always generates an invoice automatically (to update the Credit): this is OK

But when doing it in a Touchpoint which Touchpoint Type with Simplified Invoice = N, it should take the Full Invoice prefix and full invoice sequence number of the terminal
See video with explanation https://drive.google.com/file/d/1lBDPqexRjE8NruroGmaJWW0k0AMVOi0X/view?usp=sharing [^]
* Update user Carl to put a Credit Line Limit = 1000 https://livebuilds.openbravo.com/retail_modules_pgsql_pi/?tabId=220&recordId=D5BF95FA079B4248B2CA2E2DA477D1B8 [^]
* In touchpoint type: mark Allow Pay On Credit = Y https://livebuilds.openbravo.com/retail_modules_pgsql_pi/?tabId=D01039797B054BE69CA5770B8CFB933C&recordId=BD39916225594B32A88983899CF05F72 [^]
* This Touchpoint Type is marked as Simplified Invoice = N
* In the WebPOS, do a credit sale for user Carl: it will generate an invoice with the simplified invoice prefix and simplified invoice document sequence
* You can check it by recalling the ticket and click on Menu > Print
Should take the Full Invoice prefix and full invoice sequence number of the terminal if we are in a terminal which touchpoint type is defined as Simplified Invoice = N

No tags attached.
blocks defect 0045378 closed prakashmurugesan88 When Sell On Credit in a Touchpoint which Touchpoint Type does NOT use simplified invoice, simplified invoice created 
Issue History
2020-11-18 12:30marvintmTypedefect => backport
2020-11-18 12:30marvintmTarget Version => RR20Q3.2
2020-11-19 04:47hgbotNote Added: 0124497
2020-11-19 04:50hgbotNote Added: 0124498
2020-11-19 08:10hgbotResolutionopen => fixed
2020-11-19 08:10hgbotStatusscheduled => closed
2020-11-19 08:10hgbotNote Added: 0124502
2020-11-19 08:10hgbotFixed in Version => RR20Q3.2
2020-11-19 08:10hgbotNote Added: 0124503
2020-11-19 08:10hgbotNote Added: 0124504
2020-11-19 08:11hgbotNote Added: 0124505

Notes
(0124497)
hgbot   
2020-11-19 04:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/192 [^]
(0124498)
hgbot   
2020-11-19 04:50   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/56 [^]
(0124502)
hgbot   
2020-11-19 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/192 [^]
(0124503)
hgbot   
2020-11-19 08:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 091240b78abd05ced2500da1d9358a6ac5bc5ede
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-18T19:23:40+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/091240b78abd05ced2500da1d9358a6ac5bc5ede [^]

Fixed BUG-45458: Fixes Simplified Invoice being created with Generate Simplified Invoice flag false
* Validated in Sell On Credit that if Generate Simplified Invoice is false then Full Invoice is set

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0124504)
hgbot   
2020-11-19 08:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 02b394db1503c4422a17125f272c61fb0da3c3aa
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-18T19:52:55+05:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/02b394db1503c4422a17125f272c61fb0da3c3aa [^]

Fixed BUG-45458: Fixed test to handle new validations in sell on credit for anonymous customer

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/certification_france/OBCFRTestBase.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/NotAnonymousCustomerVerfiyPaidOnCredit.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37776_VerifyCreditButton.java
---
(0124505)
hgbot   
2020-11-19 08:11   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/56 [^]