mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-21 19:47:24 -06:00

(../7.0pageapproval/ rev 1) fix status bar in page approval (../7.0pageapproval/ rev 2) change approval workflow in page history and started to add showing approved page in normal page (../7.0pageapproval/ rev 3) show last approved content and aproved by (../7.0pageapproval/ rev 4) Fix bug on page creation (../7.0pageapproval/ rev 5) add status in history tree view (../7.0pageapproval/ rev 6) add a need approval field and hide the workflow when no approval needed (../7.0pageapproval/ rev 7) add access validation to approval (../7.0pageapproval/ rev 8) give rigth to Page aprover group on the page_history model and hide the button for unallowed group thought the security isn't enforced a the orm level (../7.0pageapproval/ rev 9) made invisible the prover group when not needed (../7.0pageapproval/ rev 10) add email to aprovers group's members (../7.0pageapproval/ rev 11)
43 lines
1.7 KiB
Python
43 lines
1.7 KiB
Python
# -*- encoding: utf-8 -*-
|
|
##############################################################################
|
|
#
|
|
# OpenERP, Open Source Management Solution
|
|
# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
##############################################################################
|
|
|
|
{
|
|
'name': 'Document Page Approval',
|
|
'version': '1.0',
|
|
"author" : "Savoir-faire Linux",
|
|
"website" : "http://www.savoirfairelinux.com",
|
|
"license" : "AGPL-3",
|
|
'category': 'Knowledge Management',
|
|
'description': """
|
|
Add a workflow to approve page modification and show the approved version by default
|
|
""",
|
|
'depends': ['document_page', 'email_template'],
|
|
'update_xml': ['document_page_wkfl.xml','document_page_view.xml'],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'images': [],
|
|
'data': [
|
|
'security/document_page_security.xml',
|
|
'security/ir.model.access.csv',
|
|
]
|
|
}
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|