Browse Source

[FIX] emc_loan: remove is_bond from data and tests

pull/51/head^2
robin.keunen 5 years ago
parent
commit
592b875614
  1. 1
      easy_my_coop_loan/demo/coop.xml
  2. 2
      easy_my_coop_loan/tests/test_emc_loan.py

1
easy_my_coop_loan/demo/coop.xml

@ -6,7 +6,6 @@
<odoo>
<record id="loan_issue_1_demo" model="loan.issue">
<field name="name">test loan issue</field>
<field name="is_bond" eval="False"/>
<field name="default_issue" eval="True"/>
<field name="subscription_start_date" eval="datetime.today()"/>
<field name="subscription_end_date" eval="datetime.today() + timedelta(days=60)"/>

2
easy_my_coop_loan/tests/test_emc_loan.py

@ -13,7 +13,6 @@ class EMCLoanCase(EMCBaseCase):
loan_issue_values = {
"name": "test loan issue",
"is_bond": False,
"default_issue": "xx",
"subscription_start_date": Date.today(),
"subscription_end_date": Date.today() + timedelta(days=60),
@ -43,7 +42,6 @@ class EMCLoanCase(EMCBaseCase):
loan_issue_values = {
"name": "test loan issue",
"is_bond": False,
"default_issue": True,
"user_id": self.ref("easy_my_coop.res_users_manager_emc_demo"),
"subscription_start_date": Date.today(),

Loading…
Cancel
Save