[IMP]odex_benefit: IMP benefit

This commit is contained in:
younes 2026-01-21 11:34:43 +01:00
parent 574f3d4576
commit 88a471f2fa
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
from Tools.scripts.dutree import store
from odoo import fields, models, api, _
from odoo.exceptions import UserError, ValidationError
from datetime import date, datetime, timedelta
@ -42,7 +40,7 @@ class ServiceRequest(models.Model):
store=True)
service_attach = fields.Many2many('ir.attachment', 'rel_service_attachment_service_request', 'service_request_id',
'attachment_id', string='Service Attachment')
requested_service_amount = fields.Float(string="Requested Service Amount", copy=False)
requested_service_amount = fields.Float(string="Requested Service Amount", copy=False,tracking=False)
# yearly Estimated Rent Amount
estimated_rent_amount = fields.Float(string="Estimated Rent Amount", compute="_get_estimated_rent_amount",
store=True)