'NoneType' object has no attribute 'encode'
See original GitHub issueInformation about bug
On opening address or contact, which extends to opening a customer or supplier
Could be a data issue, other sites working well, despite being on same app versions.
Not sure if it’s related to this pr: https://github.com/frappe/frappe/pull/16863
Module
accounts, buying, selling, CRM
Version
“erpnext”: “13.30.0”, “frappe”: “13.29.2”
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
### App Versions
{
"csf_ke": "2.1.4",
"erpnext": "13.30.0",
"frappe": "13.29.2"
}
Route
Form/Sales Invoice/ACC-SINV-2022-XXXX
Trackeback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 69, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 37, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 75, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1447, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/email/__init__.py", line 23, in get_contact_list
match_conditions = build_match_conditions("Contact")
File "apps/frappe/frappe/desk/reportview.py", line 664, in build_match_conditions
as_condition=as_condition
File "apps/frappe/frappe/model/db_query.py", line 711, in build_match_conditions
doctype_conditions = self.get_permission_query_conditions()
File "apps/frappe/frappe/model/db_query.py", line 801, in get_permission_query_conditions
c = frappe.call(frappe.get_attr(method), self.user)
File "apps/frappe/frappe/__init__.py", line 1447, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/contacts/address_and_contact.py", line 100, in get_permission_query_conditions_for_contact
return get_permission_query_conditions("Contact")
File "apps/frappe/frappe/contacts/address_and_contact.py", line 108, in get_permission_query_conditions
links = get_permitted_and_not_permitted_links(doctype)
File "apps/frappe/frappe/contacts/address_and_contact.py", line 143, in get_permitted_and_not_permitted_links
allowed_doctypes = frappe.permissions.get_doctypes_with_read()
File "apps/frappe/frappe/permissions.py", line 366, in get_doctypes_with_read
set([p.parent if type(p.parent) == str else p.parent.encode("UTF8") for p in get_valid_perms()])
File "apps/frappe/frappe/permissions.py", line 366, in <listcomp>
set([p.parent if type(p.parent) == str else p.parent.encode("UTF8") for p in get_valid_perms()])
AttributeError: 'NoneType' object has no attribute 'encode'
Request Data
{
"type": "POST",
"args": {
"txt": ""
},
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.email.get_contact_list"
}
Response Data
{
"exception": "AttributeError: 'NoneType' object has no attribute 'encode'"
}
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top Results From Across the Web
How to resolve AttributeError: 'NoneType' object has no ...
Your s might be Nonetype. Try s = con.string if s:file.write(s.encode('utf8')) # or if s is not None #if you want to check...
Read more >AttributeError: NoneType object has no attribute 'encode'
The Python "AttributeError: 'NoneType' object has no attribute 'encode'" occurs when we try to call the encode() method on a None value, ...
Read more >AttributeError: 'NoneType' object has no attribute 'encode' #895
AttributeError : 'NoneType' object has no attribute 'encode' #895 ... hash_code = int(hashlib.sha256(s.encode('utf-8')).hexdigest(), 16).
Read more >'NoneType' object has no attribute 'encode' - Python Forum
When I run this code in terminal I get an error as 'NoneType' object has no attribute 'encode'. 1. 2. 3. 4. 5....
Read more >AttributeError: 'NoneType' object has no attribute 'encode ...
Tried to update everything, seems uptodate. Removed egg-cache and older egg-files. Still same issue. No login through webui, no password reset, no new...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hrwX seems to be related to this pr: https://github.com/frappe/frappe/pull/16863
[{‘name’: ‘0d4e552fce’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 514610), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 514610), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 1, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Receipts/Issuing Approver’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘1cc4232e15’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 937350), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 937350), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Procurement Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘269b697763’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 427337), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 427337), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Receving/Issuing Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 0, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘2e7ae6feed’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 224227), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 224227), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Receving/Issuing Officer’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 0, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘31aa45e20f’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 183631), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 183631), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Receving/Issuing Officer’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘37e2bffd4a’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 264719), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 264719), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Receving/Issuing Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 0, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘37e3d42fbf’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 400891), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 400891), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Material Requisition Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘3d95194e03’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 524320), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 524320), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Material Requisition Approver’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘3def48cf5e’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 242665), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 242665), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 1, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 1, ‘create’: 0, ‘role’: ‘Material Requisition Approver’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 0, ‘cancel’: 1, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘44fa615b4d’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 306167), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 306167), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 0, ‘submit’: 1, ‘create’: 1, ‘role’: ‘Receipts/Issuing Approver’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘4c9ce1e3f0’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 647309), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 647309), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Items Checker’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘4d7816b793’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 483445), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 483445), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Items Checker’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘5c811df3d8’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 978266), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 978266), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Procurement Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘6cec64a1c9’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 359978), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 359978), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Material Requisition Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘6d940ae748’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 896002), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 896002), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Procurement Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘76757ec1de’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 565524), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 565524), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Material Requisition Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘7bab09c8b4’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 442076), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 442076), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Material Requisition Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘829dfaddef’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 810240), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 810240), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Procurement Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 0, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘82bf93a989’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 347697), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 347697), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Receving/Issuing Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘92046069d4’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 102189), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 102189), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 1, ‘create’: 0, ‘role’: ‘Managing Director’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘a718046584’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 471159), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 471159), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Receipts/Issuing Approver’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘abc0f11974’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 768870), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 768870), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 0, ‘submit’: 1, ‘create’: 0, ‘role’: ‘Procurement Manager’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 1, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘ba1a86650f’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 305180), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 305180), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Material Requisition Approver’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘bc4b7b9711’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 143415), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 143415), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Managing Director’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘ca2eb6048e’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 605961), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 605961), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 1, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 1, ‘create’: 0, ‘role’: ‘Items Checker’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘e04f475b78’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 851326), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 851326), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Procurement Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘e285482910’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 727853), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 727853), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 1, ‘role’: ‘Procurement Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘e52189c452’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 36, 687506), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 36, 687506), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 0, ‘set_user_permissions’: 0, ‘email’: 0, ‘delete’: 0, ‘submit’: 0, ‘create’: 0, ‘role’: ‘Material Requisition Officer’, ‘share’: 0, ‘read’: 1, ‘export’: 1, ‘import’: 0, ‘report’: 0, ‘cancel’: 0, ‘print’: 0, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}, {‘name’: ‘e6a3a285e7’, ‘creation’: datetime.datetime(2019, 3, 4, 10, 37, 37, 557826), ‘modified’: datetime.datetime(2019, 3, 4, 10, 37, 37, 557826), ‘modified_by’: ‘Administrator’, ‘owner’: ‘Administrator’, ‘docstatus’: 0, ‘parent’: None, ‘parentfield’: None, ‘parenttype’: None, ‘idx’: 0, ‘if_owner’: 0, ‘write’: 1, ‘amend’: 1, ‘set_user_permissions’: 0, ‘email’: 1, ‘delete’: 0, ‘submit’: 1, ‘create’: 0, ‘role’: ‘Receipts/Issuing Approver’, ‘share’: 1, ‘read’: 1, ‘export’: 1, ‘import’: 1, ‘report’: 1, ‘cancel’: 0, ‘print’: 1, ‘permlevel’: 0, ‘_user_tags’: None, ‘_comments’: None, ‘_assign’: None, ‘_liked_by’: None, ‘select’: 0}]