odoo_18_Education_management/models/school_fee_structure_line.py

11 lines
329 B
Python

from odoo import models, fields, api
class SchoolFeeComponent(models.Model):
_name = 'school.fee.component'
_description = 'Fee Component'
structure_id = fields.Many2one('school.fee.structure', string="Fee Structure")
component_name = fields.Char(string="Component")
amount = fields.Float(string="Amount")