diff --git a/addons/education_base/views/academic_level_views.xml b/addons/education_base/views/academic_level_views.xml index ebedf85..82c27a4 100644 --- a/addons/education_base/views/academic_level_views.xml +++ b/addons/education_base/views/academic_level_views.xml @@ -20,9 +20,14 @@
+
+
- diff --git a/addons/education_portal/models/__pycache__/announcement.cpython-312.pyc b/addons/education_portal/models/__pycache__/announcement.cpython-312.pyc index 5654ea7..0f66536 100644 Binary files a/addons/education_portal/models/__pycache__/announcement.cpython-312.pyc and b/addons/education_portal/models/__pycache__/announcement.cpython-312.pyc differ diff --git a/addons/education_portal/models/announcement.py b/addons/education_portal/models/announcement.py index bbaae36..88bc4fc 100644 --- a/addons/education_portal/models/announcement.py +++ b/addons/education_portal/models/announcement.py @@ -24,3 +24,5 @@ class EducationAnnouncement(models.Model): default=lambda self: self.env.company, index=True, ) + circular_file = fields.Binary(string='Circular File', attachment=True) + circular_filename = fields.Char(string='Circular Filename') diff --git a/addons/education_portal/views/announcement_views.xml b/addons/education_portal/views/announcement_views.xml index 54d2a23..d603937 100644 --- a/addons/education_portal/views/announcement_views.xml +++ b/addons/education_portal/views/announcement_views.xml @@ -30,6 +30,8 @@ + + diff --git a/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss b/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss index 873865e..74dc62c 100644 --- a/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss +++ b/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss @@ -222,6 +222,7 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager { // Input fields (Modern SaaS style - clean gray boxes that highlight) .o_field_widget { input:not([type="checkbox"]):not([type="radio"]), select, textarea { + width: 100% !important; background-color: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 6px !important; @@ -237,6 +238,23 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager { outline: none !important; } } + + // File upload button + .o_select_file_button { + background-color: var(--o-brand-primary) !important; + color: #ffffff !important; + border: none !important; + border-radius: 6px !important; + font-weight: 600 !important; + padding: 8px 16px !important; + transition: all 0.2s ease; + + &:hover { + background-color: #177a7a !important; + transform: translateY(-1px); + box-shadow: 0 4px 10px rgba(31, 143, 143, 0.3) !important; + } + } } // Group titles / Separators