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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054261
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-01-08 09:072024-02-02 08:21
ReporterucarrionView Statuspublic 
Assigned Toucarrion 
PriorityhighResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054261: [Assign Customer] - Error when using Assign Customer aside a Checkout action

DescriptionWhen clicking on pay without a client assigned to a ticket > 3000€ with the Spanish Fiscalization enabled, as it is mandatory to issue an invoice, the Assign Customer window is displayed.

When clicking on the 'Cancel' button, an unclear error message is displayed “_Action Canceled_“.

When clicking on the 'Ok' button (assigning a customer) the threshold error message doesn't show up, when it should.

The problem seems related to the Assign Customer action/error handling. Please make sure the flag 'Customer Seach Before Payment' is enabled at Organization level.
Steps To ReproduceConfigure the Spanish Fiscalizaton module in a POS2 environment with modules
and enable the 'Customer Search Before Payment' at Organization level.

Add articles to go over 3000€ total amount of the ticket

Do not assign a customer

Click on pay

Click on Cancel

Error message is displayed in the left bottom corner “Action Canceled”

The correct message would be the error message displayed when trying to pay with a customer assigned but without an invoice issued.
TagsNo tags attached.
Attached Filespng file icon image (1).png [^] (121,804 bytes) 2024-01-08 09:07


png file icon image (2).png [^] (111,807 bytes) 2024-01-08 09:07

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0053978 closedifernandez Refactor Fiscalization modules to match the Fiscal API requests 
related to feature request 0054234 closedjayala Launch the customer search when a new ticket is created 

-  Notes
(0159307)
ifernandez (developer)
2024-01-15 10:26

Checked out the Fiscalization modules and not encountered any error on the message handler.

Also, tried some tests with the hook openSearchForCustomer. (Changed priority, changed place from ob-init to the UserAction SwitchToPayments, and changing it from a Pre hook to a Post hook) None of them worked as expected.

The one that was closer to a solution was the priority change, in that case, the error message was displayed before the assign customer, so the action was cancelled correctly, but when using other fiscalization modules (as Italy) the popups didn't worked as expected, because there was a duplicated request.

Also, the priority change isn't a well seen solution because the Assign Customer should be performed before the Fiscalization/Checkout actions.
(0160085)
Rajesh_18 (developer)
2024-02-01 12:58

Unable to reproduce
https://drive.google.com/file/d/1grIX4yjzD_qFlLAC-Lvrh29gbYiKrAh9/view?usp=drive_link [^]
(0160127)
ucarrion (developer)
2024-02-02 08:19
edited on: 2024-02-02 08:21

Confirmed, unable to reproduce it in the client instance:
https://vimeo.com/908976969/5e3d166195?share=copy [^]

Could be corrected by: https://issues.openbravo.com/view.php?id=54234 [^]


- Issue History
Date Modified Username Field Change
2024-01-08 09:07 ucarrion New Issue
2024-01-08 09:07 ucarrion Assigned To => Retail
2024-01-08 09:07 ucarrion Triggers an Emergency Pack => No
2024-01-08 09:07 ucarrion Assigned To Retail => ucarrion
2024-01-08 09:07 ucarrion Assigned To ucarrion => Triage Omni OMS
2024-01-08 09:07 ucarrion File Added: image (1).png
2024-01-08 09:07 ucarrion File Added: image (2).png
2024-01-08 09:11 ucarrion Relationship added related to 0053978
2024-01-15 10:26 ifernandez Note Added: 0159307
2024-01-15 10:26 ifernandez Assigned To Triage Omni OMS => Retail
2024-01-15 10:26 ifernandez Summary [Spain Fiscal] - ActionCanceled error message when trying to pay a ticket over threshold => [Assign Customer] - Error when using Assign Customer aside a Checkout action
2024-01-15 10:26 ifernandez Description Updated View Revisions
2024-01-15 10:26 ifernandez Steps to Reproduce Updated View Revisions
2024-01-15 10:37 ifernandez Steps to Reproduce Updated View Revisions
2024-01-31 13:42 nicola_uva Assigned To Retail => Triage Omni OMS
2024-01-31 22:09 aferraz Assigned To Triage Omni OMS => Retail
2024-02-01 12:26 Rajesh_18 Assigned To Retail => Rajesh_18
2024-02-01 12:58 Rajesh_18 Note Added: 0160085
2024-02-01 12:58 Rajesh_18 Status new => closed
2024-02-01 12:58 Rajesh_18 Resolution open => unable to reproduce
2024-02-01 13:00 ucarrion Assigned To Rajesh_18 => ucarrion
2024-02-01 13:00 ucarrion Status closed => new
2024-02-01 13:00 ucarrion Resolution unable to reproduce => open
2024-02-02 08:19 ucarrion Note Added: 0160127
2024-02-02 08:19 ucarrion Status new => closed
2024-02-02 08:19 ucarrion Resolution open => unable to reproduce
2024-02-02 08:21 ucarrion Relationship added related to 0054234
2024-02-02 08:21 ucarrion Note Edited: 0160127 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker