Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028702Openbravo ERP09. Financial managementpublic2015-01-20 18:242015-05-07 22:17
ngarcia 
reinaldoguerra 
highminoralways
closedfixed 
5
 
 
vmromanos
Core
No
0028702: Asset Organization should not be changed if it has lines
Asset Organization should not be changed if it has lines
As group admin role:
   Create an asset for F&B España Región Norte
   Calculate its amortization plan
   Navigate to one of its lines and process it
   Delete the rest of amortization lines
   Change the organization of the asset to F&B US East Coast
   Recalculate its amortization plan
   Check the first line is defined for F&B España Región Norte and the rest are defined for F&B US East Coast
   
It should not be allowed to change the organization if the asset has amortization lines
No tags attached.
related to design defect 0022314 new Triage Omni OMS In some windows the Organization can be changed and this change is not propagated to all its child records 
Issue History
2015-01-20 18:24ngarciaNew Issue
2015-01-20 18:24ngarciaAssigned To => Sandrahuguet
2015-01-20 18:24ngarciaModules => Core
2015-01-20 18:24ngarciaResolution time => 1428271200
2015-01-20 18:24ngarciaTriggers an Emergency Pack => No
2015-01-20 18:24ngarciaIssue Monitored: networkb
2015-01-21 09:35ngarciaRelationship addedrelated to 0022314
2015-03-09 17:29jonalegriaesarteResolution time1428271200 =>
2015-03-11 13:26ngarciaTarget Version3.0PR15Q3 =>
2015-03-31 00:31reinaldoguerraAssigned ToSandrahuguet => reinaldoguerra
2015-03-31 00:31reinaldoguerraStatusnew => scheduled
2015-03-31 23:13reinaldoguerraNote Added: 0076187
2015-04-28 11:03hgbotCheckin
2015-04-28 11:03hgbotNote Added: 0076816
2015-04-28 11:03hgbotStatusscheduled => resolved
2015-04-28 11:03hgbotResolutionopen => fixed
2015-04-28 11:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fdfb9ced1b3197e7433eb9c1bfbb115ff16bbd63 [^]
2015-04-28 11:04vmromanosReview Assigned To => vmromanos
2015-04-28 11:04vmromanosNote Added: 0076817
2015-04-28 11:04vmromanosStatusresolved => closed
2015-05-07 22:17hudsonbotCheckin
2015-05-07 22:17hudsonbotNote Added: 0077169

Notes
(0076187)
reinaldoguerra   
2015-03-31 23:13   
Test plan used:
1- Login into Openbravo ERP
2- Go to Assets window for any organization
3- Save it and note that organization field is set now as not updatable, so always will match with assets lines
(0076816)
hgbot   
2015-04-28 11:03   
Repository: erp/devel/pi
Changeset: fdfb9ced1b3197e7433eb9c1bfbb115ff16bbd63
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Mon Mar 30 21:27:03 2015 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/fdfb9ced1b3197e7433eb9c1bfbb115ff16bbd63 [^]

Fixed bug 28702: Assets Organization should not be changed if it has lines

Like happens in other windows such as Products and Business Partner, the organization's field behaviour in Assets window was changed to not be updatable.
Now when the Assets record is saved, it is not possible to change its organization, so there will not be inconsistencies with previous created lines if the amortizations are recalculated.

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0076817)
vmromanos   
2015-04-28 11:04   
Code review + testing OK
(0077169)
hudsonbot   
2015-05-07 22:17   
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/a1817f84bd8b [^]
Maturity status: Test