Currently I am using odoov8, my problem is that I have created many filters from xml code as per my requirement and all are working fine ,but I can select only one filter at a time .  so for example I want to apply any 3 Filters in tree view , then I...
The OpenERP web interface relies heavily on javascript, QWeb, jQuery (I think), and css.  The default view has a black menu bar along the top, a side menu bar along the left, and the rest of the screen for the content being served.  The issue I was t...
I want to modify a section of JS code in Odoo 8 (module point_of_sale). The original code is this one:  function openerp_pos_models(instance, module){     ...     module.Order = Backbone.Model.extend({         ...         addPaymentline: function(cas...
How do you load javascript files in version 8? In version 7, you could simply show the location of js in manifesto file (__openerp__.py) like this:  'js': ['static/src/js/file.js'],  Now it does not work.  For example I created js fil...
I am trying to include my custom javascript in my module but the js file is not getting loaded.  Below is my code:  js:  openerp.hr_timesheet_extended = function (instance) {      var QWeb = instance.web.qweb,         _t  = instance.web._t,         _...
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 run some client-side javascript from a button in a form view in Odoo 8. This button runs a python method which returns this dictionary:  {"type": "ir.actions.client",  "tag": "my_module.do_something",}   do_s...
I'm trying to have a JavaScript event fired on a header button (the workflow button).  This is my js  var _t = instance.web._t, QWeb = instance.web.qweb;      instance.web.FormView.include({          init: function() {             this._super.app...
How can I trigger a javascript function from on_change event?  This is what I need to achieve:   User input in Field_1 > Cursor move focus to Field_3 User input in Field_3 > Cursor move back focus to Field_1   Thanks...
I'd like to add a domain filter on the res.users model in the Odoo POS. I want to base this filter on the user group, this is a many2many field so any ideas how I can achieve this. I tried following without result.    {       model:  'res.use...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.