123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <menuitem name="Farm" id="menu_farm" sequence="51"/>
- <menuitem name="Configuration" id="menu_farm_configuration"
- parent="menu_farm"/>
- <menuitem name="Events" id="menu_farm_events"
- parent="menu_farm"/>
- <menuitem name="Animals" id="menu_farm_animals" sequence="100"
- parent="menu_farm"/>
- <menuitem name="Purchases" id="menu_farm_purchases" sequence="120"
- parent="menu_farm"/>
- <record id="farm_specie_view" model="ir.actions.act_window">
- <field name="name">Specie</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.specie</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_specie_tree"/>
- </record>
- <record id="farm_farm_line_view" model="ir.actions.act_window">
- <field name="name">FarmLine</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.specie.farm_line</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_farm_line_tree"/>
- </record>
- <record id="farm_event_order_view" model="ir.actions.act_window">
- <field name="name">EventOrder</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.event.order</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_event_order_tree"/>
- </record>
- <record id="farm_consume_stock_view" model="ir.actions.act_window">
- <field name="name">ConsumeStock</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.consume.stock</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_consume_stock_tree"/>
- </record>
- <record id="farm_animal_view" model="ir.actions.act_window">
- <field name="name">Animals</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.animal</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_animal_tree"/>
- </record>
- <record id="farm_animal_group_view" model="ir.actions.act_window">
- <field name="name">Animal groups</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.animal.group</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_animal_group_tree"/>
- </record>
- <record id="farm_tag_view" model="ir.actions.act_window">
- <field name="name">Tag</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.tags</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_tag_tree"/>
- </record>
- <record id="farm_semen_extraction_view" model="ir.actions.act_window">
- <field name="name">Extraction Event</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.semen_extraction.event</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_semen_extraction_event_tree"/>
- </record>
- <record id="farm_removal_view" model="ir.actions.act_window">
- <field name="name">Removal Event</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">farm.removal.event</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_removal_event_tree"/>
- </record>
- <record id="farm_purchase_line" model="ir.actions.act_window">
- <field name="domain">[('start_date', '!=', False)]</field>
- <field name="name">Farm Purchase Line</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">purchase.order.line</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <menuitem action="farm_specie_view" id="menu_farm_configuration_specie"
- name="Specie" parent="menu_farm_configuration" sequence="2"/>
- <menuitem action="farm_farm_line_view" id="menu_farm_configuration_farm_line"
- name="Farm Line" parent="menu_farm_configuration" sequence="6"/>
- <menuitem action="farm_tag_view" id="menu_farm_configuration_tag"
- name="Tag" parent="menu_farm_configuration" sequence="3"/>
- <menuitem action="farm_event_order_view" id="menu_farm_event_order"
- name="Work order" parent="menu_farm_events" sequence="2"/>
- <menuitem action="farm_semen_extraction_view" id="menu_farm_extraction_event"
- name="Semen Extraction" parent="menu_farm_events" sequence="4"/>
- <menuitem action="farm_removal_view" id="menu_farm_removal_event"
- name="Removal Event" parent="menu_farm_events" sequence="5"/>
- <menuitem action="farm_consume_stock_view" id="menu_farm_consume_stock"
- name="Comsume Stock" parent="menu_farm_events" sequence="6"/>
- <menuitem action="farm_animal_view" id="menu_farm_animal"
- name="Animal" parent="menu_farm_animals" sequence="4"/>
- <menuitem action="farm_animal_group_view" id="menu_farm_animal_group"
- name="Animal group" parent="menu_farm_animals" sequence="6"/>
- <menuitem action="farm_purchase_line" id="menu_farm_purchase_line"
- name="General expenses" parent="menu_farm_purchases" sequence="50"/>
- </data>
- </openerp>
|