diff options
| author | JMA(OpenERP) <> | 2010-03-30 12:19:35 +0530 |
|---|---|---|
| committer | Jay (Open ERP) <jvo@tinyerp.com> | 2010-03-30 12:19:35 +0530 |
| commit | 65730d7060b143b313f2ba3eb660ea1ca4ceb4e8 (patch) | |
| tree | 75360c675d97856501e4e833bed6b040b0cbc524 | |
| parent | 05d11f2aa5e327a3bd5066f554d5c6c6c58ee81e (diff) | |
[REF] Stock : Removed unused method button_confirm
lp bug: https://launchpad.net/bugs/541785 fixed
bzr revid: jvo@tinyerp.com-20100330064935-6080i3a66jawkwzt
| -rw-r--r-- | addons/stock/stock.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 5c02ccae976..7012e23dbe7 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -543,12 +543,12 @@ class stock_picking(osv.osv): # TODO: Check locations to see if in the same location ? return True - def button_confirm(self, cr, uid, ids, *args): - for id in ids: - wf_service = netsvc.LocalService("workflow") - wf_service.trg_validate(uid, 'stock.picking', id, 'button_confirm', cr) - self.force_assign(cr, uid, ids, *args) - return True +# def button_confirm(self, cr, uid, ids, *args): +# for id in ids: +# wf_service = netsvc.LocalService("workflow") +# wf_service.trg_validate(uid, 'stock.picking', id, 'button_confirm', cr) +# self.force_assign(cr, uid, ids, *args) +# return True def action_assign(self, cr, uid, ids, *args): for pick in self.browse(cr, uid, ids): |
