Skip to Content
Menu
This question has been flagged
4848 Views

 I would like to pass the "partner_id" parameter to the following URL:
https://www.test.fr/store_test
In my xml file, I added
       <a href="https://www.test.fr/odoo_test">                      <button class="oe_stat_button o_res_partner_tip_opp" type="action" attrs="{'invisible': [('customer', '=', False)]}" name="devis" icon="fa-star" context="{'search_default_partner_id': active_id}">                            <field string="Devis" name="x_devis_count" widget="statinfo"/>                        </button>                        </a>
Can you please explain to me how I pass the partner_id to the url ?

Avatar
Discard