Browse Source

[IMP] remove bond issue flag.

12.0-small-changes
houssine 5 years ago
committed by robin.keunen
parent
commit
ff68a61c1b
  1. 2
      easy_my_coop_loan/models/loan.py
  2. 1
      easy_my_coop_loan/views/loan_view.xml

2
easy_my_coop_loan/models/loan.py

@ -20,7 +20,6 @@ class LoanIssue(models.Model):
name = fields.Char(string="Name",
translate=True)
is_bond = fields.Boolean(string="Is a bond issue?")
default_issue = fields.Boolean(string="Default issue")
subscription_start_date = fields.Date(string="Start date subscription period")
subscription_end_date = fields.Date(string="End date subscription period")
@ -94,7 +93,6 @@ class LoanIssue(models.Model):
@api.multi
def get_web_issues(self, is_company):
bond_issues = self.search([
('is_bond', '=', True),
('display_on_website', '=', True),
('state', '=', 'ongoing')
])

1
easy_my_coop_loan/views/loan_view.xml

@ -56,7 +56,6 @@
<group>
<group>
<field name="name" />
<field name="is_bond" />
<field name="default_issue" />
<field name="face_value" />
<field name="minimum_amount" />

Loading…
Cancel
Save