- change status to product history status
This commit is contained in:
parent
74d1e6f422
commit
b0ff71cf41
|
@ -366,9 +366,7 @@ export class ProductService {
|
||||||
'product.currentStatus',
|
'product.currentStatus',
|
||||||
'product.statusHistory',
|
'product.statusHistory',
|
||||||
'history_status',
|
'history_status',
|
||||||
'history_status.deleted_at is NULL'
|
'history_status.deleted_at is NULL and history_status.partner_id = :id_partner and history_status.status = ACTIVE',
|
||||||
)
|
|
||||||
.where(`history_status.partner_id = :id_partner and history_status.status = 'ACTIVE'`,
|
|
||||||
{
|
{
|
||||||
id_partner: user.partner.id,
|
id_partner: user.partner.id,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user