Skip to content

Instantly share code, notes, and snippets.

View jeevanism's full-sized avatar
💭
Tempus Fugit !

Jeevachaithanyan Sivanandan jeevanism

💭
Tempus Fugit !
View GitHub Profile
@jeevanism
jeevanism / gist:188442b3e38326657f6ef606bdf19000
Created September 14, 2025 12:20
odoo redirect /shop page
if you want to redirect Odoo /shop page to /products
<template id="redirect_shop_to_products" inherit_id="website_sale.product">
<xpath expr="//li[@class='breadcrumb-item o_not_editable']/a" position="attributes">
<attribute name="t-att-href">keep('/products', category=0)</attribute>
</xpath>
</template>
@jeevanism
jeevanism / git-clone-branch.txt
Created September 14, 2025 12:06
Clone branch only
Just use the command to clone only a particular branch not all branches from a repo
git clone --branch <branch_name> --single-branch <repository_url>