Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026559Openbravo ERP07. Sales managementpublic2014-05-15 13:212018-05-14 16:15
0026559: Copy From Order process does not fill bom_parent_id information for non stocked BOM products list
Copy From Order process does not fill bom_parent_id information for non stocked BOM products list
As group admin role,

Go to Product window:
Create a new product:
 Non Stocked
 Sales: Yes
 Purchase: Yes
 Bill of Materials: Yes
 Tax category: Exento
 Add a Sales Price List
Go to Bill of Materials tab:
  add Cerveza Ale

Go to Sales Order window:
  Create a new one
 Navigate to Lines tab:
   select the bom product
 Click on Explode button
Complete it.

Create a new Sales order, click on Copy from Order button, realise via database that the explode line does not have the bom_parent_id filled, but it should have it with the new c_orderline_id parent id
No tags attached.
related to defect 0038547 closed AtulOpenbravo When cloning a sales order, exploded non stocked BOM product is related with the original order line 
Issue History
2014-05-15 13:21VictorVillarNew Issue
2014-05-15 13:21VictorVillarAssigned To => dmiguelez
2014-05-15 13:21VictorVillarModules => Core
2014-05-15 13:21VictorVillarResolution time => 1402956000
2014-05-15 13:21VictorVillarTriggers an Emergency Pack => No
2014-05-15 13:22VictorVillarIssue Monitored: networkb
2014-05-15 13:31VictorVillarAssigned Todmiguelez => jonalegriaesarte
2014-05-15 13:55heccamIssue Monitored: heccam
2014-05-19 14:33jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-06-16 09:29AtulOpenbravoAssigned Topramakrishnan => AtulOpenbravo
2014-06-18 04:47AtulOpenbravoStatusnew => scheduled
2014-06-18 04:47AtulOpenbravofix_in_branch => pi
2014-06-19 11:06AtulOpenbravoReview Assigned To => rafaroda
2014-06-19 11:06AtulOpenbravofix_in_branchpi =>
2014-06-19 11:13hgbotCheckin
2014-06-19 11:13hgbotNote Added: 0068155
2014-06-19 11:13hgbotStatusscheduled => resolved
2014-06-19 11:13hgbotResolutionopen => fixed
2014-06-19 11:13hgbotFixed in SCM revision => [^]
2014-06-19 11:22rafarodaNote Added: 0068157
2014-06-19 11:22rafarodaStatusresolved => closed
2014-06-19 22:31hudsonbotCheckin
2014-06-19 22:31hudsonbotNote Added: 0068191
2018-05-14 16:15ngarciaRelationship addedrelated to 0038547

2014-06-19 11:13   
Repository: erp/devel/pi
Changeset: f16dac5c4cf517bf4432da2f5d95f954a574afd7
Author: Atul Gaware <atul.gaware <at>>
Date: Thu Jun 19 09:56:39 2014 +0530
URL: [^]

Fixes Issue 26559:Copy From Order process sets proper BOM Parent

M src/org/openbravo/erpCommon/ad_actionButton/
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql
2014-06-19 11:22   
Tested with Sales Orders with BOM product and checked database: check in images at [^]
2014-06-19 22:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test