Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025932Openbravo ERP07. Sales managementpublic2014-03-07 13:492014-05-07 18:11
VictorVillar 
AtulOpenbravo 
highminoralways
closedopen 
5
 
3.0PR14Q3 
VictorVillar
Core
No
0025932: The Total Gross Amount of the Sales Order is wrong for non stockable BOM products udner some circumstancies
The Total Gross Amount of the Sales Order is wrong for non stockable BOM products udner some circumstancies
As group Admin role,
Go to Product window:
  Create a new one.
    Name: BOM
    Stocked : NO
    Bill of Materials: Yes
  Go to Price List tab:
     select 'Tarifa de Ventas', price= 0
  Go to Bill of Materials tab:
     add Agua sin Gas product
Click on Verify BOM button

Go To Price list window:
   select 'Tarifa de Ventas'
   Price includes taxes: YES

Go to Sales order window:
   Create a new one for Business Partner: Alimentos y Supermercados
   Go to Lines tab:
      create a Line for Product: BOM
Click on Explode button

Realise that the Gross Unit price is 0 and the Total Gross Amount is 0 and it should not.


No tags attached.
related to defect 0035428 closed aferraz Do not calculate Net Price and Net Amount outside triggers when creating new Order/Invoice with Price Including Taxes 
Issue History
2014-03-07 13:49VictorVillarNew Issue
2014-03-07 13:49VictorVillarAssigned To => dmiguelez
2014-03-07 13:49VictorVillarModules => Core
2014-03-07 13:49VictorVillarResolution time => 1398981600
2014-03-07 13:49VictorVillarTriggers an Emergency Pack => No
2014-03-07 13:49VictorVillarAssigned Todmiguelez => jonalegriaesarte
2014-03-07 13:49VictorVillarIssue Monitored: networkb
2014-03-20 12:26jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-03-27 08:09AtulOpenbravoAssigned Topramakrishnan => AtulOpenbravo
2014-03-27 08:12AtulOpenbravoStatusnew => scheduled
2014-03-27 08:12AtulOpenbravofix_in_branch => pi
2014-03-31 16:17jonalegriaesarteTarget VersionPR14Q2 => PR14Q3
2014-04-01 16:15AtulOpenbravoNote Added: 0065673
2014-04-10 09:00hgbotCheckin
2014-04-10 09:00hgbotNote Added: 0066287
2014-04-10 09:00hgbotStatusscheduled => resolved
2014-04-10 09:00hgbotResolutionopen => fixed
2014-04-10 09:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8403924dc79d9311896cc39b8ec5731b8e618a0e [^]
2014-04-10 13:52AtulOpenbravoNote Added: 0066310
2014-04-10 13:52AtulOpenbravoStatusresolved => new
2014-04-10 13:52AtulOpenbravoResolutionfixed => open
2014-04-10 13:52AtulOpenbravoStatusnew => scheduled
2014-04-10 13:53AtulOpenbravoReview Assigned To => VictorVillar
2014-04-10 13:53AtulOpenbravoStatusscheduled => resolved
2014-04-10 13:53AtulOpenbravofix_in_branchpi =>
2014-04-14 09:29VictorVillarNote Added: 0066368
2014-04-14 09:29VictorVillarStatusresolved => closed
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066911
2017-03-06 18:47aferrazRelationship addedrelated to 0035428

Notes
(0065673)
AtulOpenbravo   
2014-04-01 16:15   
Test Plan
- Login as F&B International Group Admin.
- Navigate to Product window. Create a new product as BOM. Set Stocked flag as No, Bills Of Material flag as Yes.
- Navigate to Price List Tab. Select price list version as 'Tarifa de Ventas' and set price as zero.
- Navigate to Bills Of Material Tab. Add a record with Agua Sin Gas Product. Click on Verify BOM button.
- Navigate to Price List window. Select 'Tarifa de Ventas' and set Price includes taxes flag as Yes.
- Navigate to Sales Order Window. Create a new one for Business Partner: Alimentos y Supermercados
- Go to Sales Order Lines tab. Create a Line for Product: BOM, Click on Explode button.
- Realize that the Gross Unit price and Total Gross Amount is set with proper values.
(0066287)
hgbot   
2014-04-10 09:00   
Repository: erp/devel/pi
Changeset: 8403924dc79d9311896cc39b8ec5731b8e618a0e
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Apr 01 19:21:48 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/8403924dc79d9311896cc39b8ec5731b8e618a0e [^]

Fixes Issue 25932 In Sales Order wrong Total Gross Amt for non stocked BOM

---
M src-db/database/model/functions/M_EXPLODEBOMNOTSTOCK.xml
---
(0066310)
AtulOpenbravo   
2014-04-10 13:52   
Re-opened to add Review Assigned To
(0066368)
VictorVillar   
2014-04-14 09:29   
Verified
(0066911)
hudsonbot   
2014-05-07 18:11   
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/02ca2648bcdc [^]
Maturity status: Test