Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009654Openbravo ERP09. Financial managementpublic2009-06-26 11:302010-03-12 22:39
dalsasua 
adrianromero 
normalminorsometimes
closedfixed 
20Ubuntu 8.04Hardy
main 
pi2.50MP14 
Core
No
0009654: Copy Budget button doesn't work
When copying one budget lines to another budget, although a "Process Completed Successfully" message appears, no line is copied.
Go to Financial Management || Accounting || Transactions || Budget || Header
Create a new one called "empty"
Create another one called "with lines"
Go to lines
Create a new one
Go to header
Click on "Copy Budget"
Choose the budget called "empty" - Success message is shown, and no line is copied
Go to "empty" budget
Click on "Copy Budget"
Choose the budget called "with lines"
Realize that an error message is shown, and no line is copied.
Fix the process, so budget is copied
No tags attached.
Issue History
2009-06-26 11:30dalsasuaNew Issue
2009-06-26 11:30dalsasuaAssigned To => rafaroda
2009-06-30 21:01psarobeNote Added: 0017695
2009-06-30 21:01psarobeStatusnew => feedback
2009-08-28 15:04rafarodaNote Added: 0019268
2009-09-01 08:14dalsasuaNote Added: 0019358
2009-09-01 08:14dalsasuaStatusfeedback => new
2009-09-01 13:28rafarodaNote Added: 0019370
2009-09-01 13:28rafarodaStatusnew => feedback
2009-09-03 13:29dalsasuaStatusfeedback => new
2009-09-03 13:29dalsasuaversion => pi
2009-09-03 13:29dalsasuaSteps to Reproduce Updated
2009-09-14 12:48psarobeStatusnew => scheduled
2009-09-14 12:48psarobefix_in_branch => pi
2010-02-11 18:05rafarodaAssigned Torafaroda => adrianromero
2010-02-25 18:38dalsasuaversionpi => main
2010-02-25 18:38dalsasuaBuild => 2c21e06e2e3b
2010-02-25 18:38dalsasuafix_in_branchpi =>
2010-02-25 18:40dalsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=75#r75
2010-02-25 18:40dalsasuaNote Added: 0024828
2010-02-25 19:02hgbotCheckin
2010-02-25 19:02hgbotNote Added: 0024829
2010-02-25 19:02hgbotStatusscheduled => resolved
2010-02-25 19:02hgbotResolutionopen => fixed
2010-02-25 19:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/caf8b663e118a9bb2f7a4b6bd22458b302c58612 [^]
2010-03-03 07:20sureshbabuNote Added: 0024975
2010-03-03 07:20sureshbabuStatusresolved => closed
2010-03-03 07:20sureshbabuFixed in Version => 2.50MP13
2010-03-08 16:04jpabloaeFixed in Version2.50MP13 => 2.50MP14
2010-03-10 17:20anonymoussf_bug_id0 =>
2010-03-10 18:28anonymoussf_bug_id => 2967924
2010-03-12 22:39hudsonbotCheckin
2010-03-12 22:39hudsonbotNote Added: 0025326

Notes
(0017695)
psarobe   
2009-06-30 21:01   
Which is the propose solution?
(0019268)
rafaroda   
2009-08-28 15:04   
Reminder sent to: dalsasua

David,

Can you please provide Openbravo ERP version and a proposed solution for this functionality? Which fields should be copied?

Thanks.
(0019358)
dalsasua   
2009-09-01 08:14   
Hi,

I had no time to debug it. We must find why no line is copied, and fix it.

Regards.
(0019370)
rafaroda   
2009-09-01 13:28   
OK, remains in feedback until you have time to provide:
* Openbravo ERP version
* Proposed solution
Thanks.
(0024828)
dalsasua   
2010-02-25 18:40   
As the proposed solution was not enough (make a button do what it says it does), I have debugged the code, until issue reason is found. Once in this point, instead of write the proposed solution, I preferred to actually fix it, and commit it.

Thanks.
(0024829)
hgbot   
2010-02-25 19:02   
Repository: erp/devel/pi
Changeset: caf8b663e118a9bb2f7a4b6bd22458b302c58612
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Thu Feb 25 19:05:35 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/caf8b663e118a9bb2f7a4b6bd22458b302c58612 [^]

Fixes issue 9654: Copy Budget button doesn't work

---
M src-db/database/model/functions/C_BUDGET_COPY.xml
---
(0024975)
sureshbabu   
2010-03-03 07:20   
Tested, working fine
(0025326)
hudsonbot   
2010-03-12 22:39   
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/caf8b663e118 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]