mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] : black, isort, prettier
This commit is contained in:
committed by
Jean-Charles Drubay
parent
8880bb66cf
commit
92a4e7781e
@@ -10,15 +10,15 @@ from odoo import fields, models
|
||||
|
||||
|
||||
class ContractTemplateLine(models.Model):
|
||||
_name = 'contract.template.line'
|
||||
_inherit = 'contract.abstract.contract.line'
|
||||
_name = "contract.template.line"
|
||||
_inherit = "contract.abstract.contract.line"
|
||||
_description = "Contract Template Line"
|
||||
_order = "sequence,id"
|
||||
|
||||
contract_id = fields.Many2one(
|
||||
string='Contract',
|
||||
comodel_name='contract.template',
|
||||
string="Contract",
|
||||
comodel_name="contract.template",
|
||||
required=True,
|
||||
ondelete='cascade',
|
||||
oldname='analytic_account_id',
|
||||
ondelete="cascade",
|
||||
oldname="analytic_account_id",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user