Iam working in odoo 10, in that i need to modify the default "PackLotLinePopupWidget" so i extend this popup widget in pos module. so for i created a custom module and try to extend the "PackLotLinePopupWidget" from "popups.js" file. But the extended popup is not working in my custom module.
This is the code..
var PackLotLinePopupWidget = PackLotLinePopupWidget.extend({
init: function(parent, options)
{ this._super(parent,options);
var self = this;
this.click_confirm = function(){
alert('testing');
} },
});
Please anyone tell me how to extend this existing popup widget??
Did you find out how to do it? I am trying to do the exact same thing.
Check my answer
Thanks Silviaa, looks great.