Skip to content

Commit b8a966f

Browse files
committed
fix(tiny-erp): Properly skipping stock updates only when update_quantity is false on app config
1 parent 3fa4d91 commit b8a966f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apps/tiny-erp/src/integration/import-product-from-tiny.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const importProduct = async (
6464
}
6565

6666
const handleTinyStock = ({ produto: produtoSaldo, tipo }, tinyProduct?: any) => {
67-
if (appData.update_product === false) {
67+
if (appData.update_quantity === false) {
6868
return null;
6969
}
7070
let quantity = Number(produtoSaldo.saldo);

0 commit comments

Comments
 (0)