mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
14 lines
602 B
Python
14 lines
602 B
Python
from odoo import models, fields
|
|
|
|
|
|
class HrDocument(models.Model):
|
|
_name = 'hr.document'
|
|
_description = 'Documents Template '
|
|
|
|
name = fields.Char(string='Document Name', required=True, copy=False, help='You can give your'
|
|
'Document name here.')
|
|
note = fields.Text(string='Note', copy=False, help="Note")
|
|
attach_id = fields.Many2many('ir.attachment', 'attach_rel', 'doc_id', 'attach_id3', string="Attachment",
|
|
help='You can attach the copy of your document', copy=False)
|
|
|