Odoo Help

0

Invoice creation using json post

By
Meena
on 10/6/16, 6:52 AM 278 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"]}]  }}

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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