コンテンツへスキップ
メニュー
この質問にフラグが付けられました

For example, I can call

xmlrpclib.ServerProxy('http://localhost:9069/xmlrpc/db').create_database('db_name',False, 'en')

But I would like to add a new method by a module

Thanks for the help!

アバター
破棄

Have you tried creating a new module with your custom method? Since all the methods should be available, so should yours in that case.

Hi Ludo, thanks for the quick response. I think it is not so simple as extending a class (like for eg. res.partner). 
I need to add a method avilable to be use as a WS and available without any db installed, the same as the methods restore, dump, etc defined in "openerp/service/db.py"
Thanks, 
Juan 

Ing. Juan José Scarafía
(+54 9 341)153 278039
skype: jjscarafia
twitter: @jjscarafia
github: @jjscarafia


2015-02-20 6:05 GMT-03:00 Ludo - Neobis <ludo@neobis.nl>:

Have you tried creating a new module with your custom method? Since all the methods should be available, so should yours in that case.

--
Ludo - Neobis
Sent by Odoo S.A. using Odoo about Forum Post How can I extend odoo web service methods available?

関連投稿 返信 ビュー 活動
1
11月 19
6546
1
7月 18
10770
1
4月 16
4030
0
2月 16
3499
0
11月 15
3181