Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045378
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2020-11-04 17:352020-11-18 12:30
ReporterrafarodaView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityhighResolutionfixedFixed in VersionRR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045378: When Sell On Credit in a Touchpoint which Touchpoint Type does NOT use simplified invoice, simplified invoice created

DescriptionWhen 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
Steps To ReproduceSee 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
Proposed SolutionShould 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

TagsNOR
Attached Filespatch file icon I45378_20Q3.patch [^] (11,418 bytes) 2020-11-12 13:19 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045344 closedranjith_qualiantech_com A new preference needs to be created for WEB POS that if disable allows to issue a Full Invoice without Customer Tax ID info. 
depends on backport 0045457RR20Q4 closedprakashmurugesan88 When Sell On Credit in a Touchpoint which Touchpoint Type does NOT use simplified invoice, simplified invoice created 
depends on backport 0045458RR20Q3.2 closedprakashmurugesan88 When Sell On Credit in a Touchpoint which Touchpoint Type does NOT use simplified invoice, simplified invoice created 

-  Notes
(0124180)
psanjuan (manager)
2020-11-05 09:27
edited on: 2020-11-05 09:45

Proposed solution:

- If parameter "Generate Simplified Invoice" = No

Openbravo will always create a "Full Invoice" for that sale, if the payment option used is "Sell on Credit".

Openbravo will need to check if the customer has a Tax ID, as a Full Invoice is going to be issued.

If the customer has a tax id, the full invoice can be issued

If the customer does not have a tax id, the system needs to check the preference "WEB POS Full Invoice requires tax id":

If that preference is NO - the full invoice can be issued without a Tax ID
if that preference is YES - an error message is shown, because it is not possible to issue a Full Invoice for a customer that does not have a Tax ID.

(0124288)
hgbot (developer)
2020-11-12 06:56

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/168 [^]
(0124289)
hgbot (developer)
2020-11-12 06:56

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/53 [^]
(0124304)
hgbot (developer)
2020-11-12 11:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 0ae55be222cefac5c1aef636cd52a660c5373259
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-11T07:16:14+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/0ae55be222cefac5c1aef636cd52a660c5373259 [^]

Fixed BUG-45378: 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
---
(0124305)
hgbot (developer)
2020-11-12 11:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/168 [^]
(0124306)
hgbot (developer)
2020-11-12 11:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: aa65a1cfdb7888bff8f9772d93435c4be3eb590e
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-12T06:52:23+05:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/aa65a1cfdb7888bff8f9772d93435c4be3eb590e [^]

Fixed BUG-45378: 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
---
(0124307)
hgbot (developer)
2020-11-12 11:00

Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/53 [^]

- Issue History
Date Modified Username Field Change
2020-11-04 17:35 rafaroda New Issue
2020-11-04 17:35 rafaroda Assigned To => Retail
2020-11-04 17:35 rafaroda Resolution time => 1605567600
2020-11-04 17:35 rafaroda Triggers an Emergency Pack => No
2020-11-04 17:35 rafaroda Tag Attached: NOR
2020-11-05 09:27 psanjuan Note Added: 0124180
2020-11-05 09:27 psanjuan Proposed Solution updated
2020-11-05 09:43 psanjuan Note Edited: 0124180 View Revisions
2020-11-05 09:45 psanjuan Note Edited: 0124180 View Revisions
2020-11-05 10:00 rafaroda Relationship added related to 0045344
2020-11-09 02:16 prakashmurugesan88 Assigned To Retail => prakashmurugesan88
2020-11-09 06:34 prakashmurugesan88 Status new => scheduled
2020-11-12 06:56 hgbot Note Added: 0124288
2020-11-12 06:56 hgbot Note Added: 0124289
2020-11-12 11:00 hgbot Resolution open => fixed
2020-11-12 11:00 hgbot Status scheduled => closed
2020-11-12 11:00 hgbot Fixed in Version => RR21Q1
2020-11-12 11:00 hgbot Note Added: 0124304
2020-11-12 11:00 hgbot Note Added: 0124305
2020-11-12 11:00 hgbot Note Added: 0124306
2020-11-12 11:00 hgbot Note Added: 0124307
2020-11-12 13:19 prakashmurugesan88 File Added: I45378_20Q3.patch
2020-11-18 12:30 marvintm Status closed => new
2020-11-18 12:30 marvintm Resolution fixed => open
2020-11-18 12:30 marvintm Fixed in Version RR21Q1 =>
2020-11-18 12:30 marvintm Status new => scheduled
2020-11-18 12:30 marvintm Status scheduled => resolved
2020-11-18 12:30 marvintm Fixed in Version => RR21Q1
2020-11-18 12:30 marvintm Resolution open => fixed
2020-11-18 12:30 marvintm Review Assigned To => marvintm
2020-11-18 12:30 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker