Comment by rossi.lu...@gmail.com:
Hi tejas, take a look at this thread:
https://groups.google.com/forum/#!topic/tryton-dev/0FhTZRC0LN0
Cheers!
For more information:
https://code.google.com/p/tryton/wiki/RemoteCalls
> Please anyone have complete xmlrpc php solution for tryton. ?
http://php.net/manual/es/book.xmlrpc.php
--
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wik
Comment by tejas.ta...@gmail.com:
Please anyone have complete xmlrpc php solution for tryton. ?
I have developed for OpenERP, but till looking for Tryton.
For more information:
http://code.google.com/p/tryton/wiki/RemoteCalls
Comment by raimones...@gmail.com:
To call methods in a object, you need first add this methods in _rpc.
{{{
def __init__(self):
super(Party, self).__init__()
self._rpc['default_lang'] = True
}}}
After, you can call this method:
= Proteus =
{{{
Party = Model.get('party.party')
lang = Par
Comment by rico.glo...@googlemail.com:
BTW, if you consider XML-RPC bloated (well, i do), you might want to
consider using JSON-RPC instead (Port 8000 by default). To use it,
activate in trytond.conf:
{{{
# Activate the json-rpc protocol
#jsonrpc = False
# Configure the port for the json-rp
Comment by rico.glo...@googlemail.com:
Also for those interested in the real RPC, because they dont have a real
XML-RPC API handy:
{{{
# Query
POST /tryton HTTP/1.0
Accept: */*
Connection: keep-alive
User-Agent: XMLRPC::Client (Ruby 1.8.7)
Content-Type: text/xml; charset=utf-8..Authorization:
Comment by rico.glo...@googlemail.com:
notes:
* all obj.call() return an array, thats sometimes not correctly shown in
the example
* the call for model.ir.ui.menu.search with 'parent = 1' is superflouos,
since its a duplicate information to the childs Array in the previous call
* the v
Comment by rico.glo...@googlemail.com:
notes:
- all obj.call() return an array, thats sometimes not correctly shown in
the example
- the call for model.ir.ui.menu.search with 'parent = 1' is superflouos,
since its a duplicate information to the childs Array in the previous call
- the very