Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032620Openbravo ERP09. Financial managementpublic2016-04-07 16:022016-04-07 17:22
lorenzofidalgo 
Triage Omni OMS 
normalminoralways
closedno change required 
5
pi 
 
aferraz
Google Chrome
Core
No
0032620: Using price not including taxes, "Gross Unit Price" & "Line Gross Amount" are always set at "0.00" in "Lines" tab
If the user creates a sales order with a "Price List" that includes no taxes, that induces the products added in "Lines" tab have wrong data for fields like "Gross Unit Price" or "Line Gross Amount". Those fields are set as "0.00" instead of calculating the right gross amount.

I have reproduced this behaviour from pi to 3.0PR15Q2.6. It is possible that this wrong behavior has been introduced in a previous release.
0-Login ERP as Openbravo//openbravo.
1-Using F&B admin role, go to "Sales Order" window.
2-Create a new record using the following data:
--
Business partner: Hoteles Buenas Noches, S.A.
Price List: Tarifa de ventas ("Price includes Tax" unchecked)
--
Save the record.
3-Go to "Lines" tab and create in grid view a new record using the following data:
--
Product: Agua sin Gas 1L
Net Unit Price: 1.53
Tax: Entregas IVA 21%
--
Save the record.
4-If "Gross Unit Price" & "Line Gross Amount" are not displayed, display them through right clicking in the grid column.
Check "Gross Unit Price" & "Line Gross Amount" fields are set as "0.00" instead of calculating the right gross amount.
No tags attached.
depends on design defect 0024319 closed inigosanchez Grid mode should hide field content as per display logic rule 
png GrossUnitPice&LineGrossAmountIs0.png (104,383) 2016-04-07 16:02
https://issues.openbravo.com/file_download.php?file_id=9246&type=bug
png
Issue History
2016-04-07 16:02lorenzofidalgoNew Issue
2016-04-07 16:02lorenzofidalgoAssigned To => Triage Finance
2016-04-07 16:02lorenzofidalgoFile Added: GrossUnitPice&LineGrossAmountIs0.png
2016-04-07 16:02lorenzofidalgoWeb browser => Google Chrome
2016-04-07 16:02lorenzofidalgoModules => Core
2016-04-07 16:02lorenzofidalgoTriggers an Emergency Pack => No
2016-04-07 17:07aferrazRelationship addeddepends on 0024319
2016-04-07 17:22aferrazReview Assigned To => aferraz
2016-04-07 17:22aferrazNote Added: 0085501
2016-04-07 17:22aferrazStatusnew => closed
2016-04-07 17:22aferrazResolutionopen => no change required
2016-04-07 17:29aferrazNote Edited: 0085501bug_revision_view_page.php?bugnote_id=0085501#r11708

Notes
(0085501)
aferraz   
2016-04-07 17:22   
(edited on: 2016-04-07 17:29)
Issue rejected as "Gross Unit Price" and "Gross List Price" are only displayed in form view when price list includes taxes.
In grid view, they can be displayed due to issue https://issues.openbravo.com/view.php?id=11391. [^]

This is also documented: http://wiki.openbravo.com/wiki/Price_List [^]
When the price list does not include taxes the gross unit price and line gross amount fields are not displayed and both fields are not calculated at all in the line of the document. The final gross amount of the document will be the result of the sum of the lines net amounts plus the tax amounts