Community mailing list archives

community@mail.odoo.com

Re: Public URL

by
Japan Shah (jsh)
- 12/21/2014 23:50:30
Hello,
       By starting Odoo server with '--db-filter' will solve your problem.
On Friday 19 December 2014 05:14 PM, Torvald Baade Bringsvor wrote:
<blockquote cite="mid:CAGWx-g_LaBNFird+48RmJcy-5Xfj5upXNNVP44oJnuD7=XBWBA@mail.gmail.com" type="cite">
Hi

I have a web controller that is supposed to be called by an external script using curl.

I have set auth='public' in the @http.route decorator, but it doesn't quite work. The reason is of course that you have to select database, which forces you to log in anyway. And adding ?db=database doesn't work.

Is there any way to solve this, or do I have to make an external script that logs in and acts as a proxy for the curl script?

-Torvald



Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe