Skip to content

Instantly share code, notes, and snippets.

Steps To Install Odoo MAC

Odoo is the most popular all-in-one business software in the world. To Install Odoo on MAC you just need to follow the below steps.

Step 1

Open terminal by pressing 'command+space' buttons and type "terminal" and then press enter

@akhdaniel
akhdaniel / Odoo on Ubuntu Installation Steps.md
Last active October 19, 2023 12:53
Odoo on Ubuntu Installation Steps

Step 1 - Add the Odoo repository

wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/<VERSION>/nightly/deb/ ./" >> /etc/apt/sources.list
apt-get update

Change VERSION to which Odoo version you want to install, for example: 10.0, 11.0, 12.0, 13.0 etc

Step 2 - Configure a Linux user for Odoo

Buat domain CNAME di internet.bs

Buat CNAME record mengarah ke <ip/name server> Misalnya: xeam.xerpium.com => xerpium.com.

Create app folder

@akhdaniel
akhdaniel / CORS issues on nginx, odoo, rest api.md
Created July 1, 2022 08:09
CORS issues on nginx, odoo, rest/jsonrpc API

Di nginx.conf atau site-enabled/yourdomain.conf, tambahkan entyr berikut di dalam directive "location /"

location / {

        # Simple requests
        #
        if ($request_method ~* "(GET|POST)") {

creat backup script ~/scripts/db_backup.sh

#!/bin/bash
DIR=`date +%d-%m-%y`
DEST=/db_backups/$DIR
mkdir $DEST

PGPASSWORD='postgres_password' pg_dump --inserts --column-inserts --username=postgres_user --host=postgres_host --port=postgres_port postgres_database_name > dbbackup.sql
@akhdaniel
akhdaniel / autopgsqlbackup
Created June 21, 2022 02:48 — forked from denishpatel/autopgsqlbackup
Auto PostgreSQL backup script.
#!/bin/bash
#
# PostgreSQL Backup Script Ver 1.0
# http://autopgsqlbackup.frozenpc.net
# Copyright (c) 2005 Aaron Axelsen <axelseaa@amadmax.com>
#
# This script is based of the AutoMySQLBackup Script Ver 2.2
# It can be found at http://sourceforge.net/projects/automysqlbackup/
#
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9
@akhdaniel
akhdaniel / Odoo Kanban Ribbon.md
Last active April 15, 2024 12:51
Odoo Kanban Ribbon

Cara membuat kanban yang ada ribbon nya seperti ini, misalnya berdasarkan state suatu record:

telegram-cloud-photo-size-5-6057744710799306077-y

1 Siapin File CSS, static/src/scc/ribbon.css

.ribbon {
@akhdaniel
akhdaniel / Vulnerabilities Fix.md
Last active August 24, 2021 07:54
Vulnerabilities Fix

Vulnerabilities fix

1 Upgrade wpasupplicant packages to version 2:2.7+git20190128+0c1e29f-6+deb10u3.

2 Upgrade lz4 packages to version 1.8.3-1+deb10u1

3 Upgrade libwebp packages to version 0.6.1-2+deb10u1

4 Upgrade libx11 packages to version 2:1.6.7-1+deb10u2

@akhdaniel
akhdaniel / anggaran.md
Created August 18, 2021 22:53
Pengelolaan Anggaran dan Realisasi pada Instansi Pemerintah

#anggaran

@akhdaniel
akhdaniel / barcode.md
Created August 18, 2021 00:54
Membuat Incoming Flexible Lot QR/Barcode

Generate Barcode Lot PEcah Barcode Merge Barcode