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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021946
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2012-10-16 11:042012-10-18 17:55
ReporterVictorVillarView Statuspublic 
Assigned Tojonalegriaesarte 
PriorityurgentResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToVictorVillar
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021946: Using a BOM product in sales management document is not possible to reactivate the document

DescriptionUsing a BOM product in sales management document is not possible to reactivate the document
Steps To ReproduceAs group admin role,
Go to product window,
  Select Cerveza Ale
      Bill of material: YEs
      Stocked: No
  Go to Bill of materials tab:
    -Agua
    - Bebida energética
Go to Sales order:
  Create a new register Org: España
  Lines tab:
     Product: Cerveza Ale
Book it.
Realise that the 'parent' product disapears (the line still there) and the 'child' lines appear: Agua and Bebidas Energéticas

Try to reactivate it, realise that an error appears "null value in column "m_product_id" violates not-null constraint" because the 'parent' product is not there.

The same thing happens in sales invoice window.
Proposed SolutionDo not remove the product in the 'parent' line and check in the callout that if the stock flag of the product is NO and the Bill of materials: YES, then the unit price and the line net amount should be 0.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00229063.0MP20 closedjecharri Using a BOM product in sales management document is not possible to close the document 

-  Notes
(0053474)
VictorVillar (developer)
2012-10-18 17:55

After some changes in the c_order_post function, this problem does not persist

- Issue History
Date Modified Username Field Change
2012-10-16 11:04 VictorVillar New Issue
2012-10-16 11:04 VictorVillar Assigned To => dmiguelez
2012-10-16 11:04 VictorVillar Modules => Core
2012-10-16 11:04 VictorVillar Resolution time => 1352674800
2012-10-16 11:04 VictorVillar Issue Monitored: networkb
2012-10-16 12:53 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2012-10-18 17:55 VictorVillar Review Assigned To => VictorVillar
2012-10-18 17:55 VictorVillar Note Added: 0053474
2012-10-18 17:55 VictorVillar Status new => closed
2012-10-18 17:55 VictorVillar Resolution open => unable to reproduce
2013-01-28 10:29 VictorVillar Relationship added related to 0022906


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker