Commit 202ce655 authored by Jérome Perrin's avatar Jérome Perrin

General Ledger: use glossary term "Document Reference" for reference

Account Statement: add Document Reference column, hide third party column only if a third party is selected

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36743 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c553c443
...@@ -138,8 +138,11 @@ selection_columns = (\n ...@@ -138,8 +138,11 @@ selection_columns = (\n
(\'Movement_getExplanationTitle\', \'Accounting Transaction Title\'), )\n (\'Movement_getExplanationTitle\', \'Accounting Transaction Title\'), )\n
if len(section_uid) > 1:\n if len(section_uid) > 1:\n
selection_columns += ( (\'section_title\', \'Section\'), )\n selection_columns += ( (\'section_title\', \'Section\'), )\n
selection_columns += analytic_column_list + (\n selection_columns += analytic_column_list\n
(\'Movement_getMirrorSectionTitle\', \'Third Party\'),\n if not mirror_section:\n
selection_columns += ( (\'Movement_getMirrorSectionTitle\', \'Third Party\'), )\n
selection_columns += (\n
(\'Movement_getExplanationReference\', \'Document Reference\'),\n
(\'debit_price\', \'Debit\'),\n (\'debit_price\', \'Debit\'),\n
(\'credit_price\', \'Credit\'),\n (\'credit_price\', \'Credit\'),\n
(\'running_total_price\', \'Net\'),)\n (\'running_total_price\', \'Net\'),)\n
......
...@@ -121,7 +121,7 @@ account_columns = (\n ...@@ -121,7 +121,7 @@ account_columns = (\n
(\'Movement_getExplanationTitle\', \'Title\'),\n (\'Movement_getExplanationTitle\', \'Title\'),\n
(\'date\', \'Date\'),\n (\'date\', \'Date\'),\n
(\'Movement_getExplanationTranslatedPortalType\', \'Type\'),\n (\'Movement_getExplanationTranslatedPortalType\', \'Type\'),\n
(\'Movement_getExplanationReference\', \'Invoice Number\'),\n (\'Movement_getExplanationReference\', \'Document Reference\'),\n
(\'Movement_getMirrorSectionTitle\', \'Third Party\'),)\n (\'Movement_getMirrorSectionTitle\', \'Third Party\'),)\n
if len(simulation_state) > 1:\n if len(simulation_state) > 1:\n
account_columns += (\n account_columns += (\n
......
...@@ -208,7 +208,6 @@ if builder_by_ptype.has_key(delivery_portal_type) :\n ...@@ -208,7 +208,6 @@ if builder_by_ptype.has_key(delivery_portal_type) :\n
<string>order</string> <string>order</string>
<string>build_trade_model_tag</string> <string>build_trade_model_tag</string>
<string>build_accounting_tag</string> <string>build_accounting_tag</string>
<string>path</string>
<string>update_applied_rule_tag</string> <string>update_applied_rule_tag</string>
<string>dict</string> <string>dict</string>
</tuple> </tuple>
......
1294 1295
\ 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