Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022671Openbravo ERP00. Application dictionarypublic2012-12-26 12:192017-05-29 15:37
ngarcia 
Triage Finance 
highminoralways
scheduledopen 
5
 
 
Core
No
0022671: Business partner location's name is not updated when updating the Location/Address
Business partner location's name is not updated when updating the Location/Address.

The trigger is launched when the c_bpartner_location table is updated and when you change only the Location/Address field that table is not updated (c_location table is updated instead)
As group admin role:
   Select a Business Partner which location name starts with '.'
   Change the City or the 1st line in the Location / Address field
   Save the record and check that the name has not been updated
   Change the value of any field and save it again
   Realize that the name gets updated
No tags attached.
duplicate of defect 00199443.0MP11 closed jonalegriaesarte When changing the location of a business partner, the name does not change 
Issue History
2012-12-26 12:19ngarciaNew Issue
2012-12-26 12:19ngarciaAssigned To => AugustoMauch
2012-12-26 12:19ngarciaModules => Core
2012-12-26 12:19ngarciaResolution time => 1362956400
2012-12-26 12:19ngarciaTriggers an Emergency Pack => No
2013-02-28 16:55ngarciaTarget Version => 3.0MP21
2013-02-28 19:06AugustoMauchAssigned ToAugustoMauch => dmiguelez
2013-02-28 19:09AugustoMauchNote Added: 0056862
2013-03-01 13:04SandrahuguetAssigned Todmiguelez => Sandrahuguet
2013-03-01 13:04SandrahuguetStatusnew => scheduled
2013-03-01 13:04Sandrahuguetfix_in_branch => pi
2013-03-01 15:00SandrahuguetAssigned ToSandrahuguet => ngarcia
2013-03-04 11:05jonalegriaesarteTarget Version3.0MP21 => 3.0MP22
2013-03-04 11:05jonalegriaesartefix_in_branchpi =>
2013-03-05 10:04ngarciaRelationship addedduplicate of 0019944
2013-03-05 10:20ngarciaTypedefect => design defect
2013-03-05 10:20ngarciaAssigned Tongarcia => jonalegriaesarte
2013-03-25 16:58jonalegriaesarteTarget Version3.0MP22 =>
2015-01-13 18:50ngarciaResolution time1362956400 =>
2017-05-29 15:37ngarciaAssigned Tojonalegriaesarte => Triage Finance

Notes
(0056862)
AugustoMauch   
2013-02-28 19:09   
The problem is that the trigger c_bpartner_location_trg() is not working as expected. When it checks if the location has changed it is comparing the IDs of the location, when it should compare if the fields of the referenced location have changed.