Odoo Help


XML-RPC API / how to write stock.quant via "call_button: stock.transfer_details do_detaild_transfer"

on 2/12/15, 1:54 PM 1,821 views

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, [[4],
 {'active_id': 4,
  'active_ids': [4],
  'active_model': 'stock.picking',
  'contact_display': 'partner_address',
  'lang': 'de_DE',
  'search_disable_custom_filters': True,
  'tz': 'Europe/Vienna',
  'uid': 1}]
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"?

Best regards


sorry folks.. didnt find a solution jet! I am now trying to look more into the routing&workflow feature of odoo.. May be I can do it by that. I will keep you informed... c.

on 2/13/15, 12:47 PM

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.


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)


Asked: 2/12/15, 1:54 PM
Seen: 1821 times
Last updated: 3/17/17, 2:07 PM