Pman.Dialog.XtupleSalesProductList.js
},
{
"listeners": {
- "click": "function (_self, e)\n{\n Pman.Dialog.XtupleItem.show({}, function(){\n _this.grid.footer.onClick('first');\n });\n}"
+ "click": "function (_self, e)\n{\n Pman.Dialog.XtupleItem.show({item_id : 0}, function(){\n _this.grid.footer.onClick('first');\n });\n}"
},
"*prop": "buttons[]",
"text": "Create New",
listeners : {
click : function (_self, e)
{
- Pman.Dialog.XtupleItem.show({}, function(){
+ Pman.Dialog.XtupleItem.show({item_id : 0}, function(){
_this.grid.footer.onClick('first');
});
}