From 04afc6320cfcdffe3ccd63a9828bc2c227d70005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 23 Feb 2013 18:26:33 +0100 Subject: [PATCH] Fix Dict options order --- product.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product.py b/product.py index 6ccf8c4207..7c65569077 100644 --- a/product.py +++ b/product.py @@ -40,8 +40,7 @@ class Template: class Product: __name__ = 'product.product' - attributes = fields.Dict('Attributes', - schema_model='product.attribute', + attributes = fields.Dict('product.attribute', 'Attributes', domain=[ ('sets', '=', Eval('attribute_set', -1)), ],