Profile cover photo
Profile photo
Shiv Modi
142 followers -
Open Source Developer, Society Well Wisher, Blogger, Thinker
Open Source Developer, Society Well Wisher, Blogger, Thinker

142 followers
About
Shiv's interests
View all
Shiv's posts

Post has attachment

Post has attachment
Odoo 10: Close wizard and open standard form
Hi, Today we are going to learn how to open standard form after saving data in wizard. Let's say I have created an wizard to fill basic User details and once saved open default User form. Here is the xml code for my wizrd: <record id="view_custom_user_wizar...

Post has attachment

Post has attachment
Odoo: Download Binary File in v10
To download any binary file in Odoo10 following is the link: http://127.0.0.1:8069/web/content?model=<module_name>&field=<field_name>&filename_field=<field_filename>&id=<object_id> module_name    - the name of the model with the Binary field field_name     ...

Post has attachment

Post has attachment
Odoo: Set/use context in email templates
Today we are going to discuss, how to use/change context in dynamic/custom templates. Let's say we want to send some values to email template other than normal object id, here is the code for that In controllers/main.py local_context = request.env.context.c...

Post has attachment

Post has attachment
Odoo: Upload binary images from backend using API
If you want to upload binary image to odoo using API..here are the steps: controllers/main.py # -*- coding: utf-8 -*- from odoo.tools.translate import _ from odoo import http from odoo.http import request from odoo.addons import web from time import strftim...

Post has attachment

Post has attachment
Write web services using Odoo controllers
In Odoo you can write web-services for outside world. Let's discuss how it can be done using controllers. Suppose I need cross domain API which will return data in json format. For that we have to enable CORS and have to setup nginx reverse proxy . Example:...
Wait while more posts are being loaded