Skip to content

Instantly share code, notes, and snippets.

View grillermo's full-sized avatar
💭
Working to deliver magic!

Guillermo Siliceo grillermo

💭
Working to deliver magic!
View GitHub Profile
@progrium
progrium / README.md
Last active October 17, 2021 18:33
Large Type CLI utility for Mac in less than 80 lines of Go

largetype

largetype screenshot

Building

Note: For now, Apple Silicon users need to be set up for x86 mode

First, download Go or brew install go. Then, put largetype.go in a directory called largetype and from there run:

$ go mod init largetype
@komuw
komuw / create_sale_order.py
Last active August 6, 2020 22:48
Creating and updating a sale.order in openERP
##############################
#Creating a sale order including the products.#
import oerplib
oerp = oerplib.OERP('localhost', protocol='xmlrpc', port=8069)
user = oerp.login('user', 'passwd', 'db_name')
#create a dictionary with fields and their values. the dict ought to have at a minimum all the fields that are marked required=True for that model
sale_order_dict = {
'picking_policy': 'direct',
'currency_id': 98,