XML-RPC API / how to write stock.quant via "call_button: stock.transfer_details do_detaild_transfer"
Hi, I am using the xml-rpc-protocol (Odoo V8.0) to write into ODOO a lot of external sales <article and invoices> by an written delphi-daemon. My purpurse is that, I will have the sales-items of an external system within my ODOO. At the moment, I can successfully syncronise the <product.product>, and on the salespart all the functions as <stock.picking>, <stock.move>, <sale.order> <stock.transfer_detail> and so on.
But I am not able to write the Quant-Items. I dont find any Information, how to get the quants to calculate or write by XML-RPC? Is it done by "routes"?
Thru the Odoo-logging and the TimeStamp, I found out, the quats-Items are usually be created in the database exactly during the following rpc.request (by the Odoo-web-Client). As I want to copy this call via XML-RPC, but I dont know, how?
2015-02-12 17:37:02,420 28263 DEBUG h2o-service openerp.http.rpc.request: call_button: stock.transfer_details do_detailed_transfer, [,
2015-02-12 17:37:02,619 28263 DEBUG h2o-service openerp.http.rpc.response: call_button: stock.transfer_details do_detailed_transfer: time:0.200s mem: 1012536k -> 1012536k (diff: 0k), False
How do I execute the "call_button: stock.transfer_details do_detaild_transfer" manually by XML-RPC? How is the syntax?
On server-side, I activate logging by <openerp-server --log-request --log-response>?
The debugging in the Web-Clients says a Method "do_detailed_transfer"?
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
|Asked: 2/12/15, 1:54 PM|
|Seen: 1134 times|
|Last updated: 3/16/15, 8:10 AM|