Commit 5e13cec3 authored by Romain Courteaud's avatar Romain Courteaud

erp5_accounting: do not crash if user can not access the source section

parent 284dd1d9
section_value = context.getSourceSectionValue() section_value = context.getSourceSectionValue(checked_permission='View')
if section_value is None or \ if section_value is None or \
section_value.getProperty('price_currency', None) is None: section_value.getProperty('price_currency', None) is None:
......
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