Commit 7af6edec authored by Aurel's avatar Aurel

2005-12-30 aurel

* remove old view for diff
* modified BusinessTemplate_getDiffUrl, TemplateTool_viewDiff
* add BusinessTemplate_getDiffObjectList,


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4960 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 447a605e
......@@ -69,7 +69,10 @@
<value> <string encoding="cdata"><![CDATA[
if brain.object_state == \'Modified\':\n
return \'/\'.join(brain.getPhysicalPath()[:-1])+\'/BusinessTemplate_viewObjectsDiff?object_id=\'+brain.object_id+\'&object_class=\'+brain.object_class\n
if hasattr(brain, \'bt1\'):\n
return \'/\'.join(brain.getPhysicalPath()[:-1])+\'/BusinessTemplate_viewObjectsDiff?object_id=\'+brain.object_id+\'&object_class=\'+brain.object_class+\'&bt1=\'+brain.bt1+\'&bt2=\'+brain.bt2\n
else:\n
return \'/\'.join(brain.getPhysicalPath()[:-1])+\'/BusinessTemplate_viewObjectsDiff?object_id=\'+brain.object_id+\'&object_class=\'+brain.object_class\n
else:\n
return None\n
......@@ -78,18 +81,22 @@ else:\n
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAgAAAAUAAAAHAAAAQwAA
AHNzAAAAdAAAfAAAZAEAgwIAZAIAagIAb1UAAXQAAGQDAGQEAIMCAHQCAHQAAHwAAGQFAIMCAIMA
AGQAAGQGAAuFAgCDAgCDAQBkBwAXdAAAfAAAZAgAgwIAF2QJABd0AAB8AABkCgCDAgAXU24FAAF0
AwBTZAAAUygLAAAATnMMAAAAb2JqZWN0X3N0YXRlcwgAAABNb2RpZmllZHMBAAAAL3MEAAAAam9p
bnMPAAAAZ2V0UGh5c2ljYWxQYXRoaQEAAABzLAAAAC9CdXNpbmVzc1RlbXBsYXRlX3ZpZXdPYmpl
Y3RzRGlmZj9vYmplY3RfaWQ9cwkAAABvYmplY3RfaWRzDgAAACZvYm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amVjdF9pZD1zCQAAAG9iamVj
dF9pZHMOAAAAJm9iamVjdF9jbGFzcz1zDAAAAG9iamVjdF9jbGFzc3MFAAAAJmJ0MT1zBQAAACZi
dDI9cwMAAABidDIoBQAAAHMJAAAAX2dldGF0dHJfcwUAAABicmFpbnMHAAAAaGFzYXR0cnMJAAAA
X2dldGl0ZW1fcwQAAABOb25lKAYAAABzBQAAAGJyYWlucwkAAABzZWxlY3Rpb25zCQAAAF9nZXRh
dHRyX3MHAAAAaGFzYXR0cnMJAAAAX2dldGl0ZW1fcwQAAABOb25lKAAAAAAoAAAAAHMPAAAAU2Ny
aXB0IChQeXRob24pcxsAAABCdXNpbmVzc1RlbXBsYXRlX2dldERpZmZVcmwBAAAAcwgAAAAWARAB
dwJVAigBAAAAcxsAAABCdXNpbmVzc1RlbXBsYXRlX2dldERpZmZVcmwoAQAAAHMbAAAAQnVzaW5l
c3NUZW1wbGF0ZV9nZXREaWZmVXJsKAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8
bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
......@@ -132,6 +139,7 @@ AAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
<string>brain</string>
<string>selection</string>
<string>_getattr_</string>
<string>hasattr</string>
<string>_getitem_</string>
<string>None</string>
</tuple>
......
......@@ -140,7 +140,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Diff Two Object At Installation</string> </value>
<value> <string>Diff Two Objects</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -142,7 +142,9 @@
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
......@@ -284,4 +286,23 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_membership.checkPermission("Manager", here)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -79,7 +79,7 @@
<key> <string>Default</string> </key>
<value>
<list>
<string>diffview</string>
<string>listbox</string>
</list>
</value>
</item>
......
2005-12-30 aurel
* remove old view for diff
* modified BusinessTemplate_getDiffUrl, TemplateTool_viewDiff
* add BusinessTemplate_getDiffObjectList,
2005-12-29 aurel
* reindex trash bins in ERP5Site_reindexAll
......
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