Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046307 | Localization Pack: Spain | SII Retail | public | 2021-04-20 12:16 | 2021-06-28 17:54 |
|
Reporter | psanjuan | |
Assigned To | vmromanos | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Openbravo Appliance 14.04 |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0046307: Default Sales SII Description should be automatically taken for sales invoices when those are created from POS |
Description | Default Sales SII Description should be automatically taken for sales invoices when those are created from POS |
Steps To Reproduce | In an environment with SII create a sales in the POS.
Go to backoffice and check that this invoice or simplified invoice does not have a SII Description.
It is necessary to manually introduce that description, to send the invoice to SII.
|
Proposed Solution | SII Description should be automatically filled in the sales invoices created in the backoffice, coming from Web POS sales.
That SII description should be the one setup as Default for Sales transactions.
|
Additional Information | |
Tags | NOR |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-04-20 12:16 | psanjuan | New Issue | |
2021-04-20 12:16 | psanjuan | Assigned To | => psanjuan |
2021-06-03 15:51 | psanjuan | Summary | Default Description should be taken for sales invoices when those are created from POS => Default Sales SII Description should be automatically taken for sales invoices when those are created from POS |
2021-06-03 15:51 | psanjuan | Description Updated | bug_revision_view_page.php?rev_id=22673#r22673 |
2021-06-03 15:51 | psanjuan | Proposed Solution updated | |
2021-06-03 16:37 | rafaroda | Resolution time | => 1623535200 |
2021-06-04 16:19 | psanjuan | Note Added: 0129081 | |
2021-06-07 14:04 | rafaroda | Tag Attached: NOR | |
2021-06-10 13:59 | vmromanos | Status | new => scheduled |
2021-06-10 13:59 | vmromanos | Assigned To | psanjuan => vmromanos |
2021-06-10 14:12 | vmromanos | Note Added: 0129348 | |
2021-06-10 14:44 | hgbot | Note Added: 0129350 | |
2021-06-17 13:09 | psanjuan | Resolution time | 1623535200 => 1624572000 |
2021-06-28 16:23 | psanjuan | Resolution time | 1624572000 => 1625004000 |
2021-06-28 16:24 | psanjuan | Note Added: 0129868 | |
2021-06-28 16:27 | psanjuan | Note Edited: 0129350 | bug_revision_view_page.php?bugnote_id=0129350#r22799 |
2021-06-28 16:27 | psanjuan | Note Edited: 0129868 | bug_revision_view_page.php?bugnote_id=0129868#r22801 |
2021-06-28 16:30 | psanjuan | Note Edited: 0129868 | bug_revision_view_page.php?bugnote_id=0129868#r22802 |
2021-06-28 16:30 | psanjuan | Note Edited: 0129868 | bug_revision_view_page.php?bugnote_id=0129868#r22803 |
2021-06-28 16:39 | psanjuan | Note Edited: 0129868 | bug_revision_view_page.php?bugnote_id=0129868#r22804 |
2021-06-28 17:54 | hgbot | Resolution | open => fixed |
2021-06-28 17:54 | hgbot | Status | scheduled => closed |
2021-06-28 17:54 | hgbot | Note Added: 0129872 | |
2021-06-28 17:54 | hgbot | Note Added: 0129873 | |
2021-06-28 17:54 | hgbot | Note Added: 0129874 | |
Notes |
|
|
The resolution of this bug is being requested by Project team. |
|
|
|
Test plan:
Login into backoffice with The White Valley Group Admin.
Go to SII Descriptions window and create a new record for * organization.
Fill mandatory fields and make sure both Default and Sales invoice description fields are enabled.
Test plan I (named customer):
Login in POS with vallblanca user
Change customer to Arturo Montoro
In Menu, select "Issue Invoice" option.
Enter any product and pay the ticket.
In backend, search for the newly created sales order, browse to the sales invoice and make sure the Sii Description field is populated
Test plan II (anonymous customer):
Login in POS with vallblanca user
Enter any product and pay the ticket.
In backend, search for the newly created sales order. Verify there is no invoice yet.
In POS, Menu -> Cash Up. Follow the steps to complete it.
In backend, verify the sales order is invoiced. Browse to the sales invoice and make sure the Sii Description field is populated
Test plan III (Issue Sales Order):
In backoffice, create the preference "Web POS Enable Delivery Modes" and set it as Value = Yes, for all users and organizations. Set "selected" parameter as Yes.
Login in POS with vallblanca user.
Change customer to Arturo Montoro
Select Menu option "Receipt Properties" to change Invoice Terms to "After Delivery" and Default Delivery Mode as "Pick Up in Store". Press Apply.
Select any product and pay the ticket.
Navigate to the backoffice and verify that no invoice has been created for this sale but a sales order set as not invoiced.
Go back to Web POS and Issue the sales order.
Go back to backoffice, navigate to the Sales Invoice and make sure the Sii Description field is populated
Test plan IV (not active description):
In backoffice, deactivate the SII description previously created.
Login in POS with vallblanca user
Change customer to Arturo Montoro
In Menu, select "Issue Invoice" option.
Enter any product and pay the ticket.
In backend, search for the newly created sales order, browse to the sales invoice and make sure the Sii Description field is empty
Test plan V (not default description):
In backoffice, activate the SII description previously created and set it as default = 'N'
Login in POS with vallblanca user
Change customer to Arturo Montoro
In Menu, select "Issue Invoice" option.
Enter any product and pay the ticket.
In backend, search for the newly created sales order, browse to the sales invoice and make sure the Sii Description field is empty |
|
|
(0129350)
|
hgbot
|
2021-06-10 14:44
(edited on: 2021-06-28 16:27) |
|
|
|
(0129868)
|
psanjuan
|
2021-06-28 16:24
(edited on: 2021-06-28 16:39) |
|
Additional Test Plan
Login into backoffice with The White Valley Group Admin.
Go to SII Descriptions window and create a new record for * organization.
Fill mandatory fields and make sure both Default and Sales invoice description fields are enabled.
Test Plan VI
Go to Web POS and create a Verified Return.
Complete and pay it
Go to backoffice.
Verify that a reverse sales invoice (Corrective Invoice) has been created including a SII Description.
Test Plan VII
Repeat above Test case for a Verified Return of a sale including an identified customer (ie. Arturo Montoro)
Test Plan VIII
Repeat above Test Case for a blind return, by using the menu option (Return this Receipt).
Test Plan IX
In backoffice, go to the channel touchpoint type and configure it to generate Aggregated Invoices.
Go to Openbravo Web POS and create a sale, run the cash up.
Go to the backoffice and verify that a Simplified Invoices summary has been created, and it does have the SII Description.
Test Plan X
Repeat the same test for a verified return, created as by the cash up process.
Verify it does have SII Description.
|
|
|
(0129872)
|
hgbot
|
2021-06-28 17:54
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.retail [^]
Changeset: b5636bb910895e6e824c517dba54dd2a6d635245
Author: Víctor Martínez Romanos <victor.martinez@openbravo.com>
Date: 2021-06-10T14:35:42+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.retail/-/commit/b5636bb910895e6e824c517dba54dd2a6d635245 [^]
Fixed ISSUE-46307: Set sales default SII description in POS generated invoices
When an invoice is generated from a POS ticket, the SII automatically sets the
invoice's SII Description field using the available invoice organization's (or its inmediate
parent) default SII description for Sales. It is necessary that the description is marked as:
* active
* default
* Sales invoice description
This works for:
* Invoices generated for named customers
* Invoices generated through cash up
* Invoices generated through the Issue Sales Order feature
---
M src/org/openbravo/module/sii/retail/hook/SIIFinishInvoiceHook.java
M src/org/openbravo/module/sii/retail/hook/SIIInvoiceShipmentHook.java
M src/org/openbravo/module/sii/retail/hook/SIIOrderLoaderHook.java
M src/org/openbravo/module/sii/retail/hook/SIIUtility.java
---
|
|
|
(0129873)
|
hgbot
|
2021-06-28 17:54
|
|
|
|
(0129874)
|
hgbot
|
2021-06-28 17:54
|
|
|