refs #4713 procs deprecated, originalQuantity deleted
This commit is contained in:
parent
d836874b7c
commit
8679aefb48
|
@ -40,8 +40,7 @@ module.exports = Self => {
|
|||
try {
|
||||
const sale = await models.Sale.findById(saleId, null, myOptions);
|
||||
const saleUpdated = await sale.updateAttributes({
|
||||
originalQuantity: sale.quantity,
|
||||
quantity: quantity
|
||||
quantity
|
||||
}, myOptions);
|
||||
|
||||
if (tx) await tx.commit();
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
DROP PROCEDURE `vn`.`sale_setQuantity`;
|
||||
DROP PROCEDURE `vn`.`collection_updateSale`;
|
||||
DROP PROCEDURE `vn`.`replaceMovimientosMark`;
|
||||
DROP PROCEDURE `vn`.`saleTracking_Replace`;
|
||||
DROP PROCEDURE `vn`.`sale_updateOriginalQuantity`;
|
Loading…
Reference in New Issue