[IMP] mrp: Corrections suggested by buildbot.

bzr revid: uco@tinyerp.com-20101012045157-l63wl4fnyfsgf8tr
This commit is contained in:
uco (OpenERP) 2010-10-12 10:21:57 +05:30
parent 82d0242a2f
commit 3aa45c830c
2 changed files with 2 additions and 7 deletions

View File

@ -396,8 +396,8 @@ msgid ""
"partner location if you subcontract the manufacturing operations."
msgstr ""
"Leer lassen, wenn die Produktion an jenen Orten erfolgt, an denen die "
"Fertigprodukte gebraucht werden.\r\n"
"Setze einen Ort, wenn an fixen Orten produziert wird.\r\n"
"Fertigprodukte gebraucht werden.\n"
"Setze einen Ort, wenn an fixen Orten produziert wird.\n"
"Das kann auch ein Partner-Ort sein, wenn Sie Subkontrakte haben."
#. module: mrp

View File

@ -19,11 +19,7 @@
#
##############################################################################
import time
import ir
from osv.osv import except_osv
from osv import fields, osv
import netsvc
from tools.translate import _
class change_production_qty(osv.osv_memory):
@ -63,7 +59,6 @@ class change_production_qty(osv.osv_memory):
record_id = context and context.get('active_id',False)
assert record_id, _('Active Id is not found')
prod_obj = self.pool.get('mrp.production')
product_lines_obj = self.pool.get('mrp.production.product.line')
bom_obj = self.pool.get('mrp.bom')
for wiz_qty in self.browse(cr, uid, ids):
prod = prod_obj.browse(cr, uid,record_id)