Browse Source

[FIX] views and manifest

pull/619/head
Luis M. Ontalba 8 years ago
committed by mreficent
parent
commit
88dde0c35f
  1. 2
      partner_sector/README.rst
  2. 4
      partner_sector/__manifest__.py
  3. 2
      partner_sector/models/res_partner_sector.py
  4. 2
      partner_sector/views/res_partner_sector_view.xml

2
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

4
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",

2
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

2
partner_sector/views/res_partner_sector_view.xml

@ -24,7 +24,7 @@
<menuitem action="res_partner_sector_action"
id="menu_res_partner_sector"
name="Sectors"
parent="sales_team.menu_sale_config"
parent="sales_team.menu_config_address_book"
sequence="3"/>
</odoo>
Loading…
Cancel
Save