[IMP] stock: rename the date field in Moves Statistics report
bzr revid: sbh@tinyerp.com-20100917124950-r3oqg7jhrqpr12aq
This commit is contained in:
parent
b43dc2d555
commit
2bd607d49c
|
@ -45,7 +45,7 @@ class purchase_order_group(osv.osv_memory):
|
|||
res = super(purchase_order_group, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
|
||||
if context.get('active_model','') == 'purchase.order' and len(context['active_ids']) < 2:
|
||||
raise osv.except_osv(_('Warning'),
|
||||
_('Please select multiple order Order to merge in the list view.'))
|
||||
_('Please select multiple order to merge in the list view.'))
|
||||
return res
|
||||
def merge_orders(self, cr, uid, ids, context):
|
||||
"""
|
||||
|
|
|
@ -28,7 +28,7 @@ class report_stock_move(osv.osv):
|
|||
_description = "Moves Statistics"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'date_planned': fields.date('Date', readonly=True),
|
||||
'date_planned': fields.date('Date Planned', readonly=True ),
|
||||
'year': fields.char('Year', size=4, readonly=True),
|
||||
'day': fields.char('Day', size=128, readonly=True),
|
||||
'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
|
||||
|
|
Loading…
Reference in New Issue