diff --git a/addons/account/static/src/js/account_move_reconciliation.js b/addons/account/static/src/js/account_move_reconciliation.js index 9e4b9fd30dd..5f86171b8e7 100644 --- a/addons/account/static/src/js/account_move_reconciliation.js +++ b/addons/account/static/src/js/account_move_reconciliation.js @@ -13,7 +13,8 @@ openerp.account = function (instance) { }, on_loaded: function() { var tmp = this._super.apply(this, arguments); - this.$el.prepend(QWeb.render("AccountReconciliation", {widget: self})); + if (this.partners) + this.$el.prepend(QWeb.render("AccountReconciliation", {widget: this})); return tmp; }, do_search: function(domain, context, group_by) { diff --git a/addons/account/static/src/xml/account_move_reconciliation.xml b/addons/account/static/src/xml/account_move_reconciliation.xml index b40e00f5e99..33adc4e64a0 100644 --- a/addons/account/static/src/xml/account_move_reconciliation.xml +++ b/addons/account/static/src/xml/account_move_reconciliation.xml @@ -4,65 +4,21 @@ -
-
-
-
-
- - - - - - - - - - - -
-

- Previous - Next - - - - - ( - 0 - / - 0 - ) -

-
- -
-
- Reconcile - - -
-
- -
-
-
-
+
+
+

+ Previous + Next + + There is no pending reconciliation. + + + + +

+
+