Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0051023Openbravo LocalizationsLocalization Italypublic2022-11-28 16:532023-02-14 09:59
ucarrion 
fermin_gascon 
highmajoralways
closedfixed 
5
 
 
0051023: Italian returns fiscalized via RT Printer must be printed once instead of twice
Italian returns fiscalized via RT Printer must be printed once instead of twice.
-Login an Italian terminal connected to the RTPrinter.
-Do a sale and pay for it.
-Do the verified return of the previous sale.
-Check the return is printed twice.
No tags attached.
related to defect 0051328 closed fermin_gascon Incorrect operator in the fiscalization request when doing a reprint request of a returns transaction 
causes defect 0052008 closed fermin_gascon Original Transaction Fiscal Information not saved if the returns invoice not printed twice 
Issue History
2022-11-28 16:53ucarrionNew Issue
2022-11-28 16:53ucarrionAssigned To => psanjuan
2022-11-28 16:56javietxeIssue Monitored: javietxe
2022-12-13 11:14ucarrionNote Added: 0144577
2022-12-13 12:36psanjuanNote Added: 0144586
2022-12-13 12:36psanjuanTypedefect => design defect
2022-12-13 18:10aferrazAssigned Topsanjuan => ucarrion
2022-12-13 18:11aferrazStatusnew => feedback
2023-01-11 16:28ucarrionNote Added: 0145266
2023-01-11 16:29ucarrionAssigned Toucarrion => psanjuan
2023-01-11 16:29ucarrionStatusfeedback => new
2023-01-17 13:16psanjuanNote Added: 0145495
2023-01-17 16:53psanjuanNote Added: 0145516
2023-01-17 16:53psanjuanStatusnew => feedback
2023-01-18 10:05ucarrionNote Added: 0145538
2023-01-18 10:05ucarrionStatusfeedback => new
2023-01-23 11:21psanjuanNote Added: 0145737
2023-01-31 14:59ucarrionRelationship addedrelated to 0051328
2023-02-01 13:37psanjuanNote Added: 0146120
2023-02-14 09:59adrianromeroStatusnew => scheduled
2023-02-14 09:59adrianromeroStatusscheduled => resolved
2023-02-14 09:59adrianromeroResolutionopen => fixed
2023-02-14 09:59adrianromeroAssigned Topsanjuan => fermin_gascon
2023-02-14 09:59adrianromeroNote Added: 0146506
2023-02-14 09:59adrianromeroStatusresolved => closed
2023-03-30 09:13ucarrionRelationship addedcauses 0052008

Notes
(0144577)
ucarrion   
2022-12-13 11:14   
I checked the configuration workaround by setting the 'Print Return order once instead twice in Web Pos' preference to 'Y' as discussed with Patricia and Álvaro but it is not working as we expect. In fact, what we are printing is not the order in OB terms but the invoice.

Based on the approach above, being able to control this with a preference would be good.
(0144586)
psanjuan   
2022-12-13 12:36   
This issue is not a bug/defect as it is implemented as defined.

Issue changed to "design defect" in order to change the logic to take advantage of a preference, if this request is finally approved as currently this is being clarified with the customer (Norauto)
(0145266)
ucarrion   
2023-01-11 16:28   
Patricia, what is the next due date for this?
(0145495)
psanjuan   
2023-01-17 13:16   
We can not change this behavior to print now two and then only once, therefore we should somehow configure this behavior with a preference. To be defined.
(0145516)
psanjuan   
2023-01-17 16:53   
As discussed, let us understand why the customer is requesting now this change.
(0145538)
ucarrion   
2023-01-18 10:05   
Last feedback provided by Giorgia Li Pira (PM Norauto Italy):

There is no scenario in which a return invoice (ticket de retour) is given to the customer. There are two kinds of return scenarios:

--The reimbursment is done in cash, so the money is refunded instantaneously to the customer.

--The customer is taking another article so no reimbursment is done, but a new sale is generated.

As far as she let me know, there is no obligation to issue the returns ticket.

On the other hand, as we mentioned in our last call, I propose you to make it configurable as it is for the order documents so with a preference we are able to set it as we want. It would be easier from an standard product perspective, in my opinion.
(0145737)
psanjuan   
2023-01-23 11:21   
Proposed solution:
- A new preference is going to be created named "Print Return invoice once instead twice in Web Pos" do not enabled by default, as return invoice will be printed twice by default. Current behavior.
- If this preference is enabled "value = Yes", the corresponding "simplified return invoice" or "return invoice" will only be printed once.

This new feature needs also to be supported by the RT-Printer integration, therefore if that preference is enabled simplified verified or blind return sales "Commercial Refund/Return" Fiscal document (Documento Commercial emesso fer RESO MERCE) will only be printed once.
(0146120)
psanjuan   
2023-02-01 13:37   
As preferences is not the way to go in POS2, we will create a (yes/no) parameter (checkbox), at Organization level under "Retail Configuration" section.

Name = "Print return sales invoice twice"
Default value = Yes

Above is current behavior.

If the end-customer set this field to NO, only one copy of the sales return invoice will be printed instead.
(0146506)
adrianromero   
2023-02-14 09:59   
Fixed in https://gitlab.com/openbravo/customers/NOR/org.openbravo.retail.rtprinter/-/merge_requests/31 [^]