Odoo

Modify the Odoo Frontend

Today, I want to show you how you can modify your Odoo frontend, I wont go to deep into owl and instead just show the basic steps for implementing modifications and changes via HTML5, CSS und javascript.

Lets dive in and wet the toes.

We begin by writing a short cut-through css file to change and modify the view (in my example case here removing carets on the provisioning reports) but feel free to change any other element (or attribute) you want

Setup your python based backend system on Debian Bullseye

Here I wanted to document how to setup a python based backend (here: Odoo, but it could also be for example Django) on a pristine Debian / Ubuntu on

After a new installation of Debian / Ubuntu you need to install a couple of packages to start of with a usable system, we add the following packages via apt-get:

sudo apt-get install chromium, git, qdirstat, make, build-essential, python3

(Qdirstat is not needed always needed but sometimes helpful to have for a shell equivalent you can also use / install ncdu instead.)

Odoo hacks: Remove Lock-Button from Odoo v12

Today I want to introduce a solution for a usability-problem I had in Odoo recently. In Odoo 12 there is a lock button next to the edit / save button, and you have to click both to (1) unlock the page and (2) make it editable. This should be done in one step, effectively removing the locking mechanism used in the Delivery Orders (class StockPicking) and Manufacturing Orders (class MrpProduction). The solution requires an xml and a javascript-file as well as a dedicated web-controller. The soliution is presented below.