Browse Source

[IMP] remove unused wizard

pull/1/head
houssine 7 years ago
parent
commit
ebb9c58a93
  1. 1
      easy_my_coop_taxshelter_report/wizard/__init__.py
  2. 28
      easy_my_coop_taxshelter_report/wizard/tax_shelter_certificate_wizard.py
  3. 36
      easy_my_coop_taxshelter_report/wizard/tax_shelter_report_wizard.xml

1
easy_my_coop_taxshelter_report/wizard/__init__.py

@ -1 +0,0 @@
from . import tax_shelter_certificate_wizard

28
easy_my_coop_taxshelter_report/wizard/tax_shelter_certificate_wizard.py

@ -1,28 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Author: Houssine BAKKALI
# Copyright Open Architects Consulting
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp import api, fields, models, _
class TaxShelterCertificateWizard(models.TransientModel):
_name = 'tax.shelter.certificate.wizard'
def process_certificates(self):
True

36
easy_my_coop_taxshelter_report/wizard/tax_shelter_report_wizard.xml

@ -1,36 +0,0 @@
<?xml version="1.0" ?>
<odoo>
<data>
<record id="view_tax_shelter_wizard" model="ir.ui.view">
<field name="name">tax.shelter.certificate.wizard.form</field>
<field name="model">tax.shelter.certificate.wizard</field>
<field name="arch" type="xml">
<form string="Tax shelter certificat wizard">
<group>
<field name="year"/>
</group>
<footer>
<button name="process_certificates" string="Process" type="object" default_focus="1" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="action_tax_shelter_wizard" model="ir.actions.act_window">
<field name="name">Tax shelter report</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">tax.shelter.certificate.wizard</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_tax_shelter_wizard"/>
<field name="target">new</field>
<field name="multi">True</field>
</record>
<menuitem id="menu_easy_my_declaration" name="Declaration" parent="easy_my_coop.menu_main_easy_my_coop" sequence="60"/>
<menuitem id="menu_tax_shelter_wizard" name="Tax shelter certificates" parent="menu_easy_my_declaration" action="action_tax_shelter_wizard" sequence="10" groups="easy_my_coop.group_energiris_user"/>
</data>
</odoo>
Loading…
Cancel
Save