diff --git a/base_contact_readonly/README.rst b/base_contact_readonly/README.rst new file mode 100644 index 000000000..701dd2bf6 --- /dev/null +++ b/base_contact_readonly/README.rst @@ -0,0 +1,72 @@ +.. 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 + +===================== +Readonly Address Book +===================== + +This module prevent user to create, update and/or delete partner data +through *Messaging -> Organizer -> Contacts* menu. + +Installation +============ + +To install this module, you need to: + +1. Clone the branch 8.0 of the repository https://github.com/OCA/partner-contact +2. Add the path to this repository in your configuration (addons-path) +3. Update the module list +4. Go to menu *Setting -> Modules -> Local Modules* +5. Search For *Readonly Address Book* +6. Install the module + +Usage +===== + +When this module is installed, user will not be able to create, update or delete partner +data through *Messaging -> Organizer -> Contacts* menu. Partner data can be create, update and/or delete +trough other partner menu, such as: *Accounting -> Customer -> Customers*, or *Accounting -> Supplier -> Suppliers*, +or *Sales -> Sales -> Customers*, or *Purchases -> Purchase -> Suppliers* + + +.. 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/8.0 + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Contributors +------------ + +* Andhitia Rama + +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. diff --git a/base_contact_readonly/__init__.py b/base_contact_readonly/__init__.py new file mode 100644 index 000000000..fbf16d813 --- /dev/null +++ b/base_contact_readonly/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/base_contact_readonly/__openerp__.py b/base_contact_readonly/__openerp__.py new file mode 100644 index 000000000..6e0777d55 --- /dev/null +++ b/base_contact_readonly/__openerp__.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Readonly Address Book", + "version": "8.0.1.0.0", + "category": "Base", + "website": "https://opensynergy-indonesia.com/", + "author": "OpenSynergy Indonesia, Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "contacts", + ], + "data": [ + "views/res_partner_views.xml", + ], +} diff --git a/base_contact_readonly/static/description/icon.png b/base_contact_readonly/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_contact_readonly/static/description/icon.png differ diff --git a/base_contact_readonly/views/res_partner_views.xml b/base_contact_readonly/views/res_partner_views.xml new file mode 100644 index 000000000..eae3862fb --- /dev/null +++ b/base_contact_readonly/views/res_partner_views.xml @@ -0,0 +1,75 @@ + + + + + + + + Read Only res.partner tree + res.partner + primary + + + + + false + false + false + + + + + + + tree + + + + + + Read Only res.partner form + res.partner + primary + + + + + false + false + false + + + + + + + form + + + + + + Read Only res.partner kanban + + res.partner + primary + + + + false + false + false + + + + + + + kanban + + + + + +