mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 11:52:18 -06:00
[11.0][ADD] document_page_project
This commit is contained in:
14
document_page_project/models/document_page.py
Normal file
14
document_page_project/models/document_page.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2019 Eficent Business and IT Consulting Services S.L.
|
||||
# (http://www.eficent.com)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class DocumentPage(models.Model):
|
||||
_inherit = 'document.page'
|
||||
|
||||
project_id = fields.Many2one(
|
||||
string='Project',
|
||||
comodel_name='project.project',
|
||||
)
|
||||
Reference in New Issue
Block a user