forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support product bundles in picklist (backport frappe#30762) (fr…
…appe#30826) * refactor: misc pick list refactors - make tracking fields read only and no-copy 🤦 - collapse print settings section, most users configure it once and forget about it, not need to show this. - call pick list grouping function directly - use get_descendants_of instead of obscure db function (cherry picked from commit 5c3f901) * test: bundles in picklist (cherry picked from commit 7d56820) # Conflicts: # erpnext/stock/doctype/pick_list/test_pick_list.py * feat: Pick list from SO with Product Bundle (cherry picked from commit 36c5e8a) * refactor: sales order status update - rename badly named variables - support updated packed items (cherry picked from commit e64cc66) # Conflicts: # erpnext/stock/doctype/pick_list/pick_list.py * perf: single update per Sales Order. For each SO item the sales order picking status was being updated, this isn't required and wasteful. (cherry picked from commit c3fc0a4) * feat: back-update min picked qty for a bundle (cherry picked from commit 60bc26f) * refactor: simplify needlessly complicated code (cherry picked from commit 3ddad68) * refactor: groupby using keys instead of int index (cherry picked from commit 277b51b) * refactor: simpler check for non-SO items (cherry picked from commit f574121) * feat: create DN from pick list with bundle items (cherry picked from commit 23cb0d6) * refactor: remove unnecssary vars also remove misleading docstring (cherry picked from commit 25485ed) * fix: round off bundle qty This is to accomodate bundles that might allow floating point qty. (cherry picked from commit 41aa4b3) * feat: transfer picklist stock info to packing list (cherry picked from commit 1ac275c) * test: product bundle fixture (cherry picked from commit ee54ece) * test: test bundle - picklist behaviour (cherry picked from commit 9e60acd) # Conflicts: # erpnext/stock/doctype/pick_list/test_pick_list.py * fix: compare against stock qty while validating Other changes: - only allow whole number of bundles to get picked (cherry picked from commit 8207697) * fix: dont map picked qty and consider pick qty for new PL Co-Authored-By: marination <maricadsouza221197@gmail.com> (cherry picked from commit 47e1a01) * fix(UX): only show pick list when picking is pending [skip ci] (cherry picked from commit 9a8e3ef) * chore: make picked qty read only (cherry picked from commit ebd5f0b) * chore: conflicts and py3.7 compatibilty Co-authored-by: Ankush Menat <ankush@frappe.io>
- Loading branch information
1 parent
b45db34
commit 645ee2d
Showing
11 changed files
with
367 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.