Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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"?
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
|Asked: 2/12/15, 1:54 PM|
|Seen: 1750 times|
|Last updated: 3/17/17, 2:07 PM|