Commit b075e9c7 authored by Aurel's avatar Aurel

define grouping reference when creating document


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10195 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0d7e8bf
......@@ -192,12 +192,14 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase
"""
# Cash sorting has encaisse_paris for source, guichet_1 for destination, and a price cooreponding to the sum of banknote of 10000 and banknotes of 200 ( (2+3) * 10000 + (2+3) * 200 )
self.internal_money_deposit = self.internal_money_deposit_module.newContent(id='internal_money_deposit', portal_type='Internal Money Deposit',
#source_value=None, destination_value=self.bi_counter_vault,
destination_value=self.bi_counter_vault,
source_value=None,
#destination_payment_value = self.bank_account_1,
resource_value = self.currency_1,
source_total_asset_price=20000.0)
#source_value=None, destination_value=self.bi_counter_vault,
destination_value=self.bi_counter_vault,
source_value=None,
#destination_payment_value = self.bank_account_1,
resource_value = self.currency_1,
source_total_asset_price=20000.0,
grouping_reference="lettering",
)
# execute tic
self.stepTic()
# set source reference
......
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