[ADD] selection of company type
This commit is contained in:
parent
599a89c806
commit
77ca108bef
@ -106,8 +106,13 @@ class PrintTemplate(models.Model):
|
|||||||
attachment_id = fields.Many2one(
|
attachment_id = fields.Many2one(
|
||||||
"ir.attachment", string="Template Attachment", required=True,
|
"ir.attachment", string="Template Attachment", required=True,
|
||||||
)
|
)
|
||||||
individual = fields.Boolean(string="Individual",)
|
company_type = fields.Selection(
|
||||||
company = fields.Boolean(string="Company",)
|
selection=[
|
||||||
|
('person', 'Individual'),
|
||||||
|
('sp', 'Sole Proprietor'),
|
||||||
|
('plc', 'Private Limited Company'),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class PrintTemplateContract(models.Model):
|
class PrintTemplateContract(models.Model):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user