Skip to Content
Menu
This question has been flagged
5683 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

Christian

Avatar
Discard
Author

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.

Related Posts Replies Views Activity
1
Oct 24
262
1
Apr 24
506
2
Mar 24
731
0
Jan 24
468
0
Sep 23
575