this my code but not change in view
odoo.define('cust', function (require) {
"use strict";
var core = require('web.core');
var AbstractAction =require('web.AbstractAction');
var progressbar = AbstractAction.extend({ _render: function () {
if (this.$el.hasClass('progress-bar')) { this.$el.css('width',this.field_manager.get_field_value('int')+'%'); }}}); core.action_registry.add('cust', progressbar);})