Hi
Community
I'm trying to create a record via postman to specific model(account.move)/journal entry and journal item, how to do it. e.g. I did it in another model (res.partner):
path: http://localhost:8069/send_request?model=res.partner
json: "{
"fields" :["name","phone"] ,
"values": {"name": "Razaq Wahidi2",
"phone": "022432100"
}
}"
result: {"New resource": [{"id": 7, "name": "Razaq Wahidi2", "phone": "022432100"}]}
how to do in (account.move). I want to create a draft invoice, and 'customer name, invoice date, invoice due dat, journal id, product, quantity, price, total and account' are needs.