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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
partner_sector/__openerp__.py
-
partner_sector/views/res_partner_view.xml
|
@ -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)", |
|
|
|
@ -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" |
|
|