Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047843Retail Modules[POS2] POSpublic2021-10-13 16:042021-10-27 08:10
Sergio_Gomez 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR22Q1 
No
0047843: Unable to use attributes in products without enabling instance attribute
The sales containing products with attributes that do not have the Instance Attribute property enabled are sent to the Errors While Importing POS Data window
In the backoffice https://livebuilds.openbravo.com/retail_mp_3.0RR21Q3.2: [^]

-Create an attribute (Instance Attribute = 'N', Mandatory = 'Y')
-Create an attribute set with the previous attribute
-Add the attribute to one product
-Create a goods receipt setting the amount and a test attribute set value for the product
-Create a physical inventory with the product
-Set the preference Web POS Enable support for product attributes = 'Y'

In the webpos https://livebuilds.openbravo.com/retail_mp_3.0RR21Q3.2/web/org.openbravo.retail.posterminal/?terminal=VBS-1: [^]

-Create a sale with the product
-Set the attribute value in the popup
-Make the payment

In the backoffice:

-Check that the sale ends in the Errors While Importing POS Data window
-Set in attribute window Instance Attribute = 'Y'
-Check in the Errors While Importing POS Data window that the sale can now be saved correctly

See the video: https://watch.screencastify.com/v/uEnpoacDfRA5Afw3Vb3K [^]
No tags attached.
blocks defect 0047845 closed ranjith_qualiantech_com Services button does not appear in products with attribute values 
blocks defect 0047844 closed ranjith_qualiantech_com Attribute values are not displayed correctly when receipts are reopened 
Issue History
2021-10-13 16:04Sergio_GomezNew Issue
2021-10-13 16:04Sergio_GomezAssigned To => Retail
2021-10-13 16:04Sergio_GomezTriggers an Emergency Pack => No
2021-10-13 16:26Sergio_GomezRelationship addedblocks 0047845
2021-10-13 16:27Sergio_GomezRelationship addedblocks 0047844
2021-10-13 17:24PracticsIssue Monitored: Practics
2021-10-14 11:32guilleaerProjectPOS2 => Retail Modules
2021-10-20 08:07ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-10-27 07:36hgbotNote Added: 0132656
2021-10-27 08:10hgbotNote Added: 0132657
2021-10-27 08:10hgbotResolutionopen => fixed
2021-10-27 08:10hgbotStatusnew => closed
2021-10-27 08:10hgbotFixed in Version => RR22Q1
2021-10-27 08:10hgbotNote Added: 0132658

Notes
(0132656)
hgbot   
2021-10-27 07:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/609 [^]
(0132657)
hgbot   
2021-10-27 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/609 [^]
(0132658)
hgbot   
2021-10-27 08:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e094fe37d37a75151328f81defe199cb950a7659
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-10-27T10:54:08+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e094fe37d37a75151328f81defe199cb950a7659 [^]

Fixed ISSUE-47843: Updated AttributeUtils to get attribute list
* When processing receipt with attribute values,
  attribute should be fetched if mandatory attribute or instance attribute is true

---
M src/org/openbravo/retail/posterminal/utility/AttributesUtils.java
---