Ankush Menat
e7109c18db
fix: negative qty validation on stock reco cancellation ( #27170 )
...
* test: negative stock validation on SR cancel
* fix: negative stock setting ignored in stock reco
In stock reconcilation cancellation negative stock setting is ignored as
`db.get_value` is returning string `'0'` which is not casted to int/bool
for further logic. This causes negative qty, which evantually gets
caught by reposting but by design this should stop cancellation.
* test: typo and minor refactor
2021-08-26 16:40:45 +05:30
..
2021-08-26 13:12:51 +05:30
2021-08-19 13:43:28 +05:30
2021-08-25 21:33:08 +05:30
2021-08-20 11:09:51 +05:30
2021-08-16 20:38:38 +05:30
2021-08-19 13:43:28 +05:30
2021-08-26 13:12:51 +05:30
2021-08-25 19:18:17 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-26 12:15:49 +05:30
2021-08-19 13:43:28 +05:30
2021-08-24 20:19:22 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-26 13:15:57 +05:30
2021-08-19 13:43:28 +05:30
2021-08-25 20:32:26 +05:30
2021-08-24 20:19:22 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-24 20:19:22 +05:30
2021-08-19 13:43:28 +05:30
2021-08-26 13:27:16 +05:30
2021-08-19 13:43:28 +05:30
2021-08-26 13:12:51 +05:30
2021-08-25 18:26:00 +05:30
2021-08-19 21:10:30 +05:30
2021-08-19 13:43:28 +05:30
2021-08-26 16:40:45 +05:30
2021-08-20 19:09:31 +05:30
2021-08-19 13:43:28 +05:30
2021-08-24 22:10:14 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-19 13:43:28 +05:30
2021-08-17 10:25:49 +05:50
2021-08-19 13:43:28 +05:30
2021-08-24 20:19:22 +05:30
2021-08-25 20:32:26 +05:30