mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[ADD] document_page_portal
This commit is contained in:
14
document_page_portal/models/document_page.py
Normal file
14
document_page_portal/models/document_page.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2020 - TODAY, Marcel Savegnago - Escodoo
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class DocumentPage(models.Model):
|
||||
|
||||
_inherit = 'document.page'
|
||||
|
||||
is_public = fields.Boolean(
|
||||
'Public Page',
|
||||
help='If true it allows any user of the portal to have '
|
||||
'access to this document.')
|
||||
Reference in New Issue
Block a user