Merge pull request #6290 from expsa/fgff

[IMP]odex_benefit: IMP benefit
This commit is contained in:
kchyounes19 2026-01-21 11:35:38 +01:00 committed by GitHub
commit 6f31b03cfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)