From 7d90b73d5274a13616935739cb7757907fcf23c7 Mon Sep 17 00:00:00 2001 From: Vishmita Date: Tue, 11 Dec 2012 10:45:31 +0530 Subject: [PATCH] [FIX]Change tooltip sentence bzr revid: vja@tinyerp.com-20121211051531-6luv78i10sp50x2v --- addons/sale/sale.py | 2 +- addons/sale/wizard/sale_make_invoice_advance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 8bab265ae3b..7f48901eba4 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -716,7 +716,7 @@ class sale_order_line(osv.osv): 'order_id': fields.many2one('sale.order', 'Order Reference', required=True, ondelete='cascade', select=True, readonly=True, states={'draft':[('readonly',False)]}), 'name': fields.text('Description', size=256, required=True, select=True, readonly=True, states={'draft': [('readonly', False)]}), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of sales order lines."), - 'product_id': fields.many2one('product.product', 'Product', domain=[('sale_ok', '=', True)], change_default=True), + 'product_id': fields.many2one('product.product', 'Product', domain=[('sale_ok', '=', True)], change_default=True, readonly=True, states={'draft': [('readonly', False)]}), 'invoice_lines': fields.many2many('account.invoice.line', 'sale_order_line_invoice_rel', 'order_line_id', 'invoice_id', 'Invoice Lines', readonly=True), 'invoiced': fields.function(_fnct_line_invoiced, string='Invoiced', type='boolean', store={'account.invoice': (_order_lines_from_invoice, ['state'], 10)}), diff --git a/addons/sale/wizard/sale_make_invoice_advance.py b/addons/sale/wizard/sale_make_invoice_advance.py index 0fa4cd52cf2..55c6800ab07 100644 --- a/addons/sale/wizard/sale_make_invoice_advance.py +++ b/addons/sale/wizard/sale_make_invoice_advance.py @@ -31,7 +31,7 @@ class sale_advance_payment_inv(osv.osv_memory): [('all', 'Invoice the whole sale order'), ('percentage','Percentage'), ('fixed','Fixed price (deposit)'), ('lines', 'Some order lines')], 'What do you want to invoice?', required=True, - help="""Use All to create the final invoice. + help="""Use Invoice the whole sale order to create the final invoice. Use Percentage to invoice a percentage of the total amount. Use Fixed Price to invoice a specific amound in advance. Use Some Order Lines to invoice a selection of the sale order lines."""),