From 3e77fc2f9624803ce90fef6b5ed0f33b2f5b24c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Dec 2008 18:15:58 +0100 Subject: [PATCH] Add missing _order_name on invoice --- invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/invoice.py b/invoice.py index a86e354e39..4492792f7c 100644 --- a/invoice.py +++ b/invoice.py @@ -237,6 +237,7 @@ class Invoice(OSV): 'Invoice' _name = 'account.invoice' _description = __doc__ + _order_name = 'number' company = fields.Many2One('company.company', 'Company', required=True, states=_STATES) type = fields.Selection(_TYPE, 'Type', select=1, on_change=['type'],