mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] base_report_to_printer - remove class calls and use orm.Model and orm.TransientModel instead of osv aliases
This commit is contained in:
@@ -26,12 +26,11 @@ import subprocess
|
||||
import cups
|
||||
|
||||
import netsvc
|
||||
from osv import fields
|
||||
from osv import osv
|
||||
from openerp.osv import orm, fields
|
||||
from tools.translate import _
|
||||
|
||||
|
||||
class printing_printer_update_wizard(osv.osv_memory):
|
||||
class printing_printer_update_wizard(orm.TransientModel):
|
||||
_name = "printing.printer.update.wizard"
|
||||
|
||||
_columns = {
|
||||
@@ -71,6 +70,5 @@ class printing_printer_update_wizard(osv.osv_memory):
|
||||
'target': 'current',
|
||||
}
|
||||
|
||||
printing_printer_update_wizard()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
Reference in New Issue
Block a user