Openbravo Issue Tracking System - Openbravo Localizations |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049160 | Openbravo Localizations | Localization Spain | public | 2022-04-28 09:56 | 2022-05-19 13:16 |
|
Reporter | wicherr | |
Assigned To | igor_trebol | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0049160: return tickets at 0€ are recorded as "Return Material Sales Invoice" but Invoice Type Key = Invoice |
Description | Return tickets at 0€ are recorded as "Return Material Sales Invoice" but Invoice Type Key = Invoice instead of :
- Invoice Type Key = "Corrective invoice"
- Rectification Invoice Type = "Difference"
- Rectification Reason = R1 or R5
So the sent to SII fails with the message : Si el documento de transacción es 'Reversed Invoice' la 'Clave tipo factura' NO puede ser 'Factura'. |
Steps To Reproduce | - Create a return
- Put the product at 0€
- Invoice the ticket
- "Pay" and save
- Check the invoice
- Sent the invoice to SII |
Proposed Solution | Fix the integration of the invoice checking the document type of the invoice also to fill the specific fields for SII
Scenario 3 - NOT CORRECT
- create a new sale, select the anonymous customer and enter a line.
- change the price of the product to 0
- Select the option "Return this Receipt" so the quantity of the order is negative.
- Complete the sale
In the backoffice: A VBS Reversed Sales Simplified Invoice has been created . SII Invoice Type = Simplified invoice - THIS IS NOT CORRECT IT SHOULD BE: invoice Type Key = "Corrective Invoice" - "Rectification Invoice Type" = Differences and "Rectification Reason " R5
Scenario 4 - NOT CORRECT
- create a new sale, select a customer and enter a line.
- change the price of the product to 0
- Use the option Issue Invoice
- Select also the option "Return this Receipt" so the quantity of the order is negative.
- Complete the sale
In the backoffice: A VBS Reversed Sales Invoice has been created. SII Invoice Type = invoice - THIS IS NOT CORRECT IT SHOULD BE: invoice Type Key = "Corrective Invoice" - "Rectification Invoice Type" = Differences and "Rectification Reason " R1 |
Additional Information | |
Tags | NOR |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-04-28 09:56 | wicherr | New Issue | |
2022-04-28 09:56 | wicherr | Assigned To | => psanjuan |
2022-04-28 09:56 | wicherr | Tag Attached: NOR | |
2022-04-28 16:51 | psanjuan | Note Added: 0136839 | |
2022-04-28 16:57 | psanjuan | Note Edited: 0136839 | bug_revision_view_page.php?bugnote_id=0136839#r23980 |
2022-04-28 16:57 | psanjuan | Proposed Solution updated | |
2022-04-28 17:39 | rafaroda | Issue Monitored: rafaroda | |
2022-04-29 11:08 | psanjuan | Note Added: 0136861 | |
2022-05-03 10:09 | psanjuan | Note Edited: 0136861 | bug_revision_view_page.php?bugnote_id=0136861#r24003 |
2022-05-03 15:58 | psanjuan | Note Edited: 0136861 | bug_revision_view_page.php?bugnote_id=0136861#r24006 |
2022-05-03 15:58 | psanjuan | Assigned To | psanjuan => vmromanos |
2022-05-03 16:06 | psanjuan | Note Edited: 0136861 | bug_revision_view_page.php?bugnote_id=0136861#r24007 |
2022-05-03 16:46 | vmromanos | Assigned To | vmromanos => aferraz |
2022-05-12 16:54 | aferraz | Assigned To | aferraz => igor_trebol |
2022-05-16 15:49 | igor_trebol | Note Added: 0137341 | |
2022-05-16 16:36 | hgbot | Note Added: 0137342 | |
2022-05-17 13:47 | hgbot | Resolution | open => fixed |
2022-05-17 13:47 | hgbot | Status | new => closed |
2022-05-17 13:47 | hgbot | Note Added: 0137382 | |
2022-05-17 13:47 | hgbot | Note Added: 0137383 | |
2022-05-17 15:18 | hgbot | Note Added: 0137390 | |
2022-05-19 13:16 | psanjuan | Note Added: 0137535 | |
Notes |
|
(0136839)
|
psanjuan
|
2022-04-28 16:51
(edited on: 2022-04-28 16:57) |
|
Go to Web POS:
Scenario 1 - CORRECT
- create a new sale, select the anonymous customer and enter a line.
- change the price of the product to 0
- Complete the sale
In the backoffice: A VBS AR Simplified Invoice has been created. SII Invoice Type = Simplified invoice
Scenario 2 - CORRECT
- create a new sale, select a customer and enter a line.
- change the price of the product to 0
- Use the option Issue Invoice. Complete the sale
In the backoffice: A VBS AR Invoice has been created. SII Invoice Type = invoice
Scenario 3 - NOT CORRECT
- create a new sale, select the anonymous customer and enter a line.
- change the price of the product to 0
- Select the option "Return this Receipt" so the quantity of the order is negative.
- Complete the sale
In the backoffice: A VBS Reversed Sales Simplified Invoice has been created . SII Invoice Type = Simplified invoice - THIS IS NOT CORRECT IT SHOULD BE: invoice Type Key = "Corrective Invoice" - "Rectification Invoice Type" = Differences and "Rectification Reason " R5
Scenario 4 - NOT CORRECT
- create a new sale, select a customer and enter a line.
- change the price of the product to 0
- Use the option Issue Invoice
- Select also the option "Return this Receipt" so the quantity of the order is negative.
- Complete the sale
In the backoffice: A VBS Reversed Sales Invoice has been created. SII Invoice Type = invoice - THIS IS NOT CORRECT IT SHOULD BE: invoice Type Key = "Corrective Invoice" - "Rectification Invoice Type" = Differences and "Rectification Reason " R1
|
|
|
(0136861)
|
psanjuan
|
2022-04-29 11:08
(edited on: 2022-05-03 16:06) |
|
Mix of positive and negative lines
Scenario 5 - CORRECT
- create a new sale, select an anonymous customer and enter two lines, each one for a given product.
- return one of them
- change the price of the both product lies to 0, so the total of the sale is 0,00
- Complete the sale
In the backoffice: A VBS AR Simplified Invoice has been created. SII Invoice Type = Simplified Invoice. THIS IS CORRECT.
Scenario 6 - CORRECT
- create a new sale, select a customer and enter two lines, each one for a given product.
- return one of them
- change the price of the both product lies to 0, so the total of the sale is 0,00
- use the option Issue Invoice.
- Complete the sale
In the backoffice: A VBS AR Invoice has been created. SII Invoice Type = Invoice. THIS IS CORRECT.
|
|
|
|
Test plan:
Beside the 6 scenarios presented in the ticket:
Scenario 7:
- create a new sale, select an anonymous customer and enter two lines, each one for a given product.
- return one of them
- change the price of the other one to match the value of the returned product, so the total is still 0
- Complete the sale
In the backoffice: A VBS AR Simplified Invoice has been created. SII Invoice Type = Simplified Invoice.
Scenario 8
- create a new sale, select a customer and enter two lines, each one for a given product.
- return one of them
- change the price of the other one to match the value of the returned product, so the total is still 0
- use the option Issue Invoice.
- Complete the sale
In the backoffice: A VBS AR Invoice has been created. SII Invoice Type = Invoice.
Scenario 9:
- create a new sale, select the anonymous customer and enter a line.
- Select the option "Return this Receipt" so the quantity of the order is negative.
- Complete the sale
In the backoffice: A VBS Reversed Sales Simplified Invoice has been created . SII Invoice Type = "Corrective Invoice" - "Rectification Invoice Type" = Differences and "Rectification Reason " R5
Scenario 10:
- create a new sale, select a customer and enter a line.
- Use the option Issue Invoice
- Select also the option "Return this Receipt" so the quantity of the order is negative.
- Complete the sale
In the backoffice: A VBS Reversed Sales Invoice has been created. SII Invoice Type = "Corrective Invoice" - "Rectification Invoice Type" = Differences and "Rectification Reason " R1 |
|
|
(0137342)
|
hgbot
|
2022-05-16 16:36
|
|
|
|
(0137382)
|
hgbot
|
2022-05-17 13:47
|
|
|
|
(0137383)
|
hgbot
|
2022-05-17 13:47
|
|
|
|
(0137390)
|
hgbot
|
2022-05-17 15:18
|
|
|
|
|
|