From 1f69ed3ad9fe2c8f7341d67976486dc490723d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 13 Apr 2011 14:19:38 +0200 Subject: [PATCH] Add missing index on country of subdivision --- country.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/country.py b/country.py index cdcf77584b..bc77ee6efc 100644 --- a/country.py +++ b/country.py @@ -52,7 +52,7 @@ class Subdivision(ModelSQL, ModelView): _name = 'country.subdivision' _description = __doc__ country = fields.Many2One('country.country', 'Country', - required=True) + required=True, select=1) name = fields.Char('Name', required=True, select=1) code = fields.Char('Code', required=True, select=1) type = fields.Selection([