From c75d2605059afe5c939147df00bf92c10f04770b Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Fri, 2 Nov 2012 10:38:57 +0100 Subject: [PATCH] [FIX] Refactoring of view_vendor_receipt_form. bzr revid: vta@openerp.com-20121102093857-es04l1spvh1h63z8 --- addons/account/account_view.xml | 4 +-- .../account_analytic_plans_view.xml | 2 +- .../src/js/account_voucher_reconciliation.js | 2 +- .../voucher_payment_receipt_view.xml | 26 +++++++++---------- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index bf3fe6aaafb..159f2f704a0 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -302,7 +302,7 @@ [('parent_id','=',False)] - + Unrealized Gain or Loss account.account @@ -322,7 +322,7 @@ - + Unrealized Gain or Loss account.account form diff --git a/addons/account_analytic_plans/account_analytic_plans_view.xml b/addons/account_analytic_plans/account_analytic_plans_view.xml index 76d6aeed7b8..a4b8f0756f5 100644 --- a/addons/account_analytic_plans/account_analytic_plans_view.xml +++ b/addons/account_analytic_plans/account_analytic_plans_view.xml @@ -276,7 +276,7 @@ - + account.analytic.default.tree.plans account.analytic.default diff --git a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js index c500125510f..09616a139fb 100644 --- a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js +++ b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js @@ -8,7 +8,7 @@ openerp.account_voucher = function (instance) { instance.web.form.widgets.add('account_voucher_field', 'instance.web.account_voucher.AccountVoucherField'); instance.web.account_voucher.AccountVoucherField = instance.web.form.AbstractField.extend({ template: 'FieldAccountVoucher', - init: function(field_manager, node) { + init: function(field_manager, node) { this._super.apply(this, arguments); var self = this; this.set('value', false); diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index e1a48c6c535..a671fe2c358 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -390,35 +390,33 @@ account.voucher
-
-

- + - + - - - + + + -
-
+