Skip to content

Instantly share code, notes, and snippets.

@Altreus
Created November 27, 2014 11:24
Show Gist options
  • Save Altreus/12fceabea8284a461f97 to your computer and use it in GitHub Desktop.
Save Altreus/12fceabea8284a461f97 to your computer and use it in GitHub Desktop.
Exception with no information (raise GeneratorExit('Skip')):
<para style="terp_default_Centre_9">
[[
line.product_id.categ_id.name == 'Margin' and removeParentNode('para')
]][[
', '.join(map(lambda x: x.name, line.tax_id))
]]
</para>
Valid:
<para style="terp_default_Centre_9"> [[ line.product_id.categ_id.name == 'Margin' and removeParentNode('para') ]][[
', '.join(map(lambda x: x.name, line.tax_id))
]]
</para>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment