Odoo Python Tips : change unicode list into normat list format
The following code is useful to change the unicode string list format into normal list
-------------
employee_list = [int(i) for i in self.employee_list.strip('[]').split(',')]
-------------
No comments:
Post a Comment