Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5370 Visualizzazioni

 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
Abbandona