Posts

PyScript in Odoo

Image
 Using PyScript in Odoo PyScript allows developers to write python code inside HTML and call javascript libraries. Lets create a new Odoo module which will allow developers to use PyScript in their website [This module is created for Odoo version 15.0] Steps to follow to create our module: Create an empty module Create template for new page Create controller for our page Create a new menu in website Create an empty module Create a directory named pyscript_base. This will be our Odoo app Inside the directory create two python files [ __init__.py and __manifest__.py ] Copy the contents for both files from here pyscript_base/__init__.py # -*- coding: utf-8 -*- from . import controllers pyscript_base/__manifest__.py # -*- coding: utf-8 -*- { 'name' : "PyScript Base" , 'version' : '15.0.1.0' , 'summary' : """Sample pyscript to Odoo website""" , 'description' : """ Examples ...

Odoo Development Tips

     Odoo is a great platform for developers working in open source software. Odoo provides a variety of integrated apps which can be readily used and are easy for customization. Here we will go through some of the development features of Odoo     Creating an automated action in Odoo    All code in the blog pages are available in Github . Make sure you are using correct branch.