Skip to content

Instantly share code, notes, and snippets.

View FerdinaKusumah's full-sized avatar
🧑‍🚀
✌🏻

Ferdina Kusumah FerdinaKusumah

🧑‍🚀
✌🏻
View GitHub Profile
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active July 25, 2024 20:47
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@CakJuice
CakJuice / example_model.py
Last active October 8, 2022 18:00
Example code for Many2one & One2many fields
from odoo import models, fields
class ParentModel(models.Model):
_name = 'parent.model'
parent_field_1 = fields.Char(string="Parent Field 1")
parent_field_2 = fields.Integer(string="Parent Field 2")
# If you want to display child data, you must create One2many field.