231801_test_to_master #1519

Merged
alexm merged 490 commits from 231801_test_to_master into master 2023-05-12 06:29:59 +00:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 8679aefb48 - Show all commits

View File

@ -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();

View File

@ -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`;