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

RFQ: Let Suppliers answer via Web Interface

By
Michael Aigner
on 7/26/15, 8:36 AM 597 views

Hi,


I'm wondering if there is a solution out there that when I create a RFQ and send it so a supplier via Email, that would include a link in the email so that the supplier can directly give a response to that RFQ (accept, decline or change the price)?


Thanks,

Michael

0
Michael Aigner
On 7/28/15, 4:18 AM

OK, i found the solution, here we go:



<?php

require_once('ripcord.php');

$url = "http://yourdomain.com";

$db = "yourdb";

$username = "youradminuser";

$password = "yourpw";

$po_id = 1;

$common = ripcord::client("$url/xmlrpc/2/common");

$uid = $common->authenticate($db, $username, $password, array());

$models = ripcord::client("$url/xmlrpc/2/object");

$models->exec_workflow(

$db, $uid, $password,

'purchase.order', 'bid_received',

$po_id

);

$models->exec_workflow(

$db, $uid, $password,

'purchase.order', 'purchase_confirm',

$po_id

);

?>


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

1 follower(s)

Stats

Asked: 7/26/15, 8:36 AM
Seen: 597 times
Last updated: 7/28/15, 12:18 PM