Browse Source

Feb 06 [UPDT] : Updated 'dental_clinical_management'

pull/370/head
AjmalCybro 6 months ago
parent
commit
445a982890
  1. 4
      dental_clinical_management/wizard/xray_report.py

4
dental_clinical_management/wizard/xray_report.py

@ -22,7 +22,7 @@
from odoo import fields, models
class XRayReport(models.TransientModel):
class XRayReport(models.Model):
"""To add the x-ray report of the patients"""
_name = 'xray.report'
_description = 'X-Ray Report'
@ -34,7 +34,7 @@ class XRayReport(models.TransientModel):
default=lambda self: fields.Date.context_today(self),
required=True,
help="date of report adding")
report_file = fields.Binary(string='Report File', required=True,
report_file = fields.Binary(string='Report File', required=True,store=True,
help="File to upload")
file_name = fields.Char(string="File Name",
help="Name of the file")

Loading…
Cancel
Save