Merge pull request #1981 from expsa/translation

fleet Translation
This commit is contained in:
enagahh 2024-12-25 15:26:05 +02:00 committed by GitHub
commit 96784ab033
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -762,7 +762,7 @@ msgstr "تفاصيل التكلفة"
#. module: odex_fleet
#: model:ir.model.fields,field_description:odex_fleet.field_vehicle_infraction__cost_percentage
msgid "Cost Percentage%"
msgstr ""
msgstr "%نسبة التحمل"
#. module: odex_fleet
#: model_terms:ir.ui.view,arch_db:odex_fleet.fleet_vehicle_costs_view_search

View File

@ -30,7 +30,7 @@ class Infractions(models.Model):
infraction_cost = fields.Integer(string="Infraction Cost")
cost_percentage = fields.Integer(string="Cost Percentage%")
discount_amount = fields.Integer(string="Discount Amount", compute = "get_discount_amount", store = True)
benefits_discounts = fields.Many2one(comodel_name='hr.salary.rule', string='Benefits/Discounts')
benefits_discounts = fields.Many2one(comodel_name='hr.salary.rule', string='Benefits/Discounts',domain="[('category_id.rule_type','=','deduction')]")
state = fields.Selection(selection=[('draft', 'Draft'),
('confirm', 'Confirm'),
('approve', 'Approved'),