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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031861
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Auto BOM For Retailcriticalalways2016-01-11 14:502016-01-22 13:56
ReportermalsasuaView Statuspublic 
Assigned Tomario_castello 
PriorityimmediateResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revision04d8cd8ce8ce
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031861: with autobom process and attributes of type "instance attribute" the attribute selected is wrong

Descriptionwhen a product is of type BOM, and the products son has got attributes of type instance, the system is not retrieving right the attribute of sons, and it is possible to obtain negative stock
Steps To Reproduce. in backoffice:
1. as system administrator: activate tab: "Manufacturing" in window "Product"
2. as Openbravo Admin
2.1 create new attribute:
  . name at1
  . instance attribute: Y
  . list: N
  . mandatory: N

2.2 create new attribute set:
  . name lot
    lot: Y
  . assigned attribute:
     attribute: at1
 
2.3 create new product:
    name: autobom1.1
    . attribute set: lot
    . use attribute set value as: Default
    . attribute set value:
       at: 1
       lot name: void
       -> 1_L
    . price list:
       . price list version: the white valley group sales price list
       . price 10

2.4 create new product: autobom1
    bill of material: Y
    auto generate BOM: Y
    . price list:
       . price list version: the white valley group sales price list
       . price 10
    . bill of material:
       . product: product1.1
       . qty: 2
    . manufacturing:
       organization Vall Blanca Store
       Storage bin: VBS/001 0-0-0

2.5 create new inventory to product autobom1.1
  . new inventory:
   org: Vall Blanca Store
   warehouse: Vall Blanca Store Warehouse
   . new line:
     product: autobom1.1
     attribute set value: 1_L
     storage bin: VBS/001 0-0-0
     qty count: 100
   . process inventory count

2.6 go to product windowm, product: autobom1.1
  . change attribute set value:
    click in "X" button
    click in "search" button:
       at: 2
       lot name: void
     -> 2_L
2.7 add the two autobom products to assortment

2.8 go to POS VBS-1
  . create new receipt:
    line: product autobom1
  . paid it

2.9 go to backend
 . in product window:
    product: autobom1.1
    tab: transactions
      there is one line with qty 100 and attribute 1_L
      there is one line with qty -2 and attribute 2_L: but there is not stock to the attribute 2_L.

In BOM process, should be retrieved the stock with attribute 1_L instead of 2_L
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031935 closedmario_castello autobom is working wrong with decimals 

-  Notes
(0083511)
hgbot (developer)
2016-01-21 19:18

Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 04d8cd8ce8cebce282c65a44cfdadd894faf6a1c
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Jan 21 12:17:57 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/04d8cd8ce8cebce282c65a44cfdadd894faf6a1c [^]

Fixed issue 31861: Read AttributeSetValue from the StorageDetail ant not from the product

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---

- Issue History
Date Modified Username Field Change
2016-01-11 14:50 malsasua New Issue
2016-01-11 14:50 malsasua Assigned To => Retail
2016-01-11 14:50 malsasua Resolution time => 1455231600
2016-01-11 14:50 malsasua Triggers an Emergency Pack => No
2016-01-12 18:23 gorka_gil Status new => acknowledged
2016-01-18 19:00 malsasua Resolution time 1455231600 => 1453330800
2016-01-18 19:00 malsasua Priority high => immediate
2016-01-18 19:00 malsasua Severity major => critical
2016-01-18 19:01 malsasua Relationship added related to 0031935
2016-01-20 13:57 mario_castello Assigned To Retail => mario_castello
2016-01-20 14:06 mario_castello Status acknowledged => scheduled
2016-01-21 19:18 hgbot Checkin
2016-01-21 19:18 hgbot Note Added: 0083511
2016-01-21 19:18 hgbot Status scheduled => resolved
2016-01-21 19:18 hgbot Resolution open => fixed
2016-01-21 19:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/04d8cd8ce8cebce282c65a44cfdadd894faf6a1c [^]
2016-01-22 13:56 guilleaer Review Assigned To => guilleaer
2016-01-22 13:56 guilleaer Status resolved => closed
2016-01-22 13:56 guilleaer Fixed in Version => RR16Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker