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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementmajoralways2009-08-28 22:002010-03-10 18:28
ReporterelopioView Statuspublic 
Assigned Torafaroda 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revisionacdd19231c37
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version
OS VersionUbuntu 9.04Database version8.3Ant version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010431: UOM is not properly updated in expense sheet lines.

DescriptionWhen selecting a product with UOM in hours, the combobox shows Days.
Steps To ReproduceThis is the scenario ID 1102 :: Test Case Create some Expense Sheets, part of the smoke test detailed in testlink (http://tools.openbravo.com:8891/testlink [^])

    * Login as userA
    * Go to Project & Service Management->Transactions->Expense Sheet
    * Click New and fill:
          o Description: Expenses Consultancy for Customer A project
          o Employee: Eduard
    * Go to Lines tab.
    * Click New and fill:
          o Reinvoincing: Y
          o Product: Service A
          o Quantity: 1
          o Project: Consultancy for Customer A
          o Project Phase: Project delivery
          o Project Task: Project presentation
    * Check that:
          o UOM: Day
          o Expense Amount: 1
          o Business Partner: CUSTOMER A
    * Go back to Header tab.
    * Click on Process Expenses button.
    * Click New and fill:
          o Description: Expenses Service Project for Customer A project
          o Employee: Eduard
    * Go to Lines tab.
    * Click New and fill:
          o Product: Service A
          o Quantity: 2
          o Project: Service Project for Customer A
    * Check that:
          o UOM: Day
          o Expense Amount: 2
    * Click New and fill:
          o Time Sheet: Y
          o Reinvoincing: Y
          o Product: Service B
          o Quantity: 80
          o Project: Service Project for Customer A
    * Check that:
          o UOM: Hour -> here is the bug.
Proposed SolutionUpdate UOM value after selecting the product.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00109232.50MP7 closedgorkaion The SL_ProductionPlan_WRPhase does not work properly 
related to defect 0012279 closedalostale Validation rule does not trigger always onChange event 
related to defect 00113362.50MP11 closedrafaroda 'Create Sales Orders from Expenses' process assumes that it will always find a price 
related to defect 00112422.50MP11 closedrafaroda in time sheet, can not select business partner if project don't have associated it 
related to defect 0011980 closedrafaroda Avoid inconsistent data in expense sheet lines. 
related to defect 00119602.50MP14 closedharikrishnan Delivery Method is not properly updated when creating a Sales Order 
related to defect 00119752.50MP11 closedharikrishnan Create Lines From Goods Receipt does not update secondary unit 
related to defect 00118292.50MP12 closedrafaroda In Process Plan, I/O product, does not calculate properly UOM 

-  Notes
(0019295)
rafaroda (developer)
2009-08-31 08:04

Hi Leo,

I am not able to reproduce this issue following these steps:

1) Create a Product Service B:
* Name = Service B
* UOM = Hours
* Product Type = Service
2) Go to Expense Sheet and create a new one.
3) Go to lines:
* Time Sheet = Y
* Product = Service B

UOM is correctly set to Hours.

Can you please provide feedback?

Thanks.
(0019357)
elopio (reporter)
2009-09-01 04:19

This is the same verification where I get a 1 as the amount and you get a 0. I don't know what might be the issue, as it has happened at least 3 times in a row.
I'll reinstall everything and let you know if this happens again. Also I'll upload the code so tomorrow it will be executed in QA servers. This will give us a variety of environments.

pura vida.
(0019385)
elopio (reporter)
2009-09-01 23:18

I can reproduce the bug. When I click the time sheet checkbox service b is selected but uom combobox is not updated. Please check it on QA machine, I'll send you the ip by mail.

thanks.
(0019460)
elopio (reporter)
2009-09-04 07:50

I think that for the same reason, the amount textfield remains with 1 as it's value. Instead of 0, as it should be.
(0019908)
psarobe (manager)
2009-09-14 13:48

I can reproduce it
(0023832)
hgbot (developer)
2010-01-27 16:04

Repository: erp/devel/pi
Changeset: acdd19231c379e9a6ddb26e7ce41b4c2add7bb0e
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Sat Jan 23 04:37:26 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/acdd19231c379e9a6ddb26e7ce41b4c2add7bb0e [^]

Fixes issue 10431 UOM now properly updates in expense sheet lines.

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---
(0023874)
sureshbabu (reporter)
2010-02-01 11:30

when i click the Time sheet checkbox for the first time the UOM field update rightly to Hour, but when i uncheck the timesheet checkbox once again, the product field rightly changes to sercice A, but the UOM field not getting updated(i can able to reproduce in my context after executing the smoke test cases)
(0023898)
hudsonbot (developer)
2010-02-01 17:53

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/acdd19231c37 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3d5bd712a24b [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16007.obx [^]
(0024369)
rafaroda (developer)
2010-02-15 17:59

Hi Suresh,

I will set this issue as resolved and I opened a related Platform issue 0012279 Validation rule does not trigger always onChange event

Thanks for your observation.
(0024377)
sureshbabu (reporter)
2010-02-16 08:21

New issue as been opened and i am closing this issue.
(0025042)
hgbot (developer)
2010-03-04 07:26

Repository: tools/automation/main
Changeset: 5f4749854b1b980ba140785069aef28f708d7bcb
Author: Leo Arias <leo.arias <at> openbravo.com>
Date: Thu Mar 04 00:29:14 2010 -0600
URL: http://code.openbravo.com/tools/automation/main/rev/5f4749854b1b980ba140785069aef28f708d7bcb [^]

Removed an unnecesary function because issue 10431 is now solved.

---
M src-test/com/openbravo/test/integration/erp/gui/general/processscheduling/ProcessRequestPopUp.java
M src-test/com/openbravo/test/integration/erp/gui/projectandservice/transactions/ExpenseSheetLines.java
---

- Issue History
Date Modified Username Field Change
2009-08-28 22:00 elopio New Issue
2009-08-28 22:00 elopio Assigned To => rafaroda
2009-08-31 08:04 rafaroda Note Added: 0019295
2009-08-31 08:04 rafaroda Status new => feedback
2009-09-01 04:19 elopio Note Added: 0019357
2009-09-01 23:18 elopio Note Added: 0019385
2009-09-01 23:20 elopio Status feedback => new
2009-09-04 07:50 elopio Note Added: 0019460
2009-09-14 13:48 psarobe Priority normal => urgent
2009-09-14 13:48 psarobe Severity minor => major
2009-09-14 13:48 psarobe Status new => scheduled
2009-09-14 13:48 psarobe version main => pi
2009-09-14 13:48 psarobe Note Added: 0019908
2009-12-16 10:12 rafaroda Relationship added related to 0011336
2009-12-16 10:13 rafaroda Relationship added related to 0011242
2010-01-11 09:26 rafaroda Relationship added related to 0010923
2010-01-15 17:32 rafaroda Relationship added related to 0011980
2010-01-18 09:25 rafaroda Relationship added related to 0011960
2010-01-19 13:55 rafaroda Relationship added related to 0011975
2010-01-27 16:04 hgbot Checkin
2010-01-27 16:04 hgbot Note Added: 0023832
2010-01-27 16:04 hgbot Status scheduled => resolved
2010-01-27 16:04 hgbot Resolution open => fixed
2010-01-27 16:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/acdd19231c379e9a6ddb26e7ce41b4c2add7bb0e [^]
2010-01-27 16:09 rafaroda Relationship added related to 0011829
2010-02-01 11:30 sureshbabu Note Added: 0023874
2010-02-01 11:30 sureshbabu Status resolved => new
2010-02-01 11:30 sureshbabu Resolution fixed => open
2010-02-01 17:53 hudsonbot Checkin
2010-02-01 17:53 hudsonbot Note Added: 0023898
2010-02-04 08:42 rafaroda Status new => scheduled
2010-02-04 08:42 rafaroda fix_in_branch => pi
2010-02-15 17:58 rafaroda Relationship added related to 0012279
2010-02-15 17:59 rafaroda Note Added: 0024369
2010-02-15 17:59 rafaroda Status scheduled => resolved
2010-02-15 17:59 rafaroda Resolution open => fixed
2010-02-16 08:21 sureshbabu Note Added: 0024377
2010-02-16 08:21 sureshbabu Status resolved => closed
2010-02-16 08:21 sureshbabu Fixed in Version => pi
2010-02-17 00:00 anonymous sf_bug_id 0 =>
2010-03-04 07:26 hgbot Checkin
2010-03-04 07:26 hgbot Note Added: 0025042
2010-03-10 18:28 anonymous sf_bug_id => 2967926


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker