diff --git a/issue11262.diff b/issue11262.diff new file mode 100644 index 0000000..e900655 --- /dev/null +++ b/issue11262.diff @@ -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) diff --git a/series b/series index 86021ac..0d3eaed 100644 --- a/series +++ b/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