[Membership line] +form and menuitem
[burette/remembership.git] / remembership.py
index f1efb31..aee965a 100644 (file)
@@ -2,7 +2,7 @@
 ##############################################################################
 #
 #    Remembership module for OpenERP, Overload membership module
-#    Copyright (C) 2012 L'Heureux Cyclage (<http://www.heureux-cyclage.org>) Ludovic CHEVALIER
+#    Copyright (C) 2012-2013 L'Heureux Cyclage (<http://www.heureux-cyclage.org>)
 #
 #    This file is a part of Remembership
 #
@@ -351,22 +351,4 @@ class account_invoice_line(osv.osv):
         return res
 
 account_invoice_line()
-
-
-class pos_make_payment(osv.osv_memory):
-    _inherit = 'pos.make.payment'
-
-    def check(self, cr, uid, ids, context=None):
-        """
-        Auto invoice orders. Temporarly solution before make partner members just with orders, without invoice.
-        """
-        res = super(pos_make_payment, self).check(cr, uid, ids, context=context)
-
-        order_obj = self.pool.get('pos.order')
-        order_obj.action_invoice(cr, uid, ids, context=context)
-
-        return res
-
-pos_make_payment()
-
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: