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
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
############################## | |
#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, |