Browse Source

[FIX] make field translatable

pull/32/head
houssine 5 years ago
parent
commit
a2ab0275f5
  1. 3
      easy_my_coop_loan/models/loan.py

3
easy_my_coop_loan/models/loan.py

@ -28,7 +28,8 @@ class LoanIssue(models.Model):
susbscribed_amount += line.amount susbscribed_amount += line.amount
issue.subscribed_amount = susbscribed_amount issue.subscribed_amount = susbscribed_amount
name = fields.Char(string="Name")
name = fields.Char(string="Name",
translate=True)
is_bond = fields.Boolean(string="Is a bond issue?") is_bond = fields.Boolean(string="Is a bond issue?")
is_loan = fields.Boolean(string="Is a subordinated loan issue?") is_loan = fields.Boolean(string="Is a subordinated loan issue?")
default_issue = fields.Boolean(string="Default issue") default_issue = fields.Boolean(string="Default issue")

Loading…
Cancel
Save