[IMP] Add string and renamed string.

bzr revid: bth@tinyerp.com-20121206065214-2dp3hmqhuu0r9g8n
This commit is contained in:
Bhumi Thakkar (Open ERP) 2012-12-06 12:22:14 +05:30
parent 110a29fc06
commit 0a859cddcd
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class hr_employee(osv.osv):
_columns = {
'visibility': fields.selection([('public', 'Public'),('private', 'Private')],
string='Visibility', help='Employee\'s visibility in the portal\'s contact page'),
'public_info': fields.text(),
'public_info': fields.text('Public Info'),
}
_defaults = {
'visibility': 'private',

View File

@ -206,7 +206,7 @@ class sale_order(osv.osv):
'order_line': fields.one2many('sale.order.line', 'order_id', 'Order Lines', readonly=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}),
'invoice_ids': fields.many2many('account.invoice', 'sale_order_invoice_rel', 'order_id', 'invoice_id', 'Invoices', readonly=True, help="This is the list of invoices that have been generated for this sales order. The same sales order may have been invoiced in several times (by line for example)."),
'invoiced_rate': fields.function(_invoiced_rate, string='Invoice Ratio', type='float'),
'invoiced_rate': fields.function(_invoiced_rate, string='Invoiced Ratio', type='float'),
'invoiced': fields.function(_invoiced, string='Paid',
fnct_search=_invoiced_search, type='boolean', help="It indicates that an invoice has been paid."),
'invoice_exists': fields.function(_invoice_exists, string='Invoiced',