Commit dd2876d8 authored by Jérome Perrin's avatar Jérome Perrin

when a delivery contains multiple line types, it's hard to understand which...

when a delivery contains multiple line types, it's hard to understand which line is for which divergence, so add a column to show the line portal type.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25642 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86cafc51
......@@ -76,6 +76,7 @@ for divergence in divergence_list:\n
object = portal_object.restrictedTraverse(object_relative_url)\n
o = newTempBase(object.getParentValue(), object.getId(), uid=uid,\n
message=str(divergence.getTranslatedMessage()),\n
object_portal_type=object.getTranslatedPortalType(),\n
object_title=object.getTranslatedTitle(),\n
prevision_title=prevision_title,\n
decision_title=decision_title,\n
......
......@@ -350,6 +350,10 @@
<string>object_title</string>
<string>Delivery Line Title</string>
</tuple>
<tuple>
<string>object_portal_type</string>
<string>Delivery Line Type</string>
</tuple>
<tuple>
<string>message</string>
<string>Description</string>
......@@ -523,6 +527,12 @@
<key> <string>title</string> </key>
<value> <string>Line Level Divergences</string> </value>
</item>
<item>
<key> <string>untranslatable_columns</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>url_columns</string> </key>
<value>
......
522
\ No newline at end of file
523
\ No newline at end of file
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