knowledge/document_page_approval
Iván Todorovich 6b2a0bf565 [FIX+IMP] document_page_approval:
* Rename classes and files to match model names, and removed workflow engine.
* Some fields should be readonly if not in draft.
* Allow Knowledge / Manager to edit previous history names and summary
* Improve ux by adding user_has_drafts to document pages.
* Changes because of implementation of active field on document_page
* Add ir.rules for document.page.history
* Allow to quickly cancel&draft from 'to approve' state
* FIX BUG: am_i_approver was being run as sudo(), hence always giving the user Approving rights.
* FIX hooks
  Because of default='draft' on the state field, state IS NULL wasn't selecting anything.
  Left the condition in case this is changed in the future.
2025-02-28 09:42:12 +05:30
..
data [IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2025-02-28 09:42:12 +05:30
i18n [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
images start porting 2025-02-28 09:42:12 +05:30
models [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
security [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
tests [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
views [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
__init__.py [MIG] document_page_approval: Migration to 11.0 2025-02-28 09:42:12 +05:30
__manifest__.py [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
hooks.py [FIX+IMP] document_page_approval: 2025-02-28 09:42:12 +05:30
README.rst [MIG] document_page_approval: Migration to 11.0 2025-02-28 09:42:12 +05:30

.. 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

======================
Document Page Approval
======================

This module adds a workflow to approve page modifications and show the approved version by default.

Installation
============

No specific installation required.

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

* Set a valid email address on the company settings.
* Go to Knowledge > Categories.
* Create a new page category and set an approver group. Make sure users belonging to that group have valid email
  addresses.

Usage
=====

To use this module, you need to:

* Go to Knowledge > Pages
* Create a new page and choose the previously created category.
* A notification is sent to the approvers group with a link to the page history to review.
* Depending on the review, the page history is approved or not.
* Users reading the page see the last approved version.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
    :alt: Try me on Runbot
    :target: https://runbot.odoo-community.org/runbot/118/11.0

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


Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/
knowledge/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 `here <https://github.com/OCA/knowledge/issues/new?body=module:%20document_page_approval%0Aversion:%2010.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* Odoo SA <info@odoo.com>
* Savoir-faire Linux <support@savoirfairelinux.com>
* Gervais Naoussi <gervaisnaoussi@gmail.com>
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Iván Todorovich <ivan.todorovich@gmail.com>

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.