Commit 3f614007 authored by Tatuya Kamada's avatar Tatuya Kamada

Make it selectable in Accounting Preference how to display bank account.

parent 02ef12ac
......@@ -95,10 +95,18 @@ if multiple_sections:\n
else:\n
a((\'getSourceSectionTitle\', \'Third Party\'))\n
if multiple_payment:\n
bank_account_display_method = \\\n
context.portal_preferences.getPreferredAccountingBankAccountDisplayMethod()\n
if source:\n
a((\'getSourcePaymentReference\', \'Bank Account\'))\n
if bank_account_display_method == \'bank_account_title\':\n
a((\'getSourcePaymentTitle\', \'Bank Account\'))\n
else:\n
a((\'getSourcePaymentReference\', \'Bank Account\'))\n
else:\n
a((\'getDestinationPaymentReference\', \'Bank Account\'))\n
if bank_account_display_method == \'bank_account_title\':\n
a((\'getDestinationPaymentTitle\', \'Bank Account\'))\n
else:\n
a((\'getDestinationPaymentReference\', \'Bank Account\'))\n
if source:\n
a((\'source_debit\', \'Debit\'))\n
a((\'source_credit\', \'Credit\'))\n
......
......@@ -83,6 +83,7 @@
<string>my_preferred_accounting_section_category_strict</string>
<string>my_preferred_accounting_transaction_source_section</string>
<string>my_preferred_accounting_transaction_currency</string>
<string>my_preferred_accounting_bank_account_display_method</string>
</list>
</value>
</item>
......
2011-10-12 tatuya
* Make it selectable in Accounting Preference how to display bank account.
2011-04-04 Kazuhiko
* configure searchable text property ids for Accounting Period, Accounting Transaction, Balance Transaction, Internal Invoice Transaction, Payment Transaction, Purchase Invoice Transaction and Sale Invoice Transaction.
......
1469
\ No newline at end of file
1470
\ No newline at end of file
......@@ -30,7 +30,7 @@
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>13</string> </value>
<value> <string>14</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Standard Property" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>mode</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>elementary_type/string</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_bank_account_display_method_property</string> </value>
</item>
<item>
<key> <string>mode</string> </key>
<value> <string>w</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Standard Property</string> </value>
</item>
<item>
<key> <string>preference</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>property_default</string> </key>
<value> <string>python:"bank_account_number"</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2011-10-12 tatuya
* Add preferred_accounting_bank_account_display_method into AccountingPreference to select the way to display bank account.
2011-06-20 Kazuhiko
* add delivery_mode category in TradeModelPath.
......
41
\ No newline at end of file
42
\ 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