brotherton-erpnext/erpnext
Ankush Menat 80f1a8c645
fix: incorrect logic for "Reserved Qty for Production" (#28880)
* fix: reservation for production incorrect

The query uses case to decide what fields to compute reservation on,
this case is outermost case hence the very first Work order's "Skip
transfer" is considered for ALL work orders.

Solution: move the case inside Sum.

Steps to reproduce:
1. Make work order for more than 1 qty (with | without skip transfer)
2. Create manufacture and transfer entries.
3. Keep checking reserved quantities during this process.

* test: use default warehouse for testing reservation
2021-12-14 17:02:42 +05:30
..
accounts fix: validate if asset account is set against company 2021-12-13 20:13:53 +05:30
agriculture chore: remove all six compat code 2021-11-05 11:16:29 +05:30
assets Merge pull request #28677 from GangaManoj/fix-adjust-asset-value 2021-12-13 21:51:09 +05:30
buying feat: added required_date field to set date in child table (#28432) 2021-12-14 12:12:33 +05:30
change_log
commands chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
communication chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
config chore: remove all six compat code 2021-11-05 11:16:29 +05:30
controllers fix: misleading "Set Default X" fields after saving (#28798) 2021-12-09 17:04:00 +05:30
crm Merge pull request #28839 from ankush/migration_hashes 2021-12-13 11:27:27 +05:30
demo chore: remove all six compat code 2021-11-05 11:16:29 +05:30
domains chore: remove all six compat code 2021-11-05 11:16:29 +05:30
education fix: Use get_all instead of get_list for child doctype (#28538) 2021-11-26 13:24:32 +05:30
erpnext_integrations Merge pull request #28839 from ankush/migration_hashes 2021-12-13 11:27:27 +05:30
hotels chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
hr fix: tests 2021-12-12 23:20:04 +05:30
loan_management chore: remove all six compat code 2021-11-05 11:16:29 +05:30
maintenance fix: Maintenence Visit -Purpose (item ) tables is not visible on submitted or saved entries (#28792) 2021-12-08 14:48:19 +05:30
manufacturing fix: incorrect logic for "Reserved Qty for Production" (#28880) 2021-12-14 17:02:42 +05:30
non_profit chore: remove all six compat code 2021-11-05 11:16:29 +05:30
patches Merge pull request #28832 from deepeshgarg007/ksa_e_invoice_patch_fix 2021-12-14 12:47:58 +05:30
payroll Merge pull request #28845 from ruchamahabal/fix-salary-slip-timesheet 2021-12-14 14:57:21 +05:30
portal chore: remove all six compat code 2021-11-05 11:16:29 +05:30
projects Merge pull request #28845 from ruchamahabal/fix-salary-slip-timesheet 2021-12-14 14:57:21 +05:30
public Merge pull request #28550 from nextchamp-saqib/fix-sla 2021-12-13 10:29:56 +05:30
quality_management chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
regional Merge pull request #28783 from nextchamp-saqib/hsn-wise-summary-report-fix 2021-12-13 22:39:32 +05:30
restaurant chore: remove all six compat code 2021-11-05 11:16:29 +05:30
selling fix: misleading "Set Default X" fields after saving (#28798) 2021-12-09 17:04:00 +05:30
setup Merge branch 'develop' into exit-interview 2021-12-07 16:23:31 +05:30
shopping_cart fix: specify fields to be set in Lead (#28288) 2021-11-09 15:49:32 +05:30
startup feat: CRM Settings (#27788) 2021-12-06 13:52:00 +05:30
stock fix: incorrect logic for "Reserved Qty for Production" (#28880) 2021-12-14 17:02:42 +05:30
support fix: indentation 2021-12-06 19:19:34 +05:30
telephony chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
templates chore: remove all six compat code 2021-11-05 11:16:29 +05:30
tests test: timeout certain tests in work order to avoid stuck tests (#28666) 2021-12-01 16:34:05 +05:30
translations fix: wrong german translation of abbreviation PAN 2021-12-09 11:31:25 +05:30
utilities fix: misleading "Set Default X" fields after saving (#28798) 2021-12-09 17:04:00 +05:30
www Delete __init__.py 2021-11-27 23:16:34 +00:00
__init__.py chore: correct __version__ on develop branch. (#28582) 2021-11-26 16:29:21 +05:30
.stylelintrc
exceptions.py chore: remove all six compat code 2021-11-05 11:16:29 +05:30
hooks.py Merge pull request #28550 from nextchamp-saqib/fix-sla 2021-12-13 10:29:56 +05:30
modules.txt
patches.txt fix: reorder patch to fix custom field options (#28866) 2021-12-14 13:03:53 +05:30