[REF] removed duplicated _ before method name
bzr revid: qdp-launchpad@openerp.com-20140507162054-l31zu5608w7xvfu0
This commit is contained in:
parent
b6d0a93613
commit
3fcc60c689
|
@ -210,10 +210,10 @@ class stock_picking(osv.osv):
|
||||||
todo[key].append(move)
|
todo[key].append(move)
|
||||||
invoices = []
|
invoices = []
|
||||||
for moves in todo.values():
|
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
|
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')
|
invoice_obj = self.pool.get('account.invoice')
|
||||||
move_obj = self.pool.get('stock.move')
|
move_obj = self.pool.get('stock.move')
|
||||||
invoices = {}
|
invoices = {}
|
||||||
|
|
Loading…
Reference in New Issue