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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018657
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminoralways2011-09-30 12:292011-12-01 18:11
ReportermiruritaView Statuspublic 
Assigned Tojecharri 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision3a195c4d7718
ProjectionnoneETAnoneTarget Version3.0MP6
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018657: 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 Filespng file icon Product_attributeset_stock.png [^] (62,435 bytes) 2011-09-30 12:29

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00191882.50MP37 closedjecharri Not possible to manage stock of a product if it already has stock without an attributeset and then you assign an attributeset 

-  Notes
(0043336)
hgbot (developer)
2011-11-25 14:22

Repository: erp/devel/pi
Changeset: 3a195c4d7718b98face09fe51176ada030388f35
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Nov 25 14:20:34 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3a195c4d7718b98face09fe51176ada030388f35 [^]

Fixes issue 18657: 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
---
(0043560)
hudsonbot (developer)
2011-11-30 12:37

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/01809c7b3135 [^]

Maturity status: Test
(0043659)
mirurita (developer)
2011-12-01 18:11

Verified on revision 14787:d63e0b9b9bcc

- Issue History
Date Modified Username Field Change
2011-09-30 12:29 mirurita New Issue
2011-09-30 12:29 mirurita Assigned To => jonalegriaesarte
2011-09-30 12:29 mirurita File Added: Product_attributeset_stock.png
2011-09-30 12:29 mirurita Modules => Core
2011-09-30 12:29 mirurita Resolution time => 1323730800
2011-10-17 19:47 jonalegriaesarte Target Version => 3.0MP6
2011-11-17 16:08 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2011-11-25 14:18 jecharri Status new => scheduled
2011-11-25 14:18 jecharri fix_in_branch => pi
2011-11-25 14:22 hgbot Checkin
2011-11-25 14:22 hgbot Note Added: 0043336
2011-11-25 14:22 hgbot Status scheduled => resolved
2011-11-25 14:22 hgbot Resolution open => fixed
2011-11-25 14:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3a195c4d7718b98face09fe51176ada030388f35 [^]
2011-11-30 12:37 hudsonbot Checkin
2011-11-30 12:37 hudsonbot Note Added: 0043560
2011-12-01 18:11 mirurita Note Added: 0043659
2011-12-01 18:11 mirurita Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker