[IMP] improve contract usability
bzr revid: darshankalola@gmail.com-20130729054047-z73ocu5isfqc0b3v
This commit is contained in:
parent
0738dc5359
commit
cc23db19a7
|
@ -530,7 +530,7 @@ class account_analytic_account(osv.osv):
|
||||||
context = {}
|
context = {}
|
||||||
sale_ids = self.pool.get('sale.order').search(cr,uid,[('project_id','=',context.get('search_default_project_id',False)),('partner_id','in',context.get('search_default_partner_id',False))])
|
sale_ids = self.pool.get('sale.order').search(cr,uid,[('project_id','=',context.get('search_default_project_id',False)),('partner_id','in',context.get('search_default_partner_id',False))])
|
||||||
names = [record.name for record in self.browse(cr, uid, ids, context=context)]
|
names = [record.name for record in self.browse(cr, uid, ids, context=context)]
|
||||||
name = _('Sales Order Lines of %s') % ','.join(names)
|
name = _('Sales Order Lines to Invoice of %s') % ','.join(names)
|
||||||
return {
|
return {
|
||||||
'type': 'ir.actions.act_window',
|
'type': 'ir.actions.act_window',
|
||||||
'name': name,
|
'name': name,
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<button
|
<button
|
||||||
name="open_hr_expense"
|
name="open_hr_expense"
|
||||||
class="oe_link"
|
class="oe_link"
|
||||||
string="expenses" type="object"/>
|
string="Expenses" type="object"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="action_view_sale_order_line_make_invoice" model="ir.actions.act_window">
|
<record id="action_view_sale_order_line_make_invoice" model="ir.actions.act_window">
|
||||||
<field name="name">Make Invoices</field>
|
<field name="name">Create Invoice</field>
|
||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">sale.order.line.make.invoice</field>
|
<field name="res_model">sale.order.line.make.invoice</field>
|
||||||
<field name="view_type">form</field>
|
<field name="view_type">form</field>
|
||||||
|
|
Loading…
Reference in New Issue