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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037308
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-11-16 11:412017-12-13 14:23
ReporterngarciaView Statuspublic 
Assigned Toguilleaer 
PriorityurgentResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revision92a959dfcc5c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037308: [Support For Attributes]: Attribute set instance without stock selected when there is stock with other instance and same value

Description[Support For Attributes]: Attribute set instance without stock selected when there is stock with other instance and same value

When an attribute set is configured as Lot, Ser No. or Expiration Date or it includes an attribute configured as instance attribute, there could be more than one attribute set instance for the same value (lot number, serial number...)
Steps To ReproduceIn the backend:
   Create an Attribute Set
   Set it as Serial No. and Require At Least One Value

   Create a new product, set that attribute set and a price in Vall Blanca Store's price list
   Add it to the Vall Blanca Store's assortment

   Remove 'White Valley Spain Distribution Center' as on hand warehouse for Vall Blanca Store

   Create a physical inventory
   Add the previously created product
   Set a value in Attribute Set Value field
   Add 1 as Quantity count
   Process it

   Create a physical inventory
   Add the previously created product by selecting the line without attribute set value in the product selector
   Set the same value in Attribute Set Value field
   Add 1 as Quantity count
   Process it

   At this moment we have two attribute set instances with same value

   Create a Physical Inventory and leave the stock of the product to 0

   Create a physical inventory
   Add the previously created product
   Set the same value in Attribute Set Value field
   Add 1 as Quantity count
   Process it

   At this moment we have three attribute set instances with same value but stock with only one of them

   Set the Web POS Enable support for product attributes to Y

In the POS:
   Create a new ticket and add the previously created product
   Enter the value in the pop-up
   Pay the ticket

In the backend:
   Launch the Stock Report and check the stocked unit is still there and a negative line has been created
TagsNo tags attached.
Attached Filesdiff file icon diffIssue37308_pi.diff [^] (7,220 bytes) 2017-11-29 12:49 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0037414RR17Q4 closedguilleaer [Support For Attributes]: Attribute set instance without stock selected when there is stock with other instance and same value 
depends on backport 0037415RR17Q3.2 closedguilleaer [Support For Attributes]: Attribute set instance without stock selected when there is stock with other instance and same value 
depends on design defect 0036966 closedguilleaer When entering the attribute value, the user shouldn't need to follow internal Openbravo format 
related to defect 0037065 newRetail Test to verify attributes functionality are pending 

-  Notes
(0100806)
hgbot (developer)
2017-11-29 10:52

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 92a959dfcc5c1b56345efd29323b0fdb6830428d
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Nov 28 12:38:11 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/92a959dfcc5c1b56345efd29323b0fdb6830428d [^]

Fixed issue 37308: Using attributes, if several att set instances are found pick one with stock.

- If several attSetIntances are found, search in m_storage_detail for those which have stock inside the store

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

- Issue History
Date Modified Username Field Change
2017-11-16 11:41 ngarcia New Issue
2017-11-16 11:41 ngarcia Assigned To => Retail
2017-11-16 11:41 ngarcia Resolution time => 1512601200
2017-11-16 11:41 ngarcia Triggers an Emergency Pack => No
2017-11-16 11:41 ngarcia Issue Monitored: networkb
2017-11-28 11:36 guilleaer Assigned To Retail => guilleaer
2017-11-28 11:36 guilleaer Status new => scheduled
2017-11-28 12:39 guilleaer File Added: diffIssue37308.diff
2017-11-28 13:09 guilleaer File Deleted: diffIssue37308.diff
2017-11-28 13:09 guilleaer File Added: diffIssue37308_pi.diff
2017-11-28 13:09 guilleaer File Added: diffIssue37308_q4_without_37240.diff
2017-11-28 13:10 guilleaer File Added: diffIssue37308_q32_without_37240.diff
2017-11-29 08:25 guilleaer Status scheduled => resolved
2017-11-29 08:25 guilleaer Resolution open => fixed
2017-11-29 08:25 guilleaer Status resolved => new
2017-11-29 08:25 guilleaer Resolution fixed => open
2017-11-29 08:26 guilleaer Status new => scheduled
2017-11-29 10:52 hgbot Checkin
2017-11-29 10:52 hgbot Note Added: 0100806
2017-11-29 10:52 hgbot Status scheduled => resolved
2017-11-29 10:52 hgbot Resolution open => fixed
2017-11-29 10:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/92a959dfcc5c1b56345efd29323b0fdb6830428d [^]
2017-11-29 11:28 guilleaer File Deleted: diffIssue37308_q4_without_37240.diff
2017-11-29 11:29 guilleaer File Deleted: diffIssue37308_q32_without_37240.diff
2017-11-29 11:29 guilleaer File Deleted: diffIssue37308_pi.diff
2017-11-29 12:49 guilleaer File Added: diffIssue37308_pi.diff
2017-11-29 17:09 guilleaer Relationship added related to 0037065
2017-11-30 16:20 marvintm Review Assigned To => marvintm
2017-11-30 16:20 marvintm Status resolved => closed
2017-11-30 16:20 marvintm Fixed in Version => RR18Q1
2017-12-13 14:23 guilleaer Relationship added depends on 0036966


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker