Commit 8fe9152a authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_accounting: replaces "here.portal_preferences" by "preferences" in TALES...

erp5_accounting: replaces "here.portal_preferences" by "preferences" in TALES expressions in Account_viewAccountingTransactionList (fix for 994e3555)
parent 05cb9511
......@@ -267,7 +267,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_categories.resolveCategory(here.portal_preferences.getPreferredAccountingTransactionLedgerList())</string> </value>
<value> <string>python: here.portal_categories.resolveCategory(preferences.getPreferredAccountingTransactionLedgerList())</string> </value>
</item>
</dictionary>
</pickle>
......@@ -293,7 +293,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [((\'\' if category == \'\' else here.portal_categories.resolveCategory(category).getTitle()), category) for category in here.portal_preferences.getPreferredAccountingTransactionLedgerList()]</string> </value>
<value> <string>python: [((\'\' if category == \'\' else here.portal_categories.resolveCategory(category).getTranslatedTitle()), category) for category in preferences.getPreferredAccountingTransactionLedgerList()]</string> </value>
</item>
</dictionary>
</pickle>
......
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