From a87bf67e9d6a44f5d9c712390e27b330fb1a1193 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 7 May 2013 09:00:06 +0200 Subject: [PATCH] [FIX] account_voucher: using a new partner for the new yaml test to avoid interferences in the other yaml tests bzr revid: qdp-launchpad@openerp.com-20130507070006-4rnvkdkk09ri3k63 --- .../test/case1_usd_usd_payment_rate.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/addons/account_voucher/test/case1_usd_usd_payment_rate.yml b/addons/account_voucher/test/case1_usd_usd_payment_rate.yml index 39ca16c552f..02a4b86d85a 100644 --- a/addons/account_voucher/test/case1_usd_usd_payment_rate.yml +++ b/addons/account_voucher/test/case1_usd_usd_payment_rate.yml @@ -67,6 +67,13 @@ currency: base.USD company_id: base.main_company +- + I create a new partner Kate Mc Kay +- + !record {model: res.partner, id: res_partner_mc_kay}: + name: "Mc Kay Kate" + property_account_receivable: account.a_recv + property_account_payable: account.a_pay - I create the first invoice on 1st January for 200 USD - @@ -84,7 +91,7 @@ product_id: product.product_product_3 uos_id: product.product_uom_unit journal_id: account.sales_journal - partner_id: base.res_partner_19 + partner_id: res_partner_mc_kay reference_type: none - I Validate invoice by clicking on Validate button @@ -117,7 +124,7 @@ product_id: product.product_product_3 uos_id: product.product_uom_unit journal_id: account.sales_journal - partner_id: base.res_partner_19 + partner_id: res_partner_mc_kay reference_type: none - I Validate invoice by clicking on Validate button @@ -148,7 +155,7 @@ company_id: base.main_company journal_id: bank_journal_USD name: 'Payment: Case 1 USD/USD payment rate' - partner_id: base.res_partner_19 + partner_id: res_partner_mc_kay period_id: account.period_3 date: !eval time.strftime("%Y-03-01") payment_option: 'with_writeoff'