[IMP]: Minor Improvement
bzr revid: ksa@tinyerp.co.in-20101210120558-9y9f2bsesn9hog3d
This commit is contained in:
+2
-2
@@ -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,
|
||||
@@ -333,7 +333,7 @@ class mrp_bom(osv.osv):
|
||||
result = result + res[0]
|
||||
result2 = result2 + res[1]
|
||||
return result, result2
|
||||
|
||||
|
||||
def copy_data(self, cr, uid, id, default=None, context=None):
|
||||
if default is None:
|
||||
default = {}
|
||||
|
||||
@@ -42,12 +42,12 @@
|
||||
</field>
|
||||
</record>
|
||||
<record id="action_report_workcenter_load_tree" model="ir.actions.act_window">
|
||||
<field name="name">Work Center Load</field>
|
||||
<field name="name">Work Center Loads</field>
|
||||
<field name="res_model">report.workcenter.load</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
<field name="search_view_id" ref="view_workcenter_load_search"/>
|
||||
<field name="help">Work Center Load gives you a projection of work center loads over a specified period. It is expressed in number of hours and machine related cycles.</field>
|
||||
<field name="help">Work Center Loads gives you a projection of work center loads over a specified period. It is expressed in number of hours and machine related cycles.</field>
|
||||
</record>
|
||||
<menuitem id="next_id_77" name="Reporting"
|
||||
parent="base.menu_mrp_root" sequence="49"/>
|
||||
|
||||
Reference in New Issue
Block a user