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.

183 lines
6.4 KiB

[ADD] bond and loan issues management [ADD] bond and loan issues management module skeleton [IMP] change increase menu sequence [IMP] add models, fields and views [IMP] add xml declaration in head of file [ADD] add easy_my_coop_loan_website - WIP [IMP] add access rights [IMP] this raise inconsistency so replace id by default_code. [IMP] change import openerp to odoo [IMP] add website loan module [FIX] put website display in loan [FIX] fix import [FIX] fix function [IMP] use correct name [IMP] make the loan and bond visible [IMP] add js, field and logic to set amount limit per subscription [IMP] remove dependency on recaptcha as user is logged to subscribe [IMP] add fields [IMP] save loan issue subscription still in WIP [IMP] remove alert pop up [IMP] add dependency to easy_my_coop_website [IMP] remove force send for sub request creation email notification [IMP] add mail templates [IMP] save subscription in the corresponding loan issue. add email notif [FIX] fix loan issue line view [FIX] add related field to loan issue. It is where the data stand [IMP] move term_view up [FIX] fix js error when false is returned [FIX] fix function when loan_issue_id in None [IMP] add actions and button [FIX] fix action [FIX] fix mail template [IMP] set noupdate=1 [IMP] change order [IMP] display loan issue lines on partner form [IMP] add loan view in partner form [IMP] add face value on loan issue and line add face value on loan issue and line. add as well the quantity and computation of the amount [FIX] missing id overriding values wasn't working [IMP] getting bond face value and setting it as step. [IMP] subscribed_amount computed field is the sum of the amount lines [IMP] allow a waiting payment to be cancelled [IMP] make field required [REFACT] move loan issue line code to dedicated file [IMP] add interest calculation and model [ADD] bond and loan issues management module skeleton [IMP] add models, fields and views [IMP] allow creation by hand [IMP] adding partner related field [IMP] put code in separate function [FIX] pass it to get method [IMP] routes consistent form [FIX] fix eof [FIX] GET is working for ajax call [IMP] website page for loan issue subscription
5 years ago
[ADD] bond and loan issues management [ADD] bond and loan issues management module skeleton [IMP] change increase menu sequence [IMP] add models, fields and views [IMP] add xml declaration in head of file [ADD] add easy_my_coop_loan_website - WIP [IMP] add access rights [IMP] this raise inconsistency so replace id by default_code. [IMP] change import openerp to odoo [IMP] add website loan module [FIX] put website display in loan [FIX] fix import [FIX] fix function [IMP] use correct name [IMP] make the loan and bond visible [IMP] add js, field and logic to set amount limit per subscription [IMP] remove dependency on recaptcha as user is logged to subscribe [IMP] add fields [IMP] save loan issue subscription still in WIP [IMP] remove alert pop up [IMP] add dependency to easy_my_coop_website [IMP] remove force send for sub request creation email notification [IMP] add mail templates [IMP] save subscription in the corresponding loan issue. add email notif [FIX] fix loan issue line view [FIX] add related field to loan issue. It is where the data stand [IMP] move term_view up [FIX] fix js error when false is returned [FIX] fix function when loan_issue_id in None [IMP] add actions and button [FIX] fix action [FIX] fix mail template [IMP] set noupdate=1 [IMP] change order [IMP] display loan issue lines on partner form [IMP] add loan view in partner form [IMP] add face value on loan issue and line add face value on loan issue and line. add as well the quantity and computation of the amount [FIX] missing id overriding values wasn't working [IMP] getting bond face value and setting it as step. [IMP] subscribed_amount computed field is the sum of the amount lines [IMP] allow a waiting payment to be cancelled [IMP] make field required [REFACT] move loan issue line code to dedicated file [IMP] add interest calculation and model [ADD] bond and loan issues management module skeleton [IMP] add models, fields and views [IMP] allow creation by hand [IMP] adding partner related field [IMP] put code in separate function [FIX] pass it to get method [IMP] routes consistent form [FIX] fix eof [FIX] GET is working for ajax call [IMP] website page for loan issue subscription
5 years ago
[ADD] bond and loan issues management [ADD] bond and loan issues management module skeleton [IMP] change increase menu sequence [IMP] add models, fields and views [IMP] add xml declaration in head of file [ADD] add easy_my_coop_loan_website - WIP [IMP] add access rights [IMP] this raise inconsistency so replace id by default_code. [IMP] change import openerp to odoo [IMP] add website loan module [FIX] put website display in loan [FIX] fix import [FIX] fix function [IMP] use correct name [IMP] make the loan and bond visible [IMP] add js, field and logic to set amount limit per subscription [IMP] remove dependency on recaptcha as user is logged to subscribe [IMP] add fields [IMP] save loan issue subscription still in WIP [IMP] remove alert pop up [IMP] add dependency to easy_my_coop_website [IMP] remove force send for sub request creation email notification [IMP] add mail templates [IMP] save subscription in the corresponding loan issue. add email notif [FIX] fix loan issue line view [FIX] add related field to loan issue. It is where the data stand [IMP] move term_view up [FIX] fix js error when false is returned [FIX] fix function when loan_issue_id in None [IMP] add actions and button [FIX] fix action [FIX] fix mail template [IMP] set noupdate=1 [IMP] change order [IMP] display loan issue lines on partner form [IMP] add loan view in partner form [IMP] add face value on loan issue and line add face value on loan issue and line. add as well the quantity and computation of the amount [FIX] missing id overriding values wasn't working [IMP] getting bond face value and setting it as step. [IMP] subscribed_amount computed field is the sum of the amount lines [IMP] allow a waiting payment to be cancelled [IMP] make field required [REFACT] move loan issue line code to dedicated file [IMP] add interest calculation and model [ADD] bond and loan issues management module skeleton [IMP] add models, fields and views [IMP] allow creation by hand [IMP] adding partner related field [IMP] put code in separate function [FIX] pass it to get method [IMP] routes consistent form [FIX] fix eof [FIX] GET is working for ajax call [IMP] website page for loan issue subscription
5 years ago
[ADD] bond and loan issues management [ADD] bond and loan issues management module skeleton [IMP] change increase menu sequence [IMP] add models, fields and views [IMP] add xml declaration in head of file [ADD] add easy_my_coop_loan_website - WIP [IMP] add access rights [IMP] this raise inconsistency so replace id by default_code. [IMP] change import openerp to odoo [IMP] add website loan module [FIX] put website display in loan [FIX] fix import [FIX] fix function [IMP] use correct name [IMP] make the loan and bond visible [IMP] add js, field and logic to set amount limit per subscription [IMP] remove dependency on recaptcha as user is logged to subscribe [IMP] add fields [IMP] save loan issue subscription still in WIP [IMP] remove alert pop up [IMP] add dependency to easy_my_coop_website [IMP] remove force send for sub request creation email notification [IMP] add mail templates [IMP] save subscription in the corresponding loan issue. add email notif [FIX] fix loan issue line view [FIX] add related field to loan issue. It is where the data stand [IMP] move term_view up [FIX] fix js error when false is returned [FIX] fix function when loan_issue_id in None [IMP] add actions and button [FIX] fix action [FIX] fix mail template [IMP] set noupdate=1 [IMP] change order [IMP] display loan issue lines on partner form [IMP] add loan view in partner form [IMP] add face value on loan issue and line add face value on loan issue and line. add as well the quantity and computation of the amount [FIX] missing id overriding values wasn't working [IMP] getting bond face value and setting it as step. [IMP] subscribed_amount computed field is the sum of the amount lines [IMP] allow a waiting payment to be cancelled [IMP] make field required [REFACT] move loan issue line code to dedicated file [IMP] add interest calculation and model [ADD] bond and loan issues management module skeleton [IMP] add models, fields and views [IMP] allow creation by hand [IMP] adding partner related field [IMP] put code in separate function [FIX] pass it to get method [IMP] routes consistent form [FIX] fix eof [FIX] GET is working for ajax call [IMP] website page for loan issue subscription
5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_loan_issue_tree" model="ir.ui.view">
  4. <field name="name">loan.issue.tree</field>
  5. <field name="model">loan.issue</field>
  6. <field name="arch" type="xml">
  7. <tree string="Loan issues">
  8. <field name="name" />
  9. <field name="subscription_start_date" />
  10. <field name="subscription_end_date" />
  11. <field name="term_date" />
  12. <field name="term" />
  13. <field name="rate" />
  14. <field name="minimum_amount" />
  15. <field name="maximum_amount" />
  16. <field name="subscribed_amount" />
  17. <field name="user_id" />
  18. <field name="state" />
  19. </tree>
  20. </field>
  21. </record>
  22. <record id="view_loan_issue_form" model="ir.ui.view">
  23. <field name="name">loan.issue.form</field>
  24. <field name="model">loan.issue</field>
  25. <field name="arch" type="xml">
  26. <form string="Loan issue">
  27. <header>
  28. <button name="action_confirm" string="Confirm" type="object" states="draft"
  29. groups="easy_my_coop.group_easy_my_coop_manager"/>
  30. <button name="action_cancel" string="Cancel" type="object" states="draft,ongoing"
  31. confirm="Are you sure you want to cancel this loan issue?"
  32. groups="easy_my_coop.group_easy_my_coop_manager"/>
  33. <button name="action_open" string="Open" type="object"
  34. states="confirmed" groups="easy_my_coop.group_easy_my_coop_manager"/>
  35. <button name="action_close" string="Close" type="object" states="ongoing"
  36. confirm="Are you sure you want to close this loan issue?"
  37. groups="easy_my_coop.group_easy_my_coop_manager"/>
  38. <button name="action_draft" string="Set to draft"
  39. type="object" states="confirmed,cancelled"
  40. groups="easy_my_coop.group_easy_my_coop_manager"/>
  41. <button name="compute_loan_interest" string="Compute interest"
  42. type="object" states="closed,ongoing"
  43. groups="easy_my_coop.group_easy_my_coop_manager"/>
  44. <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,ongoing,closed"/>
  45. </header>
  46. <sheet>
  47. <div class="oe_button_box" name="button_box">
  48. <button name="toggle_display" type="object"
  49. class="oe_stat_button" icon="fa-globe">
  50. <field name="display_on_website" widget="website_button"/>
  51. </button>
  52. </div>
  53. <group>
  54. <group>
  55. <field name="name" />
  56. <field name="is_loan" />
  57. <field name="is_bond" />
  58. <field name="default_issue" />
  59. <field name="face_value" />
  60. <field name="minimum_amount" />
  61. <field name="maximum_amount" />
  62. <field name="maximum_amount_per_sub" />
  63. <field name="subscribed_amount" />
  64. <field name="by_individual" />
  65. <field name="by_company" />
  66. </group>
  67. <group>
  68. <field name="user_id" widget="selection" />
  69. <field name="rate" />
  70. <field name="taxes_rate" />
  71. <field name="subscription_start_date" />
  72. <field name="subscription_end_date" />
  73. <field name="term_date" />
  74. <field name="term" widget="selection"/>
  75. <field name="interest_payment" widget="selection" />
  76. </group>
  77. </group>
  78. <notebook>
  79. <page name="lines" string="Lines">
  80. <field name="loan_issue_lines">
  81. <tree delete="false">
  82. <field name="name" />
  83. <field name="partner_id" />
  84. <field name="date" />
  85. <field name="quantity" />
  86. <field name="face_value" />
  87. <field name="amount" />
  88. <field name="state" />
  89. </tree>
  90. </field>
  91. </page>
  92. </notebook>
  93. </sheet>
  94. </form>
  95. </field>
  96. </record>
  97. <record id="action_loan_issue" model="ir.actions.act_window">
  98. <field name="name">Loan Issues</field>
  99. <field name="res_model">loan.issue</field>
  100. <field name="view_type">form</field>
  101. <field name="view_mode">tree,form</field>
  102. </record>
  103. <record id="action_follow_individual_loan" model="ir.actions.act_window">
  104. <field name="name">Loans</field>
  105. <field name="res_model">loan.issue.line</field>
  106. <field name="view_type">form</field>
  107. <field name="view_mode">tree,form</field>
  108. </record>
  109. <record id="loan_issue_line_view_tree" model="ir.ui.view">
  110. <field name="name">loan_issue_line_view_tree</field>
  111. <field name="model">loan.issue.line</field>
  112. <field name="arch" type="xml">
  113. <tree string="Loans">
  114. <field name="name"/>
  115. <field name="partner_id"/>
  116. <field name="loan_issue_id"/>
  117. <field name="quantity"/>
  118. <field name="face_value"/>
  119. <field name="amount"/>
  120. <field name="date"/>
  121. <field name="state"/>
  122. </tree>
  123. </field>
  124. </record>
  125. <record id="view_loan_issue_line_form" model="ir.ui.view">
  126. <field name="name">loan.issue.line.form</field>
  127. <field name="model">loan.issue.line</field>
  128. <field name="arch" type="xml">
  129. <form string="Loan issue">
  130. <header>
  131. <button name="action_validate" string="Validate"
  132. type="object" states="draft" />
  133. <button name="action_request_payment" string="Request Payment"
  134. type="object" states="subscribed" />
  135. <button name="action_cancel" string="Cancel" type="object"
  136. states="draft,subscribed,waiting"
  137. confirm="Are you sure you want to cancel this loan subscription ?" />
  138. <button name="action_draft" string="Set to draft"
  139. type="object" states="cancelled" />
  140. <button name="action_paid" string="Paid"
  141. type="object" states="waiting" />
  142. <field name="state" widget="statusbar" />
  143. </header>
  144. <sheet>
  145. <group>
  146. <group>
  147. <field name="name" />
  148. <field name="quantity" />
  149. <field name="face_value" />
  150. </group>
  151. <group>
  152. <field name="date" />
  153. <field name="partner_id" />
  154. <field name="amount" />
  155. </group>
  156. </group>
  157. <notebook>
  158. <page string="Interst lines">
  159. <field name="interest_lines">
  160. <tree delete="false" create="false">
  161. <field name="name" />
  162. <field name="amount" />
  163. <field name="accrued_amount" />
  164. <field name="interest" />
  165. <field name="net_interest" />
  166. <field name="taxes_amount" />
  167. <field name="due_date" />
  168. <field name="state" />
  169. </tree>
  170. </field>
  171. </page>
  172. </notebook>
  173. </sheet>
  174. </form>
  175. </field>
  176. </record>
  177. </odoo>