Is it possible create my own button and this button click call javascript function? Like simple onclick javascript method?  If the answer is yes, how can I do that?  I want to use "Add an item" button or create my own button that calls the sa...
I am trying to add a button to the POS screen. A lot of the information I have for this is related to Odoo 8 and this is probably why it is not working. I installed the custom addon without any errors but I don't see the button. I don't get a...
I have tried this code in odoo10 community but not working, what is my fault?  Or Can anyone guide me how to do it?      openerp.module_name= function (instance) {              var _t = instance.web._t, QWeb = instance.web.qweb;                  inst...
I'm trying to create a web extension using AngularJS, however, I did the following:    I created the widget and I rendered it. I tried to put ng-app and ng-controller on some rendered divs, and the result was there was no response at all.   It se...
I'm trying to redefine one of default ListView functions, but it seems not working, and we aren't get into function body. Any advices?  instance.web.ListView.extend({ do_search: function (domain, context, group_by) {     console.log("We n...
Hi there i'm working with a module in pos module and i want to do something.I create a button in pos orderline and i want when that button clicked ,, it should add another product automatically like the product already selected with the same quan...
I'm following the Building Interface Extensions guide with Odoo 11.  In the guide, it is stated that     In Odoo web, modules are declared as functions set on the global odoo   variable. The function's name must be the same as the addon (in t...
In (odoo8) POS module there's a function export_as_JSON in the  module.Orderline = Backbone.Model.extend. How can I extend this specific function. I tried :   module.Orderline.extend({   export_as_JSON: function() {   debugger;   return {      so...
If you have two widget in a view. And you do something with the first widget and you want to update (call display_field) the second widget. How to have the identifier for the second widget?  For example in the extend definition of a widget:  local.Fi...
I need to enable Virtual keyboard in Odoo and I made it almost. But the thing is when I click to a particular letter it comes on all the fields like below.  I have to resolve this.The entire code is just below including xml,javascript.  hotel.xml  &l...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.