You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
OCA-git-bot 46bb6140c7 [ADD] icon.png 3 years ago
..
controllers [ADD] portal_partner_data_no_edit: New module 3 years ago
i18n [UPD] Update portal_partner_data_no_edit.pot 3 years ago
models [ADD] portal_partner_data_no_edit: New module 3 years ago
readme [ADD] portal_partner_data_no_edit: New module 3 years ago
static [ADD] icon.png 3 years ago
tests [ADD] portal_partner_data_no_edit: New module 3 years ago
views [ADD] portal_partner_data_no_edit: New module 3 years ago
README.rst [ADD] portal_partner_data_no_edit: New module 3 years ago
__init__.py [ADD] portal_partner_data_no_edit: New module 3 years ago
__manifest__.py [ADD] portal_partner_data_no_edit: New module 3 years ago

README.rst

==============================
Portal Partner Block Data Edit
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/12.0/portal_partner_data_no_edit
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-portal_partner_data_no_edit
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/134/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to block portal users info editing to prevent unproper
changes. We can configure it on every partner.

**Table of contents**

.. contents::
:local:

Configuration
=============

To test this module, you need to:

#. Block portal info editing for a partner:

- Go to *Contacts* and choose the partner.
- In the the *Sales and Purchases* tab, *Misc* section there is a field named
*Block Portal Info Edit*. Enable or disable at your convenience.

Usage
=====

Once configured log in with that user and:

- Go to `/my/account/`
- If the editing is blocked, you won't be able to edit any detail or submit
the form.

Known issues / Roadmap
======================

- Add the `block_portal_data_edit` flag to the invite to portal popup.
- Add a text on the page highlighted (for example with info BS class), saying for those
blocked users that they should contact the company for any modification.

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 <https://github.com/OCA/partner-contact/issues/new?body=module:%20portal_partner_data_no_edit%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Other credits
~~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* David Vidal

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/12.0/portal_partner_data_no_edit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.