Fixed bug causing duplicated url_alias
In some circumstances, OC could have marked an item as Status = Enabled even if QOH = 0 and obsolete. Added control on webERP flag discontinued.