Commit eedb8cc7 authored by Jean-Paul Smets's avatar Jean-Paul Smets

source_reference of variation is now merged with source_reference of resource


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@145 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05814102
...@@ -39,7 +39,10 @@ if resource <> None : ...@@ -39,7 +39,10 @@ if resource <> None :
if variante_object.getSourceReference() in (None, '', 'None'): if variante_object.getSourceReference() in (None, '', 'None'):
line_source_reference = resource.getSourceReference() line_source_reference = resource.getSourceReference()
else : else :
if resource.getSourceReference() in (None, '', 'None'):
line_source_reference = variante_object.getSourceReference() line_source_reference = variante_object.getSourceReference()
else:
line_source_reference = "%s %s" % (resource.getSourceReference(), variante_object.getSourceReference())
else : else :
line_source_reference = resource.getSourceReference() line_source_reference = resource.getSourceReference()
......
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