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

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