Commit f28ba2b2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

explicitly define SolverProcess._generateRandomId() to call...

explicitly define SolverProcess._generateRandomId() to call ActiveProcess._generateRandomId() otherwise Folder._generateRandomId() will be called and it returns 'str' not 'int' id.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31282 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6684eff4
...@@ -182,3 +182,9 @@ class SolverProcess(XMLObject, ActiveProcess): ...@@ -182,3 +182,9 @@ class SolverProcess(XMLObject, ActiveProcess):
new_decision._setDeliveryList(movement_dict.keys()) new_decision._setDeliveryList(movement_dict.keys())
new_decision._setSolver(solver_decision_key[0]) new_decision._setSolver(solver_decision_key[0])
# No need to set application_list or....? # No need to set application_list or....?
def _generateRandomId(self):
# call ActiveProcess._generateRandomId() explicitly otherwise
# Folder._generateRandomId() will be called and it returns 'str' not
# 'int' id.
return ActiveProcess._generateRandomId(self)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment