IDEMPIERE-9 : Not allowing updation of BPartner from Completed records.
This commit is contained in:
parent
34328a3591
commit
c54b3b6ca6
|
@ -430,9 +430,11 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
||||||
* Action - Special BPartner Screen
|
* Action - Special BPartner Screen
|
||||||
* @param newRecord true if new record should be created
|
* @param newRecord true if new record should be created
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private void actionBPartner (boolean newRecord)
|
private void actionBPartner (boolean newRecord)
|
||||||
{
|
{
|
||||||
|
if(!getComponent().isEnabled())
|
||||||
|
return;
|
||||||
|
|
||||||
final WBPartner vbp = new WBPartner (lookup.getWindowNo());
|
final WBPartner vbp = new WBPartner (lookup.getWindowNo());
|
||||||
int BPartner_ID = 0;
|
int BPartner_ID = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue