[MODULE] ~reset
[burette/cyclofficine_ivry.git] / cyclofficine_ivry.py
diff --git a/cyclofficine_ivry.py b/cyclofficine_ivry.py
deleted file mode 100644 (file)
index 3b20220..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from openerp.osv import osv
-from openerp.osv import fields
-import netsvc
-
-
-class Partner(osv.osv):
-       _inherit = 'res.partner'
-       _order = 'member_ident'
-       _columns = {
-               'member_ident': fields.integer('Member identifier'),
-        }
-
-Partner()
-
-class account_invoice(osv.osv):
-       _inherit = 'account.invoice'
-       def draft2open(self, cr, uid, ids):
-               print ("DEV: [account_invoice] [draft2open]: %s" % str([uid, ids]))
-               wf_service = netsvc.LocalService("workflow")
-               wf_service.trg_validate(uid, 'account.invoice', ids[0], 'invoice_open', cr)
-               return ids
-
-account_invoice()