issue11262.diff [trytond] Backed out changeset d645aee76ab0
This commit is contained in:
parent
eb07260d19
commit
c625ade0a1
|
@ -0,0 +1,17 @@
|
|||
diff --git a/trytond/trytond/model/multivalue.py b/trytond/trytond/model/multivalue.py
|
||||
index f3765dd6..98dbfaa3 100644
|
||||
--- a/trytond/trytond/model/multivalue.py
|
||||
+++ b/trytond/trytond/model/multivalue.py
|
||||
@@ -44,10 +44,8 @@ class MultiValueMixin(object):
|
||||
return record
|
||||
|
||||
def __values(self, field, pattern, match_none=True):
|
||||
- Value = self.multivalue_model(field)
|
||||
- # Limit the cache to matching records
|
||||
- return Value.browse((v for v in self.multivalue_records(field)
|
||||
- if v.match(pattern, match_none=match_none)))
|
||||
+ return [v for v in self.multivalue_records(field)
|
||||
+ if v.match(pattern, match_none=match_none)]
|
||||
|
||||
def get_multivalue(self, name, **pattern):
|
||||
Value = self.multivalue_model(name)
|
1
series
1
series
|
@ -118,6 +118,7 @@ issue9004.diff # [product] Make product code unique
|
|||
deactivable_product_supplier.diff # [purchase] Allow product supplier to be dactivated [#048267] Remove on 6.0
|
||||
|
||||
issue11077.diff # [trytond] Fill Value of MultiValue with the other default values [#048483] Remove on 6.0
|
||||
issue11262.diff # [trytond] Backed out changeset d645aee76ab0
|
||||
|
||||
issue8952.diff # [country] Use Tryton's CDN to download postal codes Remove on 6.4
|
||||
issue10363.diff # [production] Remove unique product constraint on BOM
|
||||
|
|
Loading…
Reference in New Issue