[ADD] document_page_partner: Copied the module from 10.0

This commit is contained in:
Danny de Jong
2021-12-09 21:09:06 +01:00
committed by ntsirintanis
parent ba7883a280
commit b8b586f259
12 changed files with 618 additions and 0 deletions

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