Commit 93c93284 authored by Jérome Perrin's avatar Jérome Perrin

Use `preference` from TALES context.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9764 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69a0b2c3
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionAtDate()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionAtDate</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -485,7 +485,7 @@ ...@@ -485,7 +485,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: not here.REQUEST.get(\'is_accounting_report\', False)</string> </value> <value> <string>python: not request.get(\'is_accounting_report\', False)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionFromDate()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionFromDate</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionSimulationStateList()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionSimulationStateList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>This field must mimic the behaviour of the "Preference" action defined on the portal_membership tool.</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_maxwidth</string> </key> <key> <string>display_maxwidth</string> </key>
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python: here.Localizer.translate(\'erp5_ui\', "The values above are the parameters of the transaction list displayed below. Those parameters are portal-wide and can be edited in the <a href=\'${url}\'>preference screen</a>.",mapping={\'url\': here.portal_url()+\'/personalize_form\'}) python: here.Localizer.translate(\'erp5_ui\', "The values above are the parameters of the transaction list displayed below.<br/>Those parameters have a portal wide scope and can be edited in the <a href=\'${url}\'>preference screen</a>.",mapping={\'url\': here.portal_url() + \'/AccountingTransactionModule_jumpToActiveAccountingPreference\'})
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -304,7 +304,7 @@ python: here.Localizer.translate(\'erp5_ui\', "The values above are the paramete ...@@ -304,7 +304,7 @@ python: here.Localizer.translate(\'erp5_ui\', "The values above are the paramete
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.REQUEST.get(\'portal_skin\', \'\') != \'Print\'</string> </value> <value> <string>python: request.get(\'portal_skin\', \'\') != \'Print\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionAtDate()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionAtDate</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionFromDate()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionFromDate</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionSimulationStateList()</string> </value> <value> <string>python: preferences.getPreferredAccountingTransactionSimulationStateList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>This field must mimic the behaviour of the "Preference" action defined on the portal_membership tool.</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_maxwidth</string> </key> <key> <string>display_maxwidth</string> </key>
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python: here.Localizer.translate(\'erp5_ui\', "The values above are the parameters of the transaction list displayed below. Those parameters are portal-wide and can be edited in the <a href=\'${url}\'>preference screen</a>.",mapping={\'url\': here.portal_url()+\'/personalize_form\'}) python: here.Localizer.translate(\'erp5_ui\', "The values above are the parameters of the transaction list displayed below.<br/>Those parameters have a portal wide scope and can be edited in the <a href=\'${url}\'>preference screen</a>.",mapping={\'url\': here.portal_url() + \'/AccountingTransactionModule_jumpToActiveAccountingPreference\'})
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -304,7 +304,7 @@ python: here.Localizer.translate(\'erp5_ui\', "The values above are the paramete ...@@ -304,7 +304,7 @@ python: here.Localizer.translate(\'erp5_ui\', "The values above are the paramete
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.REQUEST.get(\'portal_skin\', \'\') != \'Print\'</string> </value> <value> <string>python: request.get(\'portal_skin\', \'\') != \'Print\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>entity</string> <string>my_title</string>
<string>preferred_from_date</string> <string>preferred_from_date</string>
<string>preferred_at_date</string> <string>preferred_at_date</string>
</list> </list>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>entity</string> </value> <value> <string>my_title</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>here/title</string> </value> <value> <string>here/getTitle</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionAtDate()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionAtDate</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionFromDate()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionFromDate</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredAccountingTransactionSimulationStateList()</string> </value> <value> <string>preferences/getPreferredAccountingTransactionSimulationStateList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>This field must mimic the behaviour of the "Preference" action defined on the portal_membership tool.</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_maxwidth</string> </key> <key> <string>display_maxwidth</string> </key>
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python: here.Localizer.translate(\'erp5_ui\', "The values above are the parameters of the transaction list displayed below. Those parameters are portal-wide and can be edited in the <a href=\'${url}\'>preference screen</a>.",mapping={\'url\': here.portal_url()+\'/personalize_form\'}) python: here.Localizer.translate(\'erp5_ui\', "The values above are the parameters of the transaction list displayed below.<br/>Those parameters have a portal wide scope and can be edited in the <a href=\'${url}\'>preference screen</a>.",mapping={\'url\': here.portal_url() + \'/AccountingTransactionModule_jumpToActiveAccountingPreference\'})
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -304,7 +304,7 @@ python: here.Localizer.translate(\'erp5_ui\', "The values above are the paramete ...@@ -304,7 +304,7 @@ python: here.Localizer.translate(\'erp5_ui\', "The values above are the paramete
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.REQUEST.get(\'portal_skin\', \'\') != \'Print\'</string> </value> <value> <string>python: request.get(\'portal_skin\', \'\') != \'Print\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
26 27
\ No newline at end of file \ 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