Skip to content

Instantly share code, notes, and snippets.

@oxydedefer
oxydedefer / ansible.cfg
Last active December 25, 2020 16:41
ansible.cfg
[defaults]
callback_whitelist = timer, profile_roles, profile_tasks
stdout_callback = yaml
bin_ansible_callbacks= True
strategy_plugins = /usr/lib/python3.8/site-packages/ansible_mitogen/plugins/strategy
host_key_checking = False
@oxydedefer
oxydedefer / odoo11_invoice.py
Last active July 4, 2022 14:54
Create invoice with payment in odoo 11 using odoorpc
# encoding: utf-8
import odoorpc
from datetime import datetime
HOST = 'localhost'
PORT = 8069
DB = 'DB_NAME'
USER = 'USER_MAIL'
PASS = 'PASSWORD_USER'