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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020931
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementmajoralways2012-07-05 10:182012-09-03 16:20
ReportermalsasuaView Statuspublic 
Assigned Tocaristu 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiond25b4678489a
ProjectionnoneETAnoneTarget Version3.0MP15
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Web browserGoogle Chrome
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020931: expense sheet is created with line net amount 0

DescriptionIf you create an expense sheet line from grid, the line net amount is saved with 0

So, when you create the purchase invoice, the line net amount is 0
Steps To Reproducein F&B
. product: Cerveza Lager 0,5L (only this product is "expense type")
   product type: Expense type
. business partner: Javier Martinez
   purchase price list: Precios Bebidas Alegres
   PO Payment Method: transferencia
   PO Payment terms: 30 days
   PO Financial Account: Banco de EspaƱa - Cuenta 2

. Expense sheet:
   new:
    employee: Javier Martinez
 --> STEPS 1
 . Expense sheet line
   new in grid:
     product: Cerveza Lager 0.5L <press tab>
     quantity: 10 <press tab>
      <press tab> several times: the actual line is saved, and new line is created.
    the line 10 , in net unit price, the value is 0, and it should be null

 --> STEPS 2
 . Expense sheet line
   new in form:
     product: Cerveza Lager 0.5L (is selected by default)
     quantity: 10
     save record.
     refresh record:
      net unit price is 0 and it should be null
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0021532 closedcaristu Line net amount not updating properly in Oracle 

-  Notes
(0051041)
jonalegriaesarte (viewer)
2012-07-31 17:18

Moved to MP15 due to other priorities
(0051162)
hgbot (developer)
2012-08-08 11:10

Repository: erp/devel/pi
Changeset: d25b4678489abf35a1f18a676e7d333e20ad9286
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Aug 08 10:59:04 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d25b4678489abf35a1f18a676e7d333e20ad9286 [^]

fixes issue 20931: expense sheet is created with line net amount 0

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---
(0051163)
caristu (viewer)
2012-08-08 11:13

Solution applied:

When creating a new expense sheet line, the net unit price is updated with the price of the product in the business partner purchase price list.

If the product is not present in the price list or the business partner hasn't got a purchase price list assigned, then the net unit price field is leaving blank and the user must fill it.
(0051665)
hgbot (developer)
2012-08-30 10:23

Repository: erp/devel/pi
Changeset: 1549d7119a636ded0d153cba642263f64b52bd31
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Aug 30 10:04:37 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1549d7119a636ded0d153cba642263f64b52bd31 [^]

related to issue 20931: expense sheet is created with line net amount 0

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---
(0051702)
hgbot (developer)
2012-08-31 11:09

Repository: erp/devel/pi
Changeset: e364b1c3d2d7c3afd1bb3efcb90445c6005f2d5b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Aug 31 11:08:22 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e364b1c3d2d7c3afd1bb3efcb90445c6005f2d5b [^]

related to issue 20931: fixes numeric comparation

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---
(0051745)
hudsonbot (viewer)
2012-09-01 01:03

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/05b3ea484705 [^]

Maturity status: Test
(0051749)
hudsonbot (viewer)
2012-09-01 01:03

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/05b3ea484705 [^]

Maturity status: Test
(0051783)
malsasua (viewer)
2012-09-03 16:20

. steps to reproduce: OK
. create new line:
  . product is selected and net unit price is selected (from price list)
  . select other product: net unit price is changed to the price list of product selected
  . change the net unit price and select other product: net unit price is not changed

. code review: OK

- Issue History
Date Modified Username Field Change
2012-07-05 10:18 malsasua New Issue
2012-07-05 10:18 malsasua Assigned To => mirurita
2012-07-05 10:18 malsasua Web browser => Google Chrome
2012-07-05 10:18 malsasua Modules => Core
2012-07-05 10:18 malsasua OBNetwork customer => Yes
2012-07-10 12:13 naiaramartinez Assigned To mirurita => jonalegriaesarte
2012-07-25 12:48 jonalegriaesarte Assigned To jonalegriaesarte => caristu
2012-07-25 12:48 jonalegriaesarte Web browser Google Chrome => Google Chrome
2012-07-25 12:48 jonalegriaesarte Target Version => 3.0MP14
2012-07-27 10:32 caristu Status new => feedback
2012-07-31 17:18 jonalegriaesarte Web browser Google Chrome => Google Chrome
2012-07-31 17:18 jonalegriaesarte Note Added: 0051041
2012-07-31 17:18 jonalegriaesarte Target Version 3.0MP14 => 3.0MP15
2012-08-08 11:10 hgbot Checkin
2012-08-08 11:10 hgbot Note Added: 0051162
2012-08-08 11:10 hgbot Status feedback => resolved
2012-08-08 11:10 hgbot Resolution open => fixed
2012-08-08 11:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d25b4678489abf35a1f18a676e7d333e20ad9286 [^]
2012-08-08 11:13 caristu Note Added: 0051163
2012-08-30 10:23 hgbot Checkin
2012-08-30 10:23 hgbot Note Added: 0051665
2012-08-31 11:09 hgbot Checkin
2012-08-31 11:09 hgbot Note Added: 0051702
2012-09-01 01:03 hudsonbot Checkin
2012-09-01 01:03 hudsonbot Note Added: 0051745
2012-09-01 01:03 hudsonbot Checkin
2012-09-01 01:03 hudsonbot Note Added: 0051749
2012-09-03 12:52 caristu Relationship added related to 0021532
2012-09-03 16:20 malsasua Note Added: 0051783
2012-09-03 16:20 malsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker