From 88dde0c35fe1e13af7977b6a51ec97de2eed4797 Mon Sep 17 00:00:00 2001 From: "Luis M. Ontalba" Date: Wed, 31 May 2017 11:33:59 +0200 Subject: [PATCH] [FIX] views and manifest --- partner_sector/README.rst | 2 +- partner_sector/__manifest__.py | 4 ++-- partner_sector/models/res_partner_sector.py | 2 -- partner_sector/views/res_partner_sector_view.xml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/partner_sector/README.rst b/partner_sector/README.rst index 1aff7c12d..a75e80363 100644 --- a/partner_sector/README.rst +++ b/partner_sector/README.rst @@ -14,7 +14,7 @@ Configuration To manage sectors, you need to: -* Go to *Sales > Configuration > Sectors*. +* Go to *Sales > Configuration > Contacts > Sectors*. Usage diff --git a/partner_sector/__manifest__.py b/partner_sector/__manifest__.py index ebbb27dc9..91b45fbba 100644 --- a/partner_sector/__manifest__.py +++ b/partner_sector/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Partner Sector", "summary": "Add partner sectors", - "version": "10.0.1.0.1", + "version": "10.0.1.0.0", "category": "Customer Relationship Management", "website": "http://www.tecnativa.com", "author": "Tecnativa, Odoo Community Association (OCA)", @@ -14,7 +14,7 @@ "application": False, "installable": True, "depends": [ - "sale", + "sales_team", ], "data": [ "security/ir.model.access.csv", diff --git a/partner_sector/models/res_partner_sector.py b/partner_sector/models/res_partner_sector.py index a5402aca9..1dacb810c 100644 --- a/partner_sector/models/res_partner_sector.py +++ b/partner_sector/models/res_partner_sector.py @@ -20,9 +20,7 @@ class ResPartnerSector(models.Model): child_ids = fields.One2many(comodel_name='res.partner.sector', inverse_name='parent_id', string="Children") - # parent_left = fields.Integer('Parent Left', select=True) parent_left = fields.Integer('Parent Left', index=True) - # parent_right = fields.Integer('Parent Right', select=True) parent_right = fields.Integer('Parent Right', index=True) @api.multi diff --git a/partner_sector/views/res_partner_sector_view.xml b/partner_sector/views/res_partner_sector_view.xml index 244ab0660..e0d5412f8 100644 --- a/partner_sector/views/res_partner_sector_view.xml +++ b/partner_sector/views/res_partner_sector_view.xml @@ -24,7 +24,7 @@