Browse Source

[ADD][10.0] Add partner_contact_configuration module (#377)

pull/392/head
Denis Roussel (ACSONE) 8 years ago
committed by Pedro M. Baeza
parent
commit
c12de0e9a2
  1. 56
      partner_contact_configuration/README.rst
  2. 0
      partner_contact_configuration/__init__.py
  3. 21
      partner_contact_configuration/__manifest__.py
  4. BIN
      partner_contact_configuration/static/description/icon.png
  5. 24
      partner_contact_configuration/views/partner_contact.xml
  6. 1
      setup/partner_contact_configuration/odoo/__init__.py
  7. 1
      setup/partner_contact_configuration/odoo/addons/__init__.py
  8. 1
      setup/partner_contact_configuration/odoo/addons/partner_contact_configuration
  9. 6
      setup/partner_contact_configuration/setup.py

56
partner_contact_configuration/README.rst

@ -0,0 +1,56 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
=============================
Partner Contact Configuration
=============================
Adds menu configuration access through the 'contacts' module main menu if
some users don't have sales rights and you want them to access partners
configuration (title, tags, ...)
Usage
=====
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/134/10.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Denis Roussel <denis.roussel@acsone.eu>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

0
partner_contact_configuration/__init__.py

21
partner_contact_configuration/__manifest__.py

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# Copyright 2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Partner Contact Configuration',
'summary': """
Adds menu configuration access through the 'contacts' module main menu
""",
'version': '10.0.1.0.0',
'license': 'AGPL-3',
'author': 'ACSONE SA/NV,Odoo Community Association (OCA)',
'website': 'https://acsone.eu',
'depends': ['base',
'contacts'
],
'data': ['views/partner_contact.xml'
],
'demo': [
],
}

BIN
partner_contact_configuration/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

24
partner_contact_configuration/views/partner_contact.xml

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 ACSONE SA/NV
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<menuitem id="menu_config_contacts"
parent="contacts.menu_contacts"
name="Contacts"
sequence="4"
groups="base.group_system"/>
<menuitem action="base.action_partner_category_form"
id="menu_partner_contacts_category_form"
name="Contact Tags"
sequence="1"
parent="menu_config_contacts"
groups="base.group_no_one"/>
<menuitem action="base.action_partner_title_contact"
id="menu_partner_contacts_title_contact"
name="Contact Titles"
parent="menu_config_contacts"
sequence="3"
groups="base.group_no_one"/>
</odoo>

1
setup/partner_contact_configuration/odoo/__init__.py

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

1
setup/partner_contact_configuration/odoo/addons/__init__.py

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

1
setup/partner_contact_configuration/odoo/addons/partner_contact_configuration

@ -0,0 +1 @@
../../../../partner_contact_configuration/

6
setup/partner_contact_configuration/setup.py

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
Loading…
Cancel
Save