1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
| {
"jsonrpc" : "2.0",
"method" : "call",
"params" : {
"model" : "pos.order",
"method" : "create_from_ui",
"args" : [[{
"id" : 20,
"data" : {
"name" : "Order 1402870151182",
"amount_paid" : 9.6,
"amount_total" : 9.6,
"amount_tax" : 0,
"amount_return" : 0,
"lines" : [[0, 0, {
"qty" : 1,
"price_unit" : 1.98,
"discount" : 0,
"product_id" : 52
}
], [0, 0, {
"qty" : 1,
"price_unit" : 1.48,
"discount" : 0,
"product_id" : 163
}
], [0, 0, {
"qty" : 1,
"price_unit" : 1.26,
"discount" : 0,
"product_id" : 109
}
], [0, 0, {
"qty" : 1,
"price_unit" : 0.71,
"discount" : 0,
"product_id" : 123
}
], [0, 0, {
"qty" : 1,
"price_unit" : 2.5300000000000002,
"discount" : 0,
"product_id" : 132
}
], [0, 0, {
"qty" : 4,
"price_unit" : 0.41000000000000003,
"discount" : 0,
"product_id" : 120
}
]],
"statement_ids" : [[0, 0, {
"name" : "2014-06-15 22:10:51",
"statement_id" : 38,
"account_id" : 57,
"journal_id" : 5,
"amount" : 5
}
], [0, 0, {
"name" : "2014-06-15 22:10:51",
"statement_id" : 39,
"account_id" : 12,
"journal_id" : 7,
"amount" : 4.6
}
]],
"pos_session_id" : 18,
"user_id" : 1
}
}
]],
"kwargs" : {},
"session_id" : "42b1ad6bc7d4421781f5757c5f6629a9",
"context" : {
"lang" : "fr_FR",
"tz" : "Europe/Brussels",
"uid" : 1
}
},
"id" : "r283"
} |
Partager