[Fix] Fix buildbot warning
bzr revid: sbh@tinyerp.com-20110202094947-a90gv7cemgn6l4jn
This commit is contained in:
parent
a96b51fa1b
commit
c4e33f20f8
|
@ -374,7 +374,6 @@ def _create_dta(obj, cr, uid, data, context=None):
|
|||
raise osv.except_osv(_('Error'),
|
||||
_('No IBAN for the company bank account.'))
|
||||
|
||||
dta_line_obj = pool.get('account.dta.line')
|
||||
res_partner_bank_obj = pool.get('res.partner.bank')
|
||||
|
||||
seq = 1
|
||||
|
|
|
@ -672,7 +672,6 @@ class mrp_production(osv.osv):
|
|||
stock_mov_obj = self.pool.get('stock.move')
|
||||
production = self.browse(cr, uid, production_id, context=context)
|
||||
|
||||
final_product_todo = []
|
||||
|
||||
produced_qty = 0
|
||||
if production_mode == 'consume_produce':
|
||||
|
@ -714,7 +713,7 @@ class mrp_production(osv.osv):
|
|||
|
||||
if production_mode == 'consume_produce':
|
||||
# To produce remaining qty of final product
|
||||
vals = {'state':'confirmed'}
|
||||
#vals = {'state':'confirmed'}
|
||||
#final_product_todo = [x.id for x in production.move_created_ids]
|
||||
#stock_mov_obj.write(cr, uid, final_product_todo, vals)
|
||||
#stock_mov_obj.action_confirm(cr, uid, final_product_todo, context)
|
||||
|
|
Loading…
Reference in New Issue