From 3fcc60c6893f7d41b22e94233341a31bf9563b6d Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 7 May 2014 18:20:54 +0200 Subject: [PATCH] [REF] removed duplicated _ before method name bzr revid: qdp-launchpad@openerp.com-20140507162054-l31zu5608w7xvfu0 --- addons/stock_account/stock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock_account/stock.py b/addons/stock_account/stock.py index 291fef48a3b..509bd91f173 100644 --- a/addons/stock_account/stock.py +++ b/addons/stock_account/stock.py @@ -210,10 +210,10 @@ class stock_picking(osv.osv): todo[key].append(move) invoices = [] for moves in todo.values(): - invoices = self.__invoice_create_line(cr, uid, moves, journal_id, type, context=context) + invoices = self._invoice_create_line(cr, uid, moves, journal_id, type, context=context) return invoices - def __invoice_create_line(self, cr, uid, moves, journal_id=False, inv_type='out_invoice', context=None): + def _invoice_create_line(self, cr, uid, moves, journal_id=False, inv_type='out_invoice', context=None): invoice_obj = self.pool.get('account.invoice') move_obj = self.pool.get('stock.move') invoices = {}