Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020770Openbravo ERPA. Platformpublic2012-06-14 12:482012-06-14 17:48
naiaramartinez 
naiaramartinez 
normalminorhave not tried
closedfixed 
5
 
 
Core
Pre packaging ( pi )
2012-05-31
https://code.openbravo.com/erp/devel/pi/rev/cf3e984e1fae [^]
No
0020770: when selecting a BP its address is not selecting by default if the field is not mandatory
when selecting a BP its address is not selecting by default if the field is not mandatory.

In Service Porject window the same is happening for invoice address field.
Go to Service Project window.
Create a record. Select a business partner.
Notice that partner Address field is not populating.

In that window there is a invoice address field that is not displaying. If you set that field as visible, you can see that this field is not populating either.
No tags attached.
related to defect 00202573.0MP12 closed AugustoMauch The partner selector takes long to show data having more than 600k partners 
Issue History
2012-06-14 12:48naiaramartinezNew Issue
2012-06-14 12:48naiaramartinezAssigned To => alostale
2012-06-14 12:48naiaramartinezModules => Core
2012-06-14 12:49naiaramartinezAssigned Toalostale => naiaramartinez
2012-06-14 12:50naiaramartinezRegression date => 2012-05-31
2012-06-14 12:50naiaramartinezRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/cf3e984e1fae [^]
2012-06-14 13:12naiaramartinezAssigned Tonaiaramartinez => AugustoMauch
2012-06-14 13:15plujanRegression level => Pre packaging ( pi )
2012-06-14 13:15plujanAssigned ToAugustoMauch => naiaramartinez
2012-06-14 15:52AugustoMauchRelationship addedrelated to 0020257
2012-06-14 16:12hgbotCheckin
2012-06-14 16:12hgbotNote Added: 0049839
2012-06-14 16:12hgbotStatusnew => resolved
2012-06-14 16:12hgbotResolutionopen => fixed
2012-06-14 16:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b2f3cf3eb4ee7669229c5c088027f175447a3dc8 [^]
2012-06-14 16:20AugustoMauchNote Added: 0049840
2012-06-14 17:48marvintmNote Added: 0049844
2012-06-14 17:48marvintmStatusresolved => closed

Notes
(0049839)
hgbot   
2012-06-14 16:12   
Repository: erp/devel/pi
Changeset: b2f3cf3eb4ee7669229c5c088027f175447a3dc8
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Jun 14 16:08:17 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b2f3cf3eb4ee7669229c5c088027f175447a3dc8 [^]

Fixes issue 20770: Business partner selector selects first location

Now the callouts affected by the business partner selector change explicitly selects the first location in the location combo, to ensure that it is selected too in no mandatory combos.

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Project_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Proposal_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java
---
(0049840)
AugustoMauch   
2012-06-14 16:20   
Test plan: ensure that all the callouts set the first location when a business partner is selected:
SE_Invoice_BPartner.java -> Sales Invoice, Header tab
SE_Order_BPartner.java -> Sales Order, Header tab
SE_Project_BPartner.java -> Service Project, Header tab (More information section)
SE_Proposal_BPartner.java -> Service Project, Proposal tab
SL_InOut_BPartner.java -> Incoming Shipment, Header tab
(0049844)
marvintm   
2012-06-14 17:48   
Tested that the location is selected if the field is mandatory, and also if it's not, and verified that the callout doesn't fail in case the business partner doesn't have any location.