You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
721 B
22 lines
721 B
# Copyright 2004-2010 OpenERP SA
|
|
# Copyright 2014 Angel Moya <angel.moya@domatix.com>
|
|
# Copyright 2015 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
|
# Copyright 2016-2018 Carlos Dauden <carlos.dauden@tecnativa.com>
|
|
# Copyright 2016-2017 LasLabs Inc.
|
|
# Copyright 2018 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ContractTemplate(models.Model):
|
|
_name = 'contract.template'
|
|
_inherit = 'contract.abstract.contract'
|
|
_description = "Contract Template"
|
|
|
|
contract_line_ids = fields.One2many(
|
|
comodel_name='contract.template.line',
|
|
inverse_name='contract_id',
|
|
copy=True,
|
|
string='Contract template lines',
|
|
)
|