Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
if i click a button in odoo web then it should be able to redirect to backend (eg:sale.order)
<template id="authorize_s2s_form_1" inherit_id="payment_authorize.authorize_s2s_form"> <xpath expr="//button[@t-att-class='submit_class']" position="before"> <button name="back_method_sale" type="submit" > <a class="btn btn-danger btn-xs" t-att-href="'/web#id=%s&view_type=form&model=sale.order&menu_id=%s&action=%s&' % (partner_id, %(sale.menu_sale_order)d, %(sale.action_orders)d, ) ">Back to SO</a> </button> </xpath> </template>
Actually, the above code works fine in Chrome, but its not works in firefox..
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/20/16, 3:04 AM|
|Seen: 794 times|
|Last updated: 5/3/18, 6:52 AM|