Browse Source

[FIX] pylint

pull/508/head
Iryna Vyshnevska 6 years ago
parent
commit
e1c2cbbcaf
  1. 4
      account_financial_report_qweb/static/src/js/account_financial_report_qweb_widgets.js

4
account_financial_report_qweb/static/src/js/account_financial_report_qweb_widgets.js

@ -47,7 +47,7 @@ odoo.define('account_financial_report_qweb.account_financial_report_widget', fun
boundLinkMonetary: function (e) {
var res_model = $(e.target).data('res-model');
var res_id = $(e.target).data('active-id');
// check if we call on appropriate element, amount been wrapped in
// Check if we call on appropriate element, amount been wrapped in
// a span by a monetary widget
if (e.target.localName === 'span' ) {
res_model = $(e.target.parentElement).data('res-model');
@ -64,7 +64,7 @@ odoo.define('account_financial_report_qweb.account_financial_report_widget', fun
boundLinkMonetarymulti: function (e) {
var res_model = $(e.target).data('res-model');
var domain = $(e.target).data('domain');
// check if we call on appropriate element, amount been wrapped in
// Check if we call on appropriate element, amount been wrapped in
// a span by a monetary widget
if (e.target.localName === 'span' ) {
res_model = $(e.target.parentElement).data('res-model');

Loading…
Cancel
Save