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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019188
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementminoralways2011-09-30 12:292011-12-15 11:49
ReportermiruritaView Statuspublic 
Assigned Tojecharri 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision4428f92d4fb5
ProjectionnoneETAnoneTarget Version2.50MP37
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP36SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019188: Not possible to manage stock of a product if it already has stock without an attributeset and then you assign an attributeset

Description- Product A without attribute set defined
- Create an inventory movement of that product A.
- Modify the product A and assign a new attribute set.
- Try to create a good shipment for stocked product a (without attribute set)

It is not possible.
Steps To Reproduce1) Create a new Attribute
Org: *
Name: Color

2) Create new Attribute Values for Color
- Red
- Green
- Blue

3) Create a new Attribute Set and assign Color Attribute

4) Create a new product.
Name: chair
Org: *
Important!!: do not assign any Attribute Set

5) In Price tab enter a price list version

6) Create a new Physical Inventory window for chair of 100 quantity and process (Process Inventory Count).

7) Go to Product window and select previously created attribute set to chair product.
Attribute Set: Color
Use Attribute Set Value As: Default
Attribute Set Value: Blue

8) Try to create a new physical inventory for chair product and do not select any attribute set.

9) If you try with a good shipments you get the same error (see attached screenshot)

Realize when you cannot use anymore the chair product without attribute set.

Error: In line 10 the product has no attribute set
Proposed SolutionWhen assigning an attributeset to a product, there should be a check that at least alerts you that there are already stock transactions with this product (without attribute set).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00186573.0MP6 closedjecharri Not possible to manage stock of a product if it already has stock without an attributeset and then you assign an attributeset 

-  Notes
(0043335)
hgbot (developer)
2011-11-25 14:21

Repository: erp/stable/2.50
Changeset: 4428f92d4fb5f94313c9d610a34c2364c99480b7
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Nov 25 14:21:17 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/4428f92d4fb5f94313c9d610a34c2364c99480b7 [^]

Fixes issue 19188: Not possible to manage stock of a product
if it already has stock without an attributeset and then you assign an attributeset

---
M src-db/database/model/triggers/M_PRODUCT_TRG.xml
---
(0043893)
ioritzCia (developer)
2011-12-15 11:48

Verified

- Issue History
Date Modified Username Field Change
2011-11-25 14:18 jecharri Type defect => backport
2011-11-25 14:18 jecharri fix_in_branch => 2.50
2011-11-25 14:19 jecharri version pi => 2.50MP36
2011-11-25 14:19 jecharri Target Version 3.0MP6 => 2.50MP37
2011-11-25 14:21 hgbot Checkin
2011-11-25 14:21 hgbot Note Added: 0043335
2011-11-25 14:21 hgbot Status scheduled => resolved
2011-11-25 14:21 hgbot Resolution open => fixed
2011-11-25 14:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/4428f92d4fb5f94313c9d610a34c2364c99480b7 [^]
2011-12-15 11:48 ioritzCia Note Added: 0043893
2011-12-15 11:49 ioritzCia Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker