Browse Source

[IMP] emc: remove cooperative_history_wizard

pull/17/head
robin.keunen 5 years ago
parent
commit
54da114669
  1. 1
      easy_my_coop/__openerp__.py
  2. 2
      easy_my_coop/view/menu.xml
  3. 39
      easy_my_coop/wizard/cooperative_history_wizard.xml

1
easy_my_coop/__openerp__.py

@ -30,7 +30,6 @@
'data': [ 'data': [
'security/easy_my_coop_security.xml', 'security/easy_my_coop_security.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv',
# 'wizard/cooperative_history_wizard.xml', # not loaded, why?
'wizard/create_subscription_from_partner.xml', 'wizard/create_subscription_from_partner.xml',
'wizard/update_partner_info.xml', 'wizard/update_partner_info.xml',
'wizard/validate_subscription_request.xml', 'wizard/validate_subscription_request.xml',

2
easy_my_coop/view/menu.xml

@ -29,7 +29,5 @@
<!-- wizards --> <!-- wizards -->
<menuitem action="action_view_update_partner_info" name="Update coop partner" id="menu_view_update_partner_info" parent="menu_easy_my_coop_main_subscription" sequence="60" groups="base.group_system"/> <menuitem action="action_view_update_partner_info" name="Update coop partner" id="menu_view_update_partner_info" parent="menu_easy_my_coop_main_subscription" sequence="60" groups="base.group_system"/>
<!-- <menuitem id="menu_energiris_reporting" name="Reporting" parent="menu_main_energiris" sequence="20"/>-->
<!-- <menuitem id="menu_coop_history_wizard_report" name="Cooperative history report" parent="menu_energiris_reporting" action="action_cooperative_history_wizard" sequence="10"/>-->
</odoo> </odoo>

39
easy_my_coop/wizard/cooperative_history_wizard.xml

@ -1,39 +0,0 @@
<?xml version="1.0" ?>
<openerp>
<data>
<record id="view_cooperative_history_wizard" model="ir.ui.view">
<field name="name">cooperative.history.wizard.form</field>
<field name="model">cooperative.history.report</field>
<field name="arch" type="xml">
<form string="Reporting" version="7.0">
<separator string="Cooperative History"/>
<group>
<field name="report"/>
</group>
<label string="This report allows you to print a pdf of history and number of share for each cooperator"/>
<group>
<field name="display_cooperator"/>
</group>
<footer>
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="action_cooperative_history_wizard" model="ir.actions.act_window">
<field name="name">Cooperative history</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">cooperative.history.report</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_cooperative_history_wizard"/>
<field name="target">new</field>
<field name="multi">True</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save