From 7f7735153be7c22ceee62416fc644e38fa4cc54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Thu, 8 Sep 2011 15:30:41 +0200 Subject: [PATCH] remove company from party_sequence domain issue2130 review98001 --- configuration.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/configuration.py b/configuration.py index cedaf6dd18..349842e09c 100644 --- a/configuration.py +++ b/configuration.py @@ -1,7 +1,6 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. from trytond.model import ModelView, ModelSQL, ModelSingleton, fields -from trytond.pyson import Eval class Configuration(ModelSingleton, ModelSQL, ModelView): @@ -11,8 +10,6 @@ class Configuration(ModelSingleton, ModelSQL, ModelView): party_sequence = fields.Property(fields.Many2One('ir.sequence', 'Party Sequence', domain=[ - ('company', 'in', - [Eval('context', {}).get('company'), False]), ('code', '=', 'party.party'), ], required=True)) party_lang = fields.Property(fields.Many2One("ir.lang", 'Party Language',