Version 4.0 patchlevel 15 release note

Core changes

DemoProduct.increaseStock = function(params) {
    var qtty = params ? parseInt(params.get("demoPrdIncStock")) : 20;
    if (!isNaN(qtty)) {
        var s = this.getField("demoPrdStock");
        s.setValue(s.getInt(0) + qtty);
        this.save();
        return Message.formatSimpleInfo("DEMO_PRD_STOCK_INCREASED");
    }
};

UI changes

Fixes