Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Unable to modify ClientListScreenWidget of point_of_sale in odoo v9

By
Gajanan Kathar
on 1/8/16, 1:33 AM 385 views

I am extending ClientListScreenWidget in odoo 9  but I unable to do that any help will be appreciated, given below is my code.

odoo.define('pos_point_redemption.widgets', function (require) {
"use strict";
console.log("pos_point_redemption widgets")
module = instance.point_of_sale;
var PosBaseWidget = require('point_of_sale.BaseWidget');
var chrome = require('point_of_sale.chrome');
var gui = require('point_of_sale.gui');
var models = require('point_of_sale.models');
var screens = require('point_of_sale.screens');
var core = require('web.core');
var Model = require('web.DataModel');
var formats = require('web.formats');
screens.ClientListScreenWidget.extend({
 init: function(parent, options){
 this._super(parent, options);
 this.partner_cache = new DomCache();
 },
});
});

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/8/16, 1:33 AM
Seen: 385 times
Last updated: 1/14/16, 12:35 PM