From af2e8b8c0104a1b2b37dc17c22531cea78b3909b Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Mon, 28 Jan 2008 17:49:25 +0000 Subject: [PATCH] Added default translated ids for various accounting transaction lines. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18892 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index f2af958514..424cffe002 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -2373,6 +2373,15 @@ class Base( CopyContainer, 'Default Purchase Supply Line'), 'Sale Supply Line': dict(sale_supply_line= 'Default Sale Supply Line'), + 'Accounting Transaction Line': dict(bank='Bank', + payable='Payable', + receivable='Receivable'), + 'Purchase Invoice Transaction Line': dict(expense='Expense', + payable='Payable', + refundable_vat='Refundable VAT'), + 'Sale Invoice Transaction Line': dict(income='Income', + collected_vat='Collected VAT', + receivable='Receivable'), } method = self._getTypeBasedMethod('getIdTranslationDict') if method is not None: -- 2.30.9