2019-12-10 16:27:36 +05:00
|
|
|
from odoo import fields, models
|
|
|
|
|
|
|
|
|
|
|
|
class ContractField(models.Model):
|
|
|
|
_name = "res.partner.contract.field"
|
|
|
|
_description = "Contract Field"
|
|
|
|
|
2019-12-17 09:53:47 +05:00
|
|
|
name = fields.Char(string="Name", required=True, translate=True,)
|
2019-12-10 16:27:36 +05:00
|
|
|
technical_name = fields.Char(
|
2019-12-17 09:53:47 +05:00
|
|
|
string="Technical Name", help="Name uses in template", required=True,
|
2019-12-10 16:27:36 +05:00
|
|
|
)
|
2019-12-18 16:26:26 +05:00
|
|
|
description = fields.Char(string="Description", translate=True, default="",)
|
2019-12-28 15:09:32 +05:00
|
|
|
sequence = fields.Integer(string="Sequence",)
|