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...
I have a model say 'my.attendance' , also have a form view for this which contains some attendance details.What i need is when i open this form view it should always open in Edit mode.So i can directly enter the attendance without clicking Ed...
I am trying to execute a small javascript code according to the documentation but I can not make it work  __manifiest__.py  'depends': ['base','website'],  # always loaded 'data': [     'security/ir.model.access.cs...
My task: a dynamic progress bar in odoo.  I'm using the Odoo widget: 'progressbar'. I want to update the view every time the value is updated - hence I want to trigger the on_change_input javascript function inside my python write method...
I created a controller that returns a pdf, my problem is that I can't recall it from javascript, by pressing the button with the click action.  I have tried with ajax.rpc and rpc.query but to no avail. If I go to the url I can download the file....
Inject js code to fill in value  I'd like to fill in the time now while I click the filed which represent time.  I injected a js code in my template.   <script type="text/javascript"> $('input').click(function() {     var t...
I have a custom widget. In that custom widget I am showing pos receipt of an old order. On clicking the print Receipt button in the top corner I have to get a pop of print screen. For that I am using the below code.  But I am getting a blank pdf scre...
I want to inherit click function of below shown <a> tag and I want to addition my code when this will be clicked.  So how can I do it?...
I am using ODoo 11 and trying to convert odoo 10 module. I am getting SyntaxError: missing : after property id below is the code.      screens.ProductScreenWidget.include({         click_product: function(product) {             if (this.pos.config.cu...
I'm trying to add room reservation summary to the backend of my project, i have the following code working in odoo 10 but getting the error Uncaught TypeError: Widget is not a constructor  in odoo11.i've tried different solutions but haven...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.