config_setting.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <openerp>
  2. <data>
  3. <record id="view_workshop_config_settings" model="ir.ui.view">
  4. <field name="name">workshop Configuración</field>
  5. <field name="model">workshop.config.setting</field>
  6. <field name="arch" type="xml">
  7. <form string="Configure Workshop" class="oe_form_configuration">
  8. <header>
  9. <button string="Aplicar" type="object" name="execute" class="oe_highlight"/>
  10. <button string="Cancelar" type="object" name="cancel" class="oe_link"/>
  11. </header>
  12. <div id="main">
  13. <group string="Diario">
  14. <field name="invoice_journal_type" />
  15. </group>
  16. </div>
  17. </form>
  18. </field>
  19. </record>
  20. <record id="action_workshop_config_settings" model="ir.actions.act_window">
  21. <field name="name">Configuración</field>
  22. <field name="type">ir.actions.act_window</field>
  23. <field name="res_model">workshop.config.setting</field>
  24. <field name="view_id" ref="view_workshop_config_settings"/>
  25. <field name="view_mode">form</field>
  26. <field name="target">inline</field>
  27. </record>
  28. <menuitem action="action_workshop_config_settings" id="menu_workshop_config_settings_act"
  29. string="Configuración" sequence = "1" parent="menu_worksheet_config" />
  30. </data>
  31. </openerp>