Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045457Retail ModulesWeb POSpublic2020-11-04 17:352020-11-20 07:29
rafaroda 
prakashmurugesan88 
highmajorhave not tried
closedfixed 
5
 
RR20Q4RR20Q4 
No
0045457: 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 => RR20Q4
2020-11-20 02:14hgbotNote Added: 0124512
2020-11-20 03:03hgbotNote Added: 0124513
2020-11-20 07:29hgbotResolutionopen => fixed
2020-11-20 07:29hgbotStatusscheduled => closed
2020-11-20 07:29hgbotFixed in Version => RR20Q4
2020-11-20 07:29hgbotNote Added: 0124514
2020-11-20 07:29hgbotNote Added: 0124515
2020-11-20 07:29hgbotNote Added: 0124516
2020-11-20 07:29hgbotNote Added: 0124517

Notes
(0124512)
hgbot   
2020-11-20 02:14   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/57 [^]
(0124513)
hgbot   
2020-11-20 03:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/194 [^]
(0124514)
hgbot   
2020-11-20 07:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 42b2a8ab13c3091a1112f0fa6c28ae5867289daa
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-18T18:35:36+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/42b2a8ab13c3091a1112f0fa6c28ae5867289daa [^]

Fixed BUG-45457: 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/app/model/business-object/ticket/actions/CompleteMultiCreditTicket.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0124515)
hgbot   
2020-11-20 07:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/194 [^]
(0124516)
hgbot   
2020-11-20 07:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: a902e7b0659dfc0ecfa71a68c2441c86635273ad
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-18T18:49:20+05:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/a902e7b0659dfc0ecfa71a68c2441c86635273ad [^]

Fixed BUG-45457: 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
---
(0124517)
hgbot   
2020-11-20 07:29   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/57 [^]