[FIX] mrp: work center typos
bzr revid: qdp-launchpad@tinyerp.com-20101220141337-hnq5jjhj7p3uzsga
This commit is contained in:
parent
cbf56f0cec
commit
c572dd7a48
|
@ -53,7 +53,7 @@ class mrp_workcenter(osv.osv):
|
|||
'costs_journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal'),
|
||||
'costs_general_account_id': fields.many2one('account.account', 'General Account', domain=[('type','<>','view')]),
|
||||
'resource_id': fields.many2one('resource.resource','Resource', ondelete='cascade', required=True),
|
||||
'product_id': fields.many2one('product.product','Workcenter Product', help="Fill this product to track easily your production costs in the analytic accounting."),
|
||||
'product_id': fields.many2one('product.product','Work Center Product', help="Fill this product to track easily your production costs in the analytic accounting."),
|
||||
}
|
||||
_defaults = {
|
||||
'capacity_per_cycle': 1.0,
|
||||
|
@ -67,7 +67,7 @@ class mrp_workcenter(osv.osv):
|
|||
|
||||
if product_id:
|
||||
cost = self.pool.get('product.product').browse(cr, uid, product_id, context=context)
|
||||
value = {'costs_hour' :cost.standard_price}
|
||||
value = {'costs_hour': cost.standard_price}
|
||||
return {'value': value}
|
||||
|
||||
mrp_workcenter()
|
||||
|
@ -111,8 +111,8 @@ class mrp_routing_workcenter(osv.osv):
|
|||
'name': fields.char('Name', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of routing workcenters."),
|
||||
'cycle_nbr': fields.float('Number of Cycles', required=True,
|
||||
help="Number of iterations this workcenter has to do in the specified operation of the routing."),
|
||||
'hour_nbr': fields.float('Number of Hours', required=True, help="Time in hours for this workcenter to achieve the operation of the specified routing."),
|
||||
help="Number of iterations this work Center has to do in the specified operation of the routing."),
|
||||
'hour_nbr': fields.float('Number of Hours', required=True, help="Time in hours for this work Center to achieve the operation of the specified routing."),
|
||||
'routing_id': fields.many2one('mrp.routing', 'Parent Routing', select=True, ondelete='cascade',
|
||||
help="Routing indicates all the workcenters used, for how long and/or cycles." \
|
||||
"If Routing is indicated then,the third tab of a production order (workcenters) will be automatically pre-completed."),
|
||||
|
|
Loading…
Reference in New Issue