mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-23 13:52:13 -06:00
[ADD] document_page_partner: Copied the module from 10.0
This commit is contained in:
committed by
Luis Rodriguez
parent
4c08cb889e
commit
8ff89b79b2
4
document_page_partner/models/__init__.py
Normal file
4
document_page_partner/models/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015-18 Therp BV <https://therp.nl>
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
from . import document_page
|
||||
10
document_page_partner/models/document_page.py
Normal file
10
document_page_partner/models/document_page.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015-18 Therp BV <https://therp.nl>
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
from openerp import models, fields
|
||||
|
||||
|
||||
class DocumentPage(models.Model):
|
||||
_inherit = 'document.page'
|
||||
|
||||
partner_id = fields.Many2one('res.partner', 'Partner', index=True)
|
||||
Reference in New Issue
Block a user