Welcome at
Ngasturi Notes
Learn Programming and Other
Odoo is a web-based open source ERP software. In one odoo application, there are many modules/addons that you can install as needed. For example, if you need an application for sales transactions, you can install the Sales module, if you need a production application, you can install the Manufacture module, and so on. Odoo can …. Read More
When I wrote this article, odoo 13 was released more than 1 year ago. There is even a newer version, odoo 14. Compared to odoo 12, there are many changes in their source code, such as the removal of the account.invoice model, the removal of the @api.multi decorator, the removal of the view_type field from …. Read More
In my previous article, I wrote that if we use the oe_chatter class chatter will not appear if opened from a modal. After I looked in more detail, it turned out that why odoo doing it was on purpose. In odoo 12 if the chatter is opened from a modal, the chatter will be hidden …. Read More
Meld is an application that is used to compare the contents of a directory or file. In my experience, for a programmer, this application is very useful. For example, when we are working with several teams, with meld we can compare the directory or file that we are working on with the directory or file …. Read More
In the odoo Sales menu, if you open the Quotation or Order menu, at the very bottom of the form there will be a block. If you make changes to the sales order form, for example changing the customer name, changing the price, etc, the changes will be recorded in that block. As shown below. …. Read More
To create reports in PDF or HTML file odoo has provided its own model, namely ir.actions.report. With this model, we can create PDF and HTML reports quite easily, without having to think about how to retrieve data from the database or how to download the reports. Unfortunately, to create reports in an excel file, we …. Read More
Odoo has provided an API that can be accessed from outside of the odoo application for all model by default. So if we want to link our odoo application with other application we don’t need to create our own API. Just call the API that has been provided by odoo. In this tutorial, I will …. Read More
In odoo, domain is a list that contains certain expressions that are used to filter some data from the database. Domain will be translated by odoo into an SQL expression to fill the where clause. For example, if we have a domain like this. The domain above if applied to the sale.order model will produce …. Read More
In my article previously, I have discussed about how to create a widget to open the Many2many field in the new browser tab. Not a long ago I have created an improved and more complete version of that module. In the previous version, not all Many2many fields with the many2many_tags widget could be opened in …. Read More
Context in odoo ecosystem is a python dictionary which is usually used as a marker to turn a feature off or on. With a context we can set a model to have different features if opened from different menus. For example, let’s say we have a master product like the picture below. Pay attention to …. Read More