Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. function pos_custom(instance, module){
  2. var QWeb = instance.web.qweb;
  3.  
  4. module.CustomButtonWidget = module.ScreenWidget.extend({
  5. template: 'CustomButtonWidget',
  6. init: function(parent, options){
  7. this._super(parent);
  8. }
  9.  
  10. });
  11. }
  12.  
  13. (function(){
  14. var _super = window.openerp.point_of_sale;
  15. window.openerp.point_of_sale = function(instance){
  16. _super(instance);
  17. var module = instance.point_of_sale;
  18. pos_custom(instance, module);
  19. }
  20. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement