Use a list of ids to search children when opening invoice
issue9923 review343101002
This commit is contained in:
1 parent
f4dc6a5299
commit
4473d6ce76
1 file changed
+1
-1
+1
-1
@@ -682,7 +682,7 @@ class OpenInvoice(Wizard):
|
||||
|
||||
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:
|
||||
|
||||
Reference in new issue
Block a user