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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021375
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-08-17 13:492012-08-27 07:59
ReporterngarciaView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Version3.0MP15
StatusclosedFix in branchpiFixed in SCM revision818b602af1d9
ProjectionnoneETAnoneTarget Version3.0MP15
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021375: The line gross amount of a SO is not correctly calculated if it is not shown in grid view

DescriptionThe line gross amount of a SO is not correctly calculated if it is not shown in grid view and the price list includes tax.
Steps To ReproduceAs group admin role:
   Go to Price List window and select the Price includes Tax checkbox for "Tarifa de ventas"
   Create a new Sales Order with that Price List
   Check that the "Line Gross Amount" is not shown in grid view
   Add a line in grid mode and save it after including the Ordered Quantity (without changing the focus from it).
   Notice that the Line Gross Amount value is incorrect and therefore, the total gross amount, tax amount (tax tab)...

   Note: if the field is shown or you change the focus from the quantity field it works properly.
   
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051362)
hgbot (developer)
2012-08-20 12:04

Repository: erp/devel/pi
Changeset: de48663576d7a94a8e8d581f070d83b83859309b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Aug 20 12:02:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/de48663576d7a94a8e8d581f070d83b83859309b [^]

Fixes issue 21375: Field is updated even if not visible in grid

When a row is being edited in the grid, if there is a callout and the changed column is not displayed in the grid, its value was not being updated.

This has been fixed by modifying the setItemValue function of ob-view-form, so that it now takes into account that a field not being shown in the grid might be updated.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0051363)
AugustoMauch (manager)
2012-08-20 12:04

Issue reopened to set Closed by field
(0051519)
marvintm (developer)
2012-08-24 08:18

I can still partially reproduce the problem, if I do the following:

- Verify that the Line Gross Amount column is not shown in grid
- Create a line in grid editing view.
- Pick a product
- Tab to the quantity field.
- Type a different quantity, and without moving the focus out of the field, press CTRL+S

The Line Net Amount field will be correctly calculated, but the Line Gross Amount will still be wrong (this can be verified by viewing the record in form view).
(0051551)
hgbot (developer)
2012-08-26 23:52

Repository: erp/devel/pi
Changeset: 818b602af1d99f3b762228aea4db1a915edeec50
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Sun Aug 26 23:51:29 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/818b602af1d99f3b762228aea4db1a915edeec50 [^]

Fixes issue 21375: Line Net Amount saved properly

When saving in the grid a record just after modifying a dynamic column, the hidden columns were not being properly saved. Now when the results of the callbacks are applied, the hidden fields are also considered.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---

- Issue History
Date Modified Username Field Change
2012-08-17 13:49 ngarcia New Issue
2012-08-17 13:49 ngarcia Assigned To => marvintm
2012-08-17 13:49 ngarcia Modules => Core
2012-08-17 13:49 ngarcia Resolution time => 1348178400
2012-08-17 13:50 ngarcia Issue Monitored: networkb
2012-08-18 15:21 heccam Issue Monitored: heccam
2012-08-20 11:23 AugustoMauch Assigned To marvintm => AugustoMauch
2012-08-20 12:04 hgbot Checkin
2012-08-20 12:04 hgbot Note Added: 0051362
2012-08-20 12:04 hgbot Status new => resolved
2012-08-20 12:04 hgbot Resolution open => fixed
2012-08-20 12:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/de48663576d7a94a8e8d581f070d83b83859309b [^]
2012-08-20 12:04 AugustoMauch Note Added: 0051363
2012-08-20 12:04 AugustoMauch Status resolved => new
2012-08-20 12:04 AugustoMauch Resolution fixed => open
2012-08-20 12:05 AugustoMauch Closed by => marvintm
2012-08-20 12:05 AugustoMauch Status new => scheduled
2012-08-20 12:05 AugustoMauch fix_in_branch => pi
2012-08-20 12:05 AugustoMauch Status scheduled => resolved
2012-08-20 12:05 AugustoMauch Resolution open => fixed
2012-08-24 08:18 marvintm Note Added: 0051519
2012-08-24 08:18 marvintm Status resolved => new
2012-08-24 08:18 marvintm Resolution fixed => open
2012-08-26 23:52 hgbot Checkin
2012-08-26 23:52 hgbot Note Added: 0051551
2012-08-26 23:52 hgbot Status new => resolved
2012-08-26 23:52 hgbot Resolution open => fixed
2012-08-26 23:52 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/de48663576d7a94a8e8d581f070d83b83859309b [^] => http://code.openbravo.com/erp/devel/pi/rev/818b602af1d99f3b762228aea4db1a915edeec50 [^]
2012-08-27 07:59 marvintm Status resolved => closed
2012-08-27 07:59 marvintm Fixed in Version => 3.0MP15


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker