To redirect from the frontend of a website to the backend of Odoo, you can use the following code:
href="https://your-odoo-server/web#id=product_id&model=product.product&action=your_action_id">Link text
Replace your-odoo-server with the URL of your Odoo server, product_id with the ID of the product you want to open, product.product with the model name of the product, and your_action_id with the ID of the action you want to execute.
You can find the model name and action ID by going to the Developer Mode in the backend of Odoo and looking for the appropriate model and action.
Keep in mind that this will only work if the user is already logged in to the backend of Odoo. If they are not logged in, they will be redirected to the login page before being redirected to the desired page.
Hi, I need some more info. Why would you want to send "form, mode or action" to backend?
Hai Lucio. I send "form, mode or action" to backend in case when I design an email template with front end designer and save or cancel it, it will redirect exactly the last opened action or form. I think it will usefully for odoo if you want anything about redirect from website to web (front to back).
On Tuesday, July 28, 2015, Lucio <lucio-nardelli-itecnis-com@mail.odoo.com> wrote:
--
Beloved Friend
Andre Leander