You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
1.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 Coop IT Easy
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="loan_issue_1_demo" model="loan.issue">
<field name="name">test loan issue</field>
<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)"/>
<field name="term_date" eval="datetime.today() + timedelta(days=600)"/>
<field name="user_id" ref="easy_my_coop.res_users_manager_emc_demo"/>
<field name="rate">0.03</field>
<field name="face_value">100</field>
<field name="minimum_amount">4000</field>
<field name="maximum_amount">10000</field>
<field name="interest_payment">end</field>
<field name="by_company" eval="True"/>
<field name="by_individual" eval="True"/>
<field name="display_on_website" eval="True"/>
<field name="taxes_rate">0.08</field>
<field name="state">ongoing</field>
</record>
<record id="loan_issue_line_1_demo" model="loan.issue.line">
<field name="loan_issue_id" ref="loan_issue_1_demo"/>
<field name="quantity">3</field>
<field name="partner_id" ref="easy_my_coop.res_partner_cooperator_4_demo"/>
</record>
</odoo>