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 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
5353
Переглядів
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація