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.

34 lines
1.5 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2019 Coop IT Easy
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record id="loan_issue_1_demo" model="loan.issue">
  8. <field name="name">test loan issue</field>
  9. <field name="is_bond" eval="False"/>
  10. <field name="is_loan" eval="True"/>
  11. <field name="default_issue" eval="True"/>
  12. <field name="subscription_start_date" eval="datetime.today()"/>
  13. <field name="subscription_end_date" eval="datetime.today() + timedelta(days=60)"/>
  14. <field name="term_date" eval="datetime.today() + timedelta(days=600)"/>
  15. <field name="user_id" ref="easy_my_coop.res_users_manager_emc_demo"/>
  16. <field name="rate">0.03</field>
  17. <field name="face_value">100</field>
  18. <field name="minimum_amount">4000</field>
  19. <field name="maximum_amount">10000</field>
  20. <field name="maximum_amount_per_sub">1000</field>
  21. <field name="interest_payment">yearly</field>
  22. <field name="by_company" eval="True"/>
  23. <field name="by_individual" eval="True"/>
  24. <field name="display_on_website" eval="True"/>
  25. <field name="taxes_rate">0.08</field>
  26. <field name="state">ongoing</field>
  27. </record>
  28. <record id="loan_issue_line_1_demo" model="loan.issue.line">
  29. <field name="loan_issue_id" ref="loan_issue_1_demo"/>
  30. <field name="quantity">3</field>
  31. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_4_demo"/>
  32. </record>
  33. </odoo>