ooor 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/app/models/client_xmlrpc.rb +1 -2
- metadata +1 -1
@@ -8,12 +8,11 @@ require 'xmlrpc/client'
|
|
8
8
|
module Ooor
|
9
9
|
class XMLClient < XMLRPC::Client
|
10
10
|
def self.new2(ooor, url, p, timeout)
|
11
|
-
|
11
|
+
@ooor = ooor
|
12
12
|
super(url, p, timeout)
|
13
13
|
end
|
14
14
|
|
15
15
|
def call2(method, *args)
|
16
|
-
@@ooor.logger.debug args
|
17
16
|
request = create().methodCall(method, *args)
|
18
17
|
data = (["<?xml version='1.0' encoding='UTF-8'?>\n"] + do_rpc(request, false).lines.to_a[1..-1]).join #encoding is not defined by OpenERP and can lead to bug with Ruby 1.9
|
19
18
|
parser().parseMethodResponse(data)
|