From 1bf802b5c46e81c2137cb24442308a9aac89d8df Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Mon, 17 Jan 2011 17:27:17 +0530 Subject: [PATCH] [FIX] account, account_*, hr_*, point_of_sale, sale: performance issues - account_move_lines and others(Modification in last commit) bzr revid: psi@tinyerp.co.in-20110117115717-79et9vg0idyc9k57 --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 4ca3d094593..3298ef3c843 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -211,7 +211,7 @@ class account_invoice(osv.osv): \n* The \'Open\' state is used when user create invoice,a invoice number is generated.Its in open state till user does not pay invoice. \ \n* The \'Paid\' state is set automatically when invoice is paid.\ \n* The \'Cancelled\' state is used when user cancel invoice.'), - 'date_invoice': fields.date('Invoice Date', states={'paid':[('readonly',True)], 'open':[('readonly',True)], 'close':[('readonly',True)]}, select=True, help="Keep empty to use the current date", select=True), + 'date_invoice': fields.date('Invoice Date', states={'paid':[('readonly',True)], 'open':[('readonly',True)], 'close':[('readonly',True)]}, select=True, help="Keep empty to use the current date"), 'date_due': fields.date('Due Date', states={'paid':[('readonly',True)], 'open':[('readonly',True)], 'close':[('readonly',True)]}, select=True, help="If you use payment terms, the due date will be computed automatically at the generation "\ "of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month."),