Commit b51e56e0 authored by Georgios Dagkakis's avatar Georgios Dagkakis

erp5_dqe: define encoding in scripts that need it

parent 8fcb9617
Pipeline #33523 passed with stage
in 0 seconds
# encoding: utf-8
dqe_resource_category = context.getPortalObject().portal_categories.http_exchange_resource.dqe dqe_resource_category = context.getPortalObject().portal_categories.http_exchange_resource.dqe
# Values are hard-coded to fr, it is for Data Warehouse use and Investigation tab # Values are hard-coded to fr, it is for Data Warehouse use and Investigation tab
return { return {
......
# encoding: utf-8
resource_value = context.getResourceValue() resource_value = context.getResourceValue()
if not resource_value.isMemberOf('http_exchange_resource/dqe'): if not resource_value.isMemberOf('http_exchange_resource/dqe'):
return {} return {}
......
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