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.

32 lines
1.4 KiB

5 years ago
5 years ago
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="default_issue" eval="True"/>
  11. <field name="subscription_start_date" eval="datetime.today()"/>
  12. <field name="subscription_end_date" eval="datetime.today() + timedelta(days=60)"/>
  13. <field name="term_date" eval="datetime.today() + timedelta(days=600)"/>
  14. <field name="user_id" ref="easy_my_coop.res_users_manager_emc_demo"/>
  15. <field name="rate">0.03</field>
  16. <field name="face_value">100</field>
  17. <field name="minimum_amount">4000</field>
  18. <field name="maximum_amount">10000</field>
  19. <field name="interest_payment">end</field>
  20. <field name="by_company" eval="True"/>
  21. <field name="by_individual" eval="True"/>
  22. <field name="display_on_website" eval="True"/>
  23. <field name="taxes_rate">0.08</field>
  24. <field name="state">ongoing</field>
  25. </record>
  26. <record id="loan_issue_line_1_demo" model="loan.issue.line">
  27. <field name="loan_issue_id" ref="loan_issue_1_demo"/>
  28. <field name="quantity">3</field>
  29. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_4_demo"/>
  30. </record>
  31. </odoo>