docx_report_generation/models/res_partner_contract_field.py
Stepan Savelyev 299e8f7c3e [STYLE] black
2019-12-17 09:53:47 +05:00

13 lines
416 B
Python

from odoo import fields, models
class ContractField(models.Model):
_name = "res.partner.contract.field"
_description = "Contract Field"
description = fields.Char(string="Description", translate=True, default="",)
name = fields.Char(string="Name", required=True, translate=True,)
technical_name = fields.Char(
string="Technical Name", help="Name uses in template", required=True,
)