Commit 908b233c authored by Vincent Pelletier's avatar Vincent Pelletier

Add "developer mode" (preference page & common scripts).

Remove references to "News" PortalType in business template.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7395 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 80e1d756
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>if context.REQUEST.has_key(\'workflow_action\'): # We are on a workflow transition\n
help = \'%s#%s\' % (getattr(getattr(context, form_id), \'form_action\'),context.REQUEST[\'workflow_action\'])\n
elif action is not None:\n
help = \'%s#%s\' % (context.getPortalType(), action)\n
elif form_id is not None:\n
help = \'%s_%s\' % (context.getPortalType(), form_id)\n
else:\n
help = context.getPortalType()\n
return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentationBaseUrl(), help)\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_core/Base_getHelpUrl</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>form_id = None, action = None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>form_id</string>
<string>action</string>
<string>_getattr_</string>
<string>context</string>
<string>getattr</string>
<string>_getitem_</string>
<string>help</string>
<string>None</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<none/>
<none/>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_getHelpUrl</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>Python_magic</string> </key> <key> <string>Python_magic</string> </key>
<value> <string encoding="base64">bfINCg==</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
...@@ -83,7 +85,7 @@ return context.portal_preferences.getPreferredHtmlStyleDevelopperMode() and cont ...@@ -83,7 +85,7 @@ return context.portal_preferences.getPreferredHtmlStyleDevelopperMode() and cont
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/erp5/portal_skins/erp5_core/Base_getSourceVisibility</string> </value> <value> <string>Script (Python):/nexedi/portal_skins/erp5_core/Base_getSourceVisibility</string> </value>
</item> </item>
<item> <item>
<key> <string>_owner</string> </key> <key> <string>_owner</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>return context.portal_preferences.getPreferredHtmlStyleTranslatorMode() and \\\n
context.portal_membership.checkPermission(\'View management screens\', context.Localizer)\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_core/Base_getTranslationVisibility</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_getTranslationVisibility</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2006-05-22 Vincent
* Add "developer mode" (preference page & common scripts).
2006-05-15 Kevin 2006-05-15 Kevin
* Add some tools to import OOo calc document and transform spreadsheet data to ERP5 objects. * Add some tools to import OOo calc document and transform spreadsheet data to ERP5 objects.
......
...@@ -12,9 +12,17 @@ Order Builder | Predicate ...@@ -12,9 +12,17 @@ Order Builder | Predicate
Order Tool | Order Builder Order Tool | Order Builder
Predicate | Value Predicate Predicate | Value Predicate
Preference Tool | Preference Preference Tool | Preference
Preference | Accounting Transaction
Preference | Pay Sheet Transaction
Preference | Payment Transaction
Preference | Purchase Invoice Transaction
Preference | Sale Invoice Transaction
Rule Tool | Delivery Rule Rule Tool | Delivery Rule
Rule Tool | Invoice Rule Rule Tool | Invoice Rule
Rule Tool | Invoice Transaction Rule Rule Tool | Invoice Transaction Rule
Rule Tool | Invoicing Rule
Rule Tool | Order Rule
Rule Tool | Payment Rule
Simulation Movement | Applied Rule Simulation Movement | Applied Rule
Simulation Tool | Applied Rule Simulation Tool | Applied Rule
Template Tool | Business Template Template Tool | Business Template
......
Preference | Accounting Transaction
Preference | Pay Sheet Transaction
Preference | Payment Transaction
Preference | Purchase Invoice Transaction
Preference | Sale Invoice Transaction
\ No newline at end of file
...@@ -14,7 +14,6 @@ Favorite ...@@ -14,7 +14,6 @@ Favorite
Folder Folder
Link Link
Mapped Value Mapped Value
News Item
Order Builder Order Builder
Order Tool Order Tool
Predicate Predicate
......
...@@ -3,7 +3,6 @@ Document | edit_workflow ...@@ -3,7 +3,6 @@ Document | edit_workflow
Favorite | edit_workflow Favorite | edit_workflow
Link | edit_workflow Link | edit_workflow
Mapped Value | edit_workflow Mapped Value | edit_workflow
News Item | edit_workflow
Predicate | rule_interaction_workflow Predicate | rule_interaction_workflow
Preference | preference_workflow Preference | preference_workflow
Simulation Movement | simulation_movement_interaction_workflow Simulation Movement | simulation_movement_interaction_workflow
\ 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