IDEMPIERE-9 : Not allowing updation of BPartner from Completed records.

This commit is contained in:
Deepak Pansheriya 2012-10-17 22:15:28 +05:30
parent 34328a3591
commit c54b3b6ca6
1 changed files with 3 additions and 1 deletions

View File

@ -430,9 +430,11 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
* Action - Special BPartner Screen
* @param newRecord true if new record should be created
*/
private void actionBPartner (boolean newRecord)
{
if(!getComponent().isEnabled())
return;
final WBPartner vbp = new WBPartner (lookup.getWindowNo());
int BPartner_ID = 0;