diff --git a/addons/account/account_move_reconciliation.xml b/addons/account/account_move_reconciliation.xml index 162ddb6ce32..bc0f1145594 100644 --- a/addons/account/account_move_reconciliation.xml +++ b/addons/account/account_move_reconciliation.xml @@ -8,20 +8,33 @@
+

- -

-
-
-
-
+
+ +
+ +
+
diff --git a/addons/account/static/src/js/account_move_reconciliation.js b/addons/account/static/src/js/account_move_reconciliation.js index 95c9e9a0f41..f6204c2e0d2 100644 --- a/addons/account/static/src/js/account_move_reconciliation.js +++ b/addons/account/static/src/js/account_move_reconciliation.js @@ -68,30 +68,7 @@ instance.account.extend_form_view = instance.web.FormView.extend({ }) }, }) -instance.account.many2one_pager = instance.web.form.FieldMany2One.extend({ - template: "FieldMany2One_Pager", - display_string: function(str) { - var self = this; - if (!this.get("effective_readonly")) { - this.$input.val(str); - } else { - this.$element.find('a.oe_form_uri') - .unbind('click') - .text(str) - .click(function () { - self.do_action({ - type: 'ir.actions.act_window', - res_model: self.field.relation, - res_id: self.get("value"), - context: self.build_context(), - views: [[false, 'form']], - target: 'current' - }); - return false; - }); - } - }, -}) + instance.account.btn_extend = instance.web.form.WidgetButton.extend({ on_click: function() { var self = this; diff --git a/addons/account/static/src/xml/account_move_reconciliation.xml b/addons/account/static/src/xml/account_move_reconciliation.xml index dba545b219a..9fe822aafb9 100644 --- a/addons/account/static/src/xml/account_move_reconciliation.xml +++ b/addons/account/static/src/xml/account_move_reconciliation.xml @@ -11,46 +11,7 @@ + diff --git a/addons/account_followup/account_move_reconciliation.xml b/addons/account_followup/account_move_reconciliation.xml index 9759acc0c47..f27bf9207eb 100644 --- a/addons/account_followup/account_move_reconciliation.xml +++ b/addons/account_followup/account_move_reconciliation.xml @@ -6,11 +6,11 @@ account.move.reconciliation - +