From df78f29db74c4c4dd31db7488cc92bfd776dc86e Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Thu, 4 Oct 2012 19:12:45 +0200 Subject: [PATCH] [FIX] account_voucher: fixed view that have an onchange function returning a field which is not in the view bzr revid: qdp-launchpad@openerp.com-20121004171245-xvvqlqomkd1pcqvw --- .../account_voucher/test/account_voucher_report.yml | 2 +- addons/account_voucher/test/sales_receipt.yml | 2 +- .../account_voucher/voucher_sales_purchase_view.xml | 12 ++++++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/addons/account_voucher/test/account_voucher_report.yml b/addons/account_voucher/test/account_voucher_report.yml index 3996e0c27e4..a87e4f0fc2a 100644 --- a/addons/account_voucher/test/account_voucher_report.yml +++ b/addons/account_voucher/test/account_voucher_report.yml @@ -1,7 +1,7 @@ - Demo for Account Voucher - - !record {model: account.voucher, id: account_voucher_voucheraxelor0again}: + !record {model: account.voucher, id: account_voucher_voucheraxelor0again, view: view_sale_receipt_form}: account_id: account.cash company_id: base.main_company journal_id: account.bank_journal diff --git a/addons/account_voucher/test/sales_receipt.yml b/addons/account_voucher/test/sales_receipt.yml index f39d784bd42..7cd82eecaff 100644 --- a/addons/account_voucher/test/sales_receipt.yml +++ b/addons/account_voucher/test/sales_receipt.yml @@ -1,7 +1,7 @@ - Creating a Voucher Receipt for partner Seagate with amount 30000.0 - - !record {model: account.voucher, id: account_voucher_seagate_0}: + !record {model: account.voucher, id: account_voucher_seagate_0, view: view_sale_receipt_form}: account_id: account.a_recv amount: 30000.0 company_id: base.main_company diff --git a/addons/account_voucher/voucher_sales_purchase_view.xml b/addons/account_voucher/voucher_sales_purchase_view.xml index aa17cd2997a..38b0bbefd18 100644 --- a/addons/account_voucher/voucher_sales_purchase_view.xml +++ b/addons/account_voucher/voucher_sales_purchase_view.xml @@ -95,10 +95,12 @@ - + - + + + @@ -253,10 +255,12 @@ - + - + + +