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.

53 lines
2.3 KiB

  1. <openerp>
  2. <data>
  3. <record id="subscription_register_tree" model="ir.ui.view">
  4. <field name="name">subscription.register.tree</field>
  5. <field name="model">subscription.register</field>
  6. <field name="arch" type="xml">
  7. <tree string="Subscription Register">
  8. <field name="register_number_operation"/>
  9. <field name="date"/>
  10. <field name="partner_id"/>
  11. <field name="share_short_name"/>
  12. <field name="quantity" sum="Total quantity"/>
  13. <field name="share_unit_price"/>
  14. <field name="total_amount_line" sum="Total amount"/>
  15. <field name="type"/>
  16. </tree>
  17. </field>
  18. </record>
  19. <record id="subscription_register_form" model="ir.ui.view">
  20. <field name="name">subscription.register.form</field>
  21. <field name="model">subscription.register</field>
  22. <field name="arch" type="xml">
  23. <form string="Subscription Register">
  24. <group>
  25. <group>
  26. <field name="register_number_operation"/>
  27. <field name="date"/>
  28. <field name="share_short_name"/>
  29. <field name="partner_id"/>
  30. <field name="partner_id_to" attrs="{'invisible':[('type','!=','transfer')]}"/>
  31. <field name="user_id" invisible="True"/>
  32. </group>
  33. <group>
  34. <field name="type"/>
  35. <field name="quantity"/>
  36. <field name="share_unit_price"/>
  37. <field name="total_amount_line"/>
  38. </group>
  39. </group>
  40. </form>
  41. </field>
  42. </record>
  43. <record id="subscription_register_action" model="ir.actions.act_window">
  44. <field name="name">Subscription Register</field>
  45. <field name="res_model">subscription.register</field>
  46. <field name="view_type">form</field>
  47. <field name="view_id" ref="subscription_register_tree"/>
  48. </record>
  49. <menuitem action="subscription_register_action" name="Subscription Register" id="menu_easy_my_coop_subscription_register" parent="menu_easy_my_coop_main_subscription" sequence="20"/>
  50. </data>
  51. </openerp>