mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[14.0][FIX] account_reconciliation_widget: progressbar width
Some changes in Odoo 14.0 JS execution flow makes setting progressbar width in do_show not working properly
This commit is contained in:
@@ -244,13 +244,14 @@ odoo.define("account.ReconciliationClientAction", function (require) {
|
||||
$pager: this.$pager,
|
||||
};
|
||||
this.renderer.$progress = this.$pager;
|
||||
$(this.renderer.$progress)
|
||||
.parent()
|
||||
.css("width", "100%")
|
||||
.css("padding-left", "0");
|
||||
}
|
||||
},
|
||||
|
||||
on_attach_callback: function () {
|
||||
this._super.apply(this, arguments);
|
||||
$(this.$pager).parent().css("width", "100%").css("padding-left", "0");
|
||||
},
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Private
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user