From e3a3d8b856ceffef3f1f09e8bcea6ce69424b053 Mon Sep 17 00:00:00 2001 From: rde <> Date: Mon, 14 May 2007 07:12:50 +0000 Subject: [PATCH] Class sale order : Prettier tooltip for shipping policy. bzr revid: rde-07c862efe91598642181a100e6bba980a0847fa2 --- addons/sale/sale.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index e2b59491ffc..d69eb222fac 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -132,7 +132,14 @@ class sale_order(osv.osv): ('manual','Shipping & Manual Invoice'), ('postpaid','Automatic Invoice after delivery'), ('picking','Invoice from the pickings'), - ], 'Shipping Policy', required=True, readonly=True, states={'draft':[('readonly',False)]}, help="The Shipping Policy is used to synchronise invoice and delivery operations. The 'Pay before delivery' choice will first generate the invoice and then generate the picking order after the payment of this invoice. The 'Shipping & Manual Invoice' will create the picking order directly and wait for the user to manually click on the 'Invoice' button to generate the draft invoice. The 'Invoice after delivery' choice will generate the draft invoice after the picking list have been finished"), + ], 'Shipping Policy', required=True, readonly=True, states={'draft':[('readonly',False)]}, + help=""" +The Shipping Policy is used to synchronise invoice and delivery operations. + - The 'Pay before delivery' choice will first generate the invoice and then generate the picking order after the payment of this invoice. + - The 'Shipping & Manual Invoice' will create the picking order directly and wait for the user to manually click on the 'Invoice' button to generate the draft invoice. + - The 'Invoice after delivery' choice will generate the draft invoice after the picking list have been finished. + - The 'Invoice from the pickings' choice is used to create an invoice during the picking process. + """), 'pricelist_id':fields.many2one('product.pricelist', 'Pricelist', required=True, readonly=True, states={'draft':[('readonly',False)]}), 'project_id':fields.many2one('account.analytic.account', 'Profit/Cost Center', readonly=True, states={'draft':[('readonly', False)]}),