- fix list order prod in b2c
This commit is contained in:
parent
c58e3f281b
commit
2e9475e83e
|
@ -292,7 +292,7 @@ export class ProductService {
|
|||
'current_price.partner_id is NULL and current_price.end_date is NULL',
|
||||
)
|
||||
.where(
|
||||
`product.supplier_id = :supplier_id and status_history.status = 'ACTIVE'`,
|
||||
`product.supplier_id = :supplier_id and status_history.status = 'ACTIVE' and status_history.partner_id is NULL`,
|
||||
{
|
||||
supplier_id: supplier,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user