changeset 8fc4b0886df4 in modules/project_invoice:default
details: 
https://hg.tryton.org/modules/project_invoice?cmd=changeset;node=8fc4b0886df4
description:
        Use a list of ids to search children when opening invoice

        issue9923
        review343101002
diffstat:

 project.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d51b25a14a7b -r 8fc4b0886df4 project.py
--- a/project.py        Fri Nov 27 22:49:37 2020 +0100
+++ b/project.py        Tue Dec 08 17:36:30 2020 +0100
@@ -682,7 +682,7 @@
 
     def do_open_(self, action):
         works = self.model.search([
-                ('parent', 'child_of', map(int, self.records)),
+                ('parent', 'child_of', list(map(int, self.records))),
                 ])
         invoice_ids = set()
         for work in works:

Reply via email to