From 8f294520278d2fc55cd31e63b83e5a693a32eb29 Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 31 Oct 2012 15:03:34 +0100 Subject: [PATCH 01/16] [IMP] Improved voucher_id field in bank statement lines. bzr revid: vta@openerp.com-20121031140334-mqi6hcofjuk4zps0 --- addons/account/account_view.xml | 4 +- addons/account_voucher/__openerp__.py | 9 +++ addons/account_voucher/account_voucher.py | 2 +- .../account_voucher/account_voucher_view.xml | 4 +- .../src/js/account_voucher_reconciliation.js | 74 +++++++++++++++++++ 5 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 addons/account_voucher/static/src/js/account_voucher_reconciliation.js diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index d9e95f15079..bf3fe6aaafb 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -650,7 +650,7 @@ - + @@ -661,7 +661,7 @@ - + diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py index c0011c8b3c5..ac80a7f32b0 100644 --- a/addons/account_voucher/__openerp__.py +++ b/addons/account_voucher/__openerp__.py @@ -60,6 +60,15 @@ This module manages: 'security/account_voucher_security.xml', 'account_voucher_data.xml', ], + 'js': [ + 'static/src/js/account_voucher_reconciliation.js', + ], + 'qweb' : [ + 'static/src/xml/account_voucher_reconciliation.xml', + ], + 'css': [ + #'static/src/css/account_voucher_reconciliation.css', + ], 'test' : [ 'test/account_voucher.yml', 'test/sales_receipt.yml', diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index e1caf190316..8774b717477 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -1565,7 +1565,7 @@ class account_bank_statement_line(osv.osv): _columns = { 'amount_reconciled': fields.function(_amount_reconciled, string='Amount reconciled', type='float'), - 'voucher_id': fields.many2one('account.voucher', 'Payment'), + 'voucher_id': fields.many2one('account.voucher', 'Reconciliation'), } def unlink(self, cr, uid, ids, context=None): diff --git a/addons/account_voucher/account_voucher_view.xml b/addons/account_voucher/account_voucher_view.xml index 4b02d697982..55a07c5fd99 100644 --- a/addons/account_voucher/account_voucher_view.xml +++ b/addons/account_voucher/account_voucher_view.xml @@ -212,7 +212,7 @@ - + @@ -223,7 +223,7 @@ - + diff --git a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js new file mode 100644 index 00000000000..7a4d47403f6 --- /dev/null +++ b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js @@ -0,0 +1,74 @@ +openerp.account_voucher = function (instance) { + var _t = instance.web._t, + _lt = instance.web._lt; + var QWeb = instance.web.qweb; + + instance.web.account_voucher = {}; + + 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) { + this._super.apply(this, arguments); + var self = this; + this.set('value', false); + this.is_started = false; + }, + start: function() { + this._super.apply(this, arguments); + var self = this; + this.string = this.get('value') ? _t('Edit') : _t('Create'); + this.node.attrs.icon = this.get('value') ? '/web/static/src/img/icons/gtk-yes.png' : '/web/static/src/img/icons/gtk-no.png'; + this.$button = $(QWeb.render('WidgetButton', {'widget': this})); + this.$el.append(this.$button); + this.$button.on('click', self.on_click); + this.is_started = true; + }, + on_click: function(ev) { + var self = this; + ev.stopPropagation(); + var popup = new instance.web.form.FormOpenPopup(this); + popup.show_element( + this.field.relation, + this.get('value'), + this.build_context(), + {title: _t("Voucher: ") + this.string} + ); + popup.on('create_completed write_completed', self, function(r){ + self.set_value(r); + }); + }, + // render_value: function() {}, + set_value: function(value_) { + var self = this; + if (value_ instanceof Array) { + value_ = value_[0]; + } + value_ = value_ || false; + this.set('value', value_); + if (this.is_started) { + this.render_value(); + } + }, + // get_value: function() {}, + // set_input_id: function(id) {}, + // is_valid: function() {}, + // is_syntax_valid: function() {}, + // focus: function() {}, + // on_translate: function() {}, + + }); + + instance.web.list.columns.add('field.account_voucher_field', 'instance.web.list.AccountVoucherField'); + instance.web.list.AccountVoucherField = instance.web.list.Column.extend({ + format: function (row_data, options) { + if (row_data.voucher_id.value) { + this.icon = '/web/static/src/img/icons/gtk-yes.png'; + } else { + this.icon = '/web/static/src/img/icons/gtk-no.png'; + } + return QWeb.render('FieldAccountVoucher.cell', {'widget': this}); + }, + }); + +}; \ No newline at end of file From af6f626a2c642320da491966b5f42c3fd4221c3e Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 31 Oct 2012 16:06:16 +0100 Subject: [PATCH 02/16] [ADD] Added new files. bzr revid: vta@openerp.com-20121031150616-m4i6dp2xa6edkgxr --- .../src/css/account_voucher_reconciliation.css | 0 .../src/js/account_voucher_reconciliation.js | 2 +- .../src/xml/account_voucher_reconciliation.xml | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 addons/account_voucher/static/src/css/account_voucher_reconciliation.css create mode 100644 addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml diff --git a/addons/account_voucher/static/src/css/account_voucher_reconciliation.css b/addons/account_voucher/static/src/css/account_voucher_reconciliation.css new file mode 100644 index 00000000000..e69de29bb2d 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 7a4d47403f6..8c96d7441be 100644 --- a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js +++ b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js @@ -61,7 +61,7 @@ openerp.account_voucher = function (instance) { instance.web.list.columns.add('field.account_voucher_field', 'instance.web.list.AccountVoucherField'); instance.web.list.AccountVoucherField = instance.web.list.Column.extend({ - format: function (row_data, options) { + _format: function (row_data, options) { if (row_data.voucher_id.value) { this.icon = '/web/static/src/img/icons/gtk-yes.png'; } else { diff --git a/addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml b/addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml new file mode 100644 index 00000000000..8ac808920b1 --- /dev/null +++ b/addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + \ No newline at end of file From e60907fa8da7d9cd9c2eb34e38b2beca9090b8b2 Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 31 Oct 2012 16:21:10 +0100 Subject: [PATCH 03/16] [REM] Removed unused code. bzr revid: vta@openerp.com-20121031152110-1v8qeocy6dd5kntb --- .../static/src/js/account_voucher_reconciliation.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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 8c96d7441be..c500125510f 100644 --- a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js +++ b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js @@ -11,8 +11,7 @@ openerp.account_voucher = function (instance) { init: function(field_manager, node) { this._super.apply(this, arguments); var self = this; - this.set('value', false); - this.is_started = false; + this.set('value', false); }, start: function() { this._super.apply(this, arguments); @@ -22,7 +21,6 @@ openerp.account_voucher = function (instance) { this.$button = $(QWeb.render('WidgetButton', {'widget': this})); this.$el.append(this.$button); this.$button.on('click', self.on_click); - this.is_started = true; }, on_click: function(ev) { var self = this; @@ -38,7 +36,6 @@ openerp.account_voucher = function (instance) { self.set_value(r); }); }, - // render_value: function() {}, set_value: function(value_) { var self = this; if (value_ instanceof Array) { @@ -50,12 +47,6 @@ openerp.account_voucher = function (instance) { this.render_value(); } }, - // get_value: function() {}, - // set_input_id: function(id) {}, - // is_valid: function() {}, - // is_syntax_valid: function() {}, - // focus: function() {}, - // on_translate: function() {}, }); 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 04/16] [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
-
-

- + - + - - - + + + -
-
+
From c4fe6c2f58f43a1434f13a538ba8df034e5d8348 Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Mon, 5 Nov 2012 13:53:46 +0100 Subject: [PATCH 05/16] [REM] Removed many2onebutton widget from account_voucher, now in view_form.js and view_list.js, as standard widget. bzr revid: vta@openerp.com-20121105125346-v8hgfn157ef0j8fl --- addons/account/account_view.xml | 4 +- addons/account_voucher/__openerp__.py | 9 --- .../account_voucher/account_voucher_view.xml | 4 +- .../css/account_voucher_reconciliation.css | 0 .../src/js/account_voucher_reconciliation.js | 65 ------------------- .../xml/account_voucher_reconciliation.xml | 15 ----- 6 files changed, 4 insertions(+), 93 deletions(-) delete mode 100644 addons/account_voucher/static/src/css/account_voucher_reconciliation.css delete mode 100644 addons/account_voucher/static/src/js/account_voucher_reconciliation.js delete mode 100644 addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 159f2f704a0..e050daec2b1 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -1055,7 +1055,7 @@ - + account.move.line.tree account.move.line @@ -1850,7 +1850,7 @@ - + account.subscription.search account.subscription diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py index ac80a7f32b0..c0011c8b3c5 100644 --- a/addons/account_voucher/__openerp__.py +++ b/addons/account_voucher/__openerp__.py @@ -60,15 +60,6 @@ This module manages: 'security/account_voucher_security.xml', 'account_voucher_data.xml', ], - 'js': [ - 'static/src/js/account_voucher_reconciliation.js', - ], - 'qweb' : [ - 'static/src/xml/account_voucher_reconciliation.xml', - ], - 'css': [ - #'static/src/css/account_voucher_reconciliation.css', - ], 'test' : [ 'test/account_voucher.yml', 'test/sales_receipt.yml', diff --git a/addons/account_voucher/account_voucher_view.xml b/addons/account_voucher/account_voucher_view.xml index 55a07c5fd99..333cde7638f 100644 --- a/addons/account_voucher/account_voucher_view.xml +++ b/addons/account_voucher/account_voucher_view.xml @@ -212,7 +212,7 @@ - + @@ -223,7 +223,7 @@ - + diff --git a/addons/account_voucher/static/src/css/account_voucher_reconciliation.css b/addons/account_voucher/static/src/css/account_voucher_reconciliation.css deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js b/addons/account_voucher/static/src/js/account_voucher_reconciliation.js deleted file mode 100644 index 09616a139fb..00000000000 --- a/addons/account_voucher/static/src/js/account_voucher_reconciliation.js +++ /dev/null @@ -1,65 +0,0 @@ -openerp.account_voucher = function (instance) { - var _t = instance.web._t, - _lt = instance.web._lt; - var QWeb = instance.web.qweb; - - instance.web.account_voucher = {}; - - 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) { - this._super.apply(this, arguments); - var self = this; - this.set('value', false); - }, - start: function() { - this._super.apply(this, arguments); - var self = this; - this.string = this.get('value') ? _t('Edit') : _t('Create'); - this.node.attrs.icon = this.get('value') ? '/web/static/src/img/icons/gtk-yes.png' : '/web/static/src/img/icons/gtk-no.png'; - this.$button = $(QWeb.render('WidgetButton', {'widget': this})); - this.$el.append(this.$button); - this.$button.on('click', self.on_click); - }, - on_click: function(ev) { - var self = this; - ev.stopPropagation(); - var popup = new instance.web.form.FormOpenPopup(this); - popup.show_element( - this.field.relation, - this.get('value'), - this.build_context(), - {title: _t("Voucher: ") + this.string} - ); - popup.on('create_completed write_completed', self, function(r){ - self.set_value(r); - }); - }, - set_value: function(value_) { - var self = this; - if (value_ instanceof Array) { - value_ = value_[0]; - } - value_ = value_ || false; - this.set('value', value_); - if (this.is_started) { - this.render_value(); - } - }, - - }); - - instance.web.list.columns.add('field.account_voucher_field', 'instance.web.list.AccountVoucherField'); - instance.web.list.AccountVoucherField = instance.web.list.Column.extend({ - _format: function (row_data, options) { - if (row_data.voucher_id.value) { - this.icon = '/web/static/src/img/icons/gtk-yes.png'; - } else { - this.icon = '/web/static/src/img/icons/gtk-no.png'; - } - return QWeb.render('FieldAccountVoucher.cell', {'widget': this}); - }, - }); - -}; \ No newline at end of file diff --git a/addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml b/addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml deleted file mode 100644 index 8ac808920b1..00000000000 --- a/addons/account_voucher/static/src/xml/account_voucher_reconciliation.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file From 01d33d5d063078002a289b045bda483cd2e140f1 Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Tue, 6 Nov 2012 16:36:02 +0100 Subject: [PATCH 06/16] [IMP] Make account.voucher inactive by default, and only change its state when confirming the corresponding bank statement. Improved bank statement unlink method, also removing its corresponding vouchers. bzr revid: vta@openerp.com-20121106153602-jmtaqkn55o5hxwyv --- addons/account_voucher/account_voucher.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 8774b717477..8f34fd8a1fc 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -267,6 +267,7 @@ class account_voucher(osv.osv): _order = "date desc, id desc" # _rec_name = 'number' _columns = { + 'active':fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the payment term without removing it."), 'type':fields.selection([ ('sale','Sale'), ('purchase','Purchase'), @@ -328,6 +329,7 @@ class account_voucher(osv.osv): 'is_multi_currency': fields.boolean('Multi Currency Voucher', help='Fields with internal purpose only that depicts if the voucher is a multi currency one or not'), } _defaults = { + 'active': lambda *a: False, 'period_id': _get_period, 'partner_id': _get_partner, 'journal_id':_get_journal, @@ -1504,6 +1506,15 @@ account_voucher_line() class account_bank_statement(osv.osv): _inherit = 'account.bank.statement' + def button_confirm_bank(self, cr, uid, ids, context=None): + statementLine = self.pool.get('account.bank.statement.line') + voucher = self.pool.get('account.voucher') + for statement in self.browse(cr, uid, ids, context=context): + for line in statement.line_ids: + if line.voucher_id: + voucher.write(cr, uid, line.voucher_id.id, {'active':True}, context=context) + return super(account_bank_statement, self).button_confirm_bank(cr, uid, ids, context=context) + def button_cancel(self, cr, uid, ids, context=None): voucher_obj = self.pool.get('account.voucher') for st in self.browse(cr, uid, ids, context=context): @@ -1534,6 +1545,13 @@ class account_bank_statement(osv.osv): return move_line_obj.write(cr, uid, [x.id for x in v.move_ids], {'statement_id': st_line.statement_id.id}, context=context) return super(account_bank_statement, self).create_move_from_st_line(cr, uid, st_line.id, company_currency_id, next_number, context=context) + def unlink(self, cr, uid, ids, context=None): + statementLine = self.pool.get('account.bank.statement.line') + for statement in self.read(cr, uid, ids, ['line_ids'], context=context): + statementLine.unlink(cr, uid, statement['line_ids'], context=context) + return super(account_bank_statement, self).unlink(cr, uid, ids, context=context) + + account_bank_statement() class account_bank_statement_line(osv.osv): From bee0f20b667ec99041aee43a1d8f91a607c035cc Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 7 Nov 2012 09:18:27 +0100 Subject: [PATCH 07/16] [IMP] Set the new voucher as inactive. bzr revid: vta@openerp.com-20121107081827-ncls1h2c5pbjvis3 --- addons/account_voucher/__openerp__.py | 3 +++ addons/account_voucher/account_voucher.py | 2 +- .../account_voucher/static/src/js/account_voucher.js | 12 ++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 addons/account_voucher/static/src/js/account_voucher.js diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py index c0011c8b3c5..85090cd617d 100644 --- a/addons/account_voucher/__openerp__.py +++ b/addons/account_voucher/__openerp__.py @@ -60,6 +60,9 @@ This module manages: 'security/account_voucher_security.xml', 'account_voucher_data.xml', ], + 'js': [ + 'static/src/js/account_voucher.js', + ], 'test' : [ 'test/account_voucher.yml', 'test/sales_receipt.yml', diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 8f34fd8a1fc..85ab06714e7 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -329,7 +329,7 @@ class account_voucher(osv.osv): 'is_multi_currency': fields.boolean('Multi Currency Voucher', help='Fields with internal purpose only that depicts if the voucher is a multi currency one or not'), } _defaults = { - 'active': lambda *a: False, + 'active': lambda *a: True, 'period_id': _get_period, 'partner_id': _get_partner, 'journal_id':_get_journal, diff --git a/addons/account_voucher/static/src/js/account_voucher.js b/addons/account_voucher/static/src/js/account_voucher.js new file mode 100644 index 00000000000..9d38ad252cf --- /dev/null +++ b/addons/account_voucher/static/src/js/account_voucher.js @@ -0,0 +1,12 @@ +openerp.account_voucher = function(instance) { + + instance.web.form.Many2OneButton = instance.web.form.Many2OneButton.extend({ + on_click: function() { + this._super.apply(this, arguments); + this.popup.on('create_completed write_completed', self, function(r) { + var voucher = new instance.web.Model('account.voucher'); + voucher.call('write', [[r], {'active':false}]); + }); + }, + }); +} \ No newline at end of file From 0ad71eb405a2ec089904ec3a13db2b02d3e0fe05 Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 7 Nov 2012 09:45:40 +0100 Subject: [PATCH 08/16] [FIX] Hide open m2o icon. bzr revid: vta@openerp.com-20121107084540-iahqvnuh4q9tcejo --- addons/account/account_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index e050daec2b1..8441c8dbfc9 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -650,7 +650,7 @@ - + From 4d56a3c591f3aa4659d498ef9daae042d288a1ff Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 7 Nov 2012 16:22:20 +0100 Subject: [PATCH 09/16] [FIX] Remove icon in Import Invoice button, added Journal Entries button. bzr revid: vta@openerp.com-20121107152220-20k5s5i37bem6gug --- addons/account/account_view.xml | 12 ++++++++++++ addons/account_voucher/account_voucher_view.xml | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 8441c8dbfc9..7931668d6ef 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -680,6 +680,18 @@ + + account.bank.statement.journal.items.form.inherit + account.bank.statement + + + +