Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Invoice creation using json post

By
Meena
on 10/6/16, 6:52 AM 106 views

Sending following JSON to create the invoice in oDoo but it is throwing me 500 Internal server error. Please guide me -
{  "AuthToken": "xxxxxxxxxxx==",  "Record": {  "currency_id":[52,"AWG"],"partner_id":[15,"Xavier"], "company_id":[1,"Aruba Airlines"], "account_id":[7,"101200 Account Receivable"],"journal_id":[12,"STJ/2016/0001"],"date":"2016-10-07","invoice_line":[{"origin":false,"account_analytic_id":false,"account_id":[3,"101000 Current Assets"],"price_unit":2.0,"name":"Board","partner_id":[15,"Xavier"],"product_id":[3,"Board"],"discount":0.0,"quantity":2.0,"company_id":[1,"Aruba Airlines"]}]  }}

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/6/16, 6:52 AM
Seen: 106 times
Last updated: 10/6/16, 7:37 AM