[REF] sale
bzr revid: mra@mra-laptop-20101015102700-d45i9oimk2khcek9
This commit is contained in:
parent
e7ab80aae0
commit
b94c27993c
|
@ -478,7 +478,7 @@ class sale_order(osv.osv):
|
|||
result = mod_obj._get_id(cr, uid, 'account', 'invoice_form')
|
||||
res = mod_obj.read(cr, uid, result, ['res_id'])
|
||||
result = {
|
||||
'name': 'Invoices',
|
||||
'name': 'Customer Invoices',
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form',
|
||||
'view_id': [res['res_id']],
|
||||
|
@ -489,7 +489,6 @@ class sale_order(osv.osv):
|
|||
'target': 'new',
|
||||
'res_id': inv_ids and inv_ids[0] or False,
|
||||
}
|
||||
|
||||
return result
|
||||
|
||||
def action_invoice_create(self, cr, uid, ids, grouped=False, states=['confirmed', 'done', 'exception'], date_inv = False, context=None):
|
||||
|
|
Loading…
Reference in New Issue