~mathieu-julius/extra-service-job/trunk-1

« back to all changes in this revision

Viewing changes to service_job_generator_state/wizard/service_fill.py

  • Committer: Mathieu VATEL
  • Date: 2013-02-18 14:24:24 UTC
  • Revision ID: mathieu@julius.fr-20130218142424-klc3tm20jfto6gf7
[IMP] replace osv.osv and osv.osv_memory by orm.Model and orm.TransientModel

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#################################################################################
21
21
 
22
22
from openerp.tools.translate import _
23
 
from openerp.osv import osv, fields
 
23
from openerp.osv import osv, fields, orm
24
24
 
25
 
class service_fill(osv.osv_memory):
 
25
class service_fill(orm.TransientModel):
26
26
    _inherit = 'service.fill'
27
27
    _description = 'Service Fill'
28
28
    
41
41
            vals['state_id'] = data.not_started_id and data.not_started_id.id or False,
42
42
        return vals
43
43
    
44
 
service_fill()
45
 
 
46
44
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
47
45