Browse Source

Merge pull request #558 from Eficent/9.0-fix-partner_sector

[9.0][FIX] partner_sector: fixing invalid filter_domain
pull/577/head
Jordi Ballester Alomar 7 years ago
committed by GitHub
parent
commit
7165df2ca8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      partner_sector/__openerp__.py
  2. 2
      partner_sector/views/res_partner_view.xml

2
partner_sector/__openerp__.py

@ -6,7 +6,7 @@
{ {
"name": "Partner Sector", "name": "Partner Sector",
"summary": "Add partner sectors", "summary": "Add partner sectors",
"version": "9.0.1.0.2",
"version": "9.0.1.1.2",
"category": "Customer Relationship Management", "category": "Customer Relationship Management",
"website": "http://www.tecnativa.com", "website": "http://www.tecnativa.com",
"author": "Tecnativa, Odoo Community Association (OCA)", "author": "Tecnativa, Odoo Community Association (OCA)",

2
partner_sector/views/res_partner_view.xml

@ -39,7 +39,7 @@
<field name="sector_id" <field name="sector_id"
string="Sector" string="Sector"
filter_domain="['|',('sector_id','ilike',self), filter_domain="['|',('sector_id','ilike',self),
('secondary_sector_ids','ilike',self)]"/>
('secondary_sector_ids.name','ilike',self)]"/>
</field> </field>
<filter name="salesperson" position="after"> <filter name="salesperson" position="after">
<filter name="sector" <filter name="sector"

Loading…
Cancel
Save