Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

XMLRCP using PHP for project management

By
Chaitannya Mahatme
on 4/11/15, 12:53 PM 565 views

Hello Everyone,

I am working on a project wherein I would want to access tasks allocated to a remotely logged in user through a PHP application. I have referred to the https://doc.odoo.com/6.0/developer/6_22_XML-RPC_web_services/ to this document.

I am able to get the login part correct. Now how to get the tasks for a given user. I think I can use the search functionality. I used the

function search ($client,$relation,$attribute,$operator,$keys) ... 

I have tried for simple search like 'res.admin'='admin' and it worked. I want to design a UI where the user is able to see the projects he is assigned to. If he selects any of the project, then he should be able to see all his tasks.

I found that all projects are listed in 'account_analytic_account' table. When I used the same search funtion for 'account.analytic.account' query, I got this error 'Error Object account.analytic.account doesn't exist'.

What is the issue here ? How do I proceed further ? 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 4/11/15, 12:53 PM
Seen: 565 times
Last updated: 6/21/16, 5:02 AM