[ADD] document_page_portal

This commit is contained in:
Marcel Savegnago
2020-02-15 03:43:10 -03:00
committed by kaynnan
parent 65099e2562
commit ebd5bfae68
25 changed files with 1110 additions and 0 deletions

View 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.')