Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030457Openbravo ERP01. General setuppublic2015-07-29 18:172015-08-24 17:38
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
 
dmiguelez
Core
No
0030457: Create Price List process includes production products with 0 price in price lists based on cost
Create Price List process includes production products with 0 price in price lists based on cost
As group admin role:
   Create two products for F&B España, S.A. and set them as production
   Set them as Item and Stocked
   Create a Work Effort where one of this product is consumed and one is produced
   Process it
   Launch the Costing Background process and check an entry has been created for each product in the Costing tab at * level with a Cost different from 0
   Create a Price List Schema with Base List Price = 'Cost' in both Unit Price and List Price
   Create a sales Price List based on cost
   Create a Price List Version and add the previously created Schema
   Click on the Create Price List button
   Check the two production products have been included with a 0 price
No tags attached.
Issue History
2015-07-29 18:17ngarciaNew Issue
2015-07-29 18:17ngarciaAssigned To => Triage Finance
2015-07-29 18:17ngarciaModules => Core
2015-07-29 18:17ngarciaTriggers an Emergency Pack => No
2015-07-29 18:18ngarciaResolution time => 1441144800
2015-07-29 18:20ngarciaIssue Monitored: networkb
2015-08-20 11:01AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-08-20 11:01AtulOpenbravoStatusnew => scheduled
2015-08-20 19:56AtulOpenbravoNote Added: 0079443
2015-08-21 20:14hgbotCheckin
2015-08-21 20:14hgbotNote Added: 0079587
2015-08-21 20:14hgbotStatusscheduled => resolved
2015-08-21 20:14hgbotResolutionopen => fixed
2015-08-21 20:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c6438a67d2111e70720ccd4c6a550f66e4a6e711 [^]
2015-08-21 20:15dmiguelezReview Assigned To => dmiguelez
2015-08-21 20:15dmiguelezNote Added: 0079588
2015-08-21 20:15dmiguelezStatusresolved => closed
2015-08-24 17:38hudsonbotCheckin
2015-08-24 17:38hudsonbotNote Added: 0079643

Notes
(0079443)
AtulOpenbravo   
2015-08-20 19:56   
Test Plan
- Login as Group Admin.
- Create two products for F&B España, S.A. and set them as production
   Set them as Item and Stocked. Define a storage bin for product to be used as Production + in Manufacturing Tab.
- Define Activity, Process Plan and include above two products one as P+ and other as P-.
- Create Work Requirement for the above Process Plan.
- Create a Work Effort where one of this product is consumed and one is produced
   Process it.
- Launch the Costing Background process and check an entry has been created for each product in the Costing tab at * level with a Cost different from 0
- Create a Price List Schema and in Line set Base List Price = 'Cost' and Base Unit Price = 'Cost'.
- Create a sales Price List, set based on cost flag = Yes.
- Create a Price List Version and add the previously created Schema.
- Click on the Create Price List button.
- Check that two production products have been included with their proper cost.
(0079587)
hgbot   
2015-08-21 20:14   
Repository: erp/devel/pi
Changeset: c6438a67d2111e70720ccd4c6a550f66e4a6e711
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Aug 12 15:22:33 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c6438a67d2111e70720ccd4c6a550f66e4a6e711 [^]

Fixes Issue 30457:Create Price List process includes production
products with 0 price in price lists based on cost

As cost register generated from Production are created under
* Organization, ad_org_id where clause part in fetching cost of
product is changed to consider records for '0' organization along
with legal entity organization.

---
M src-db/database/model/functions/M_GET_NO_TRX_PRODUCT_COST.xml
---
(0079588)
dmiguelez   
2015-08-21 20:15   
Code Review + Testing Ok
(0079643)
hudsonbot   
2015-08-24 17:38   
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/5da132f0eb35 [^]
Maturity status: Test