A step-by-step demonstration of the instructions provided by Chapter 9 of the Odoo 15 Development Essentials (5th Edition) book, about learning the working of Odoo’s external API by installing a custom Odoo app (also called module or addon) and its client app which utilizes Odoo’s external API to communicate with the custom Odoo app on the server side. The custom Odoo app code is taken from the source code attachment of the book.
I was trying to solve a problem related to the option of displaying and hiding metadata of a page. This is useful in cases where some data in the metadata is irrelevant to be displayed. The metadata I’m talking about here is the information of a page that is commonly displayed on top of or below the page’s main heading or title such as date and word count. In my case, this metadata is generated by two partial templates in partials/article/metadata.
Read more…
Posted
on
in Miscellaneous
·
329 words
· 2 minute read
I’ve been thinking about it for quite some time. That the existence of “Cheat sheets” and “Snippets” page type in this blog is redundant. It makes me feel like something is not right. I need to clear this up. So, do I need to pick one, or keep them both? I guess I’ll go for “cheat sheet” if I need to pick one. Here’s my argument. “Snippets” can be included in cheat sheets.
Read more…
Posted
on
in Web Dev
·
54 words
· 1 minute read Tagged with:
Hugo, Themes
Elementary is a Hugo theme I created for my blog, this very blog. It is built based on another Hugo theme called smol. The design of some parts of it is inspired by a fork of smol.
Note that Elementary is still a work in progress. You can visit its project repository on GitHub.
Posted
on
in Web Dev
·
857 words
· 5 minute read Tagged with:
Hugo
In this post I explain about creating a simple custom shortcode in Hugo.
But, before starting off, we need to know what shortcodes are and the way they
works. So firstly I’m going to walk us through a little bit explanation of that.