summaryrefslogtreecommitdiff
path: root/addons/account_check_printing/wizard
diff options
context:
space:
mode:
authorfwi-odoo <fwi@odoo.com>2016-07-19 10:28:52 +0200
committerThibault Delavallée <tde@openerp.com>2016-08-03 11:18:32 +0200
commit2163d2b7f7fc8390b70dbc94c2440df8f866fcc8 (patch)
tree86da8aadad96c87b8375f291512a5aa44a29371e /addons/account_check_printing/wizard
parentdcab4afda48b54b16a0f1ac36b26b66177ca3c4a (diff)
[MIG] account_check_printing: replace openerp tags, clean imports and rename classes
Diffstat (limited to 'addons/account_check_printing/wizard')
-rw-r--r--addons/account_check_printing/wizard/__init__.py1
-rw-r--r--addons/account_check_printing/wizard/print_prenumbered_checks.py6
-rw-r--r--addons/account_check_printing/wizard/print_prenumbered_checks_views.xml6
3 files changed, 7 insertions, 6 deletions
diff --git a/addons/account_check_printing/wizard/__init__.py b/addons/account_check_printing/wizard/__init__.py
index 118be64634d..cfb239ad5c1 100644
--- a/addons/account_check_printing/wizard/__init__.py
+++ b/addons/account_check_printing/wizard/__init__.py
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
import print_prenumbered_checks
diff --git a/addons/account_check_printing/wizard/print_prenumbered_checks.py b/addons/account_check_printing/wizard/print_prenumbered_checks.py
index 4bf1d912bda..79af6f69dd0 100644
--- a/addons/account_check_printing/wizard/print_prenumbered_checks.py
+++ b/addons/account_check_printing/wizard/print_prenumbered_checks.py
@@ -1,8 +1,10 @@
# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from openerp import api, fields, models
+from odoo import api, fields, models
-class print_pre_numbered_checks(models.TransientModel):
+
+class PrintPreNumberedChecks(models.TransientModel):
_name = 'print.prenumbered.checks'
_description = 'Print Pre-numbered Checks'
diff --git a/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml b/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml
index 482462a5017..9b136b3a8dc 100644
--- a/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml
+++ b/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" ?>
-<openerp>
- <data>
+<odoo>
<record id="print_pre_numbered_checks_view" model="ir.ui.view">
<field name="name">Print Pre-numbered Checks</field>
@@ -21,5 +20,4 @@
</field>
</record>
- </data>
-</openerp>
+</odoo>