Skip to content

Commit

Permalink
merge OCA#436 bso_org_chart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariem ELBERRIRI - BSO committed Oct 9, 2020
2 parents b3e0cf3 + 11618e8 commit 318d275
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Latest (Unreleased)

**Bugfixes**

* #436 bso_org_chart

**Build**

* BSMNT-138 Upgrade postgres dev to prod version (v12)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1415,11 +1415,13 @@ OrgChart.editUI.prototype._addField = function (t, e, r, i) {
return this.replace(new RegExp(t, "g"), e)
}, String.prototype.splice = function (t, e, r) {
return this.slice(0, t) + r + this.slice(t + Math.abs(e))
}, Array.prototype.has = function (t) {
for (var e = 0; e < this.length; e++)
if (this[e] == t) return !0;
return !1
}, "function" != typeof Object.assign && Object.defineProperty(Object, "assign", {
},Object.defineProperty(Array.prototype, 'has', {
get: function (t) {
for (var e = 0; e < this.length; e++)
if (this[e] == t) return !0;
return !1
}
}), "function" != typeof Object.assign && Object.defineProperty(Object, "assign", {
value: function (t, e) {
"use strict";
if (null == t) throw new TypeError("Cannot convert undefined or null to object");
Expand Down
4 changes: 4 additions & 0 deletions odoo/migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -706,3 +706,7 @@ migration:
addons:
upgrade:
- bso_org_chart
- version: 10.46.0
addons:
upgrade:
- bso_org_chart

0 comments on commit 318d275

Please sign in to comment.