Pedro M. Baeza
4 years ago
committed by
Víctor Martínez
5 changed files with 71 additions and 57 deletions
-
11partner_pricelist_search/__manifest__.py
-
4partner_pricelist_search/models/product_pricelist.py
-
18partner_pricelist_search/models/res_partner.py
-
81partner_pricelist_search/tests/test_partner_pricelist_search.py
-
14partner_pricelist_search/views/product_pricelist_views.xml
@ -1,13 +1,17 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<record id="product_pricelist_view" model="ir.ui.view"> |
|||
<field name="model">product.pricelist</field> |
|||
<field name="inherit_id" ref="product.product_pricelist_view"/> |
|||
<field name="inherit_id" ref="product.product_pricelist_view" /> |
|||
<field name="arch" type="xml"> |
|||
<button name="toggle_active" position="before"> |
|||
<button name="show_pricelist_partners" type="object" |
|||
string="Customers" |
|||
class="oe_stat_button" icon="fa-users"/> |
|||
<button |
|||
name="show_pricelist_partners" |
|||
type="object" |
|||
string="Customers" |
|||
class="oe_stat_button" |
|||
icon="fa-users" |
|||
/> |
|||
</button> |
|||
</field> |
|||
</record> |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue