Deepesh Garg
1fe608ea23
Merge branch 'version-13' of https://github.com/frappe/erpnext into enterprise-hotfix
2022-03-11 16:55:03 +05:30
mergify[bot]
a12a3bd441
fix: dont fetch entire barcode table in get_item_details ( #30131 ) ( #30135 )
...
(cherry picked from commit 64905188c4 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-09 15:38:38 +05:30
Deepesh Garg
7452b8572e
Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into pre_release
2022-03-07 18:07:42 +05:30
Saqib Ansari
131158a24c
feat: update ordered qty for packed items
...
(cherry picked from commit 8005fee656 )
# Conflicts:
# erpnext/selling/doctype/sales_order/sales_order.js
2022-03-06 07:40:50 +00:00
mergify[bot]
8ef1f679f7
chore: get stock reco qty from SR instead of SLE ( #30059 ) ( #30060 )
...
[skip ci]
(cherry picked from commit 55a966ec41 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-03-02 14:50:54 +05:30
Ankush Menat
95f30ada7b
fix: resolve conflicts
2022-03-02 14:08:57 +05:30
Ankush Menat
a1c3e9aef9
revert "fix: FIFO valuation in case of multi-item entries"
...
This reverts commit b8ee193d1a .
This is huge performance regression for large docs.
(cherry picked from commit 701878f60b )
2022-03-02 14:08:57 +05:30
Ankush Menat
9fc0da1688
test: repack FIFO rates
...
(cherry picked from commit 2f71c5bcca )
2022-03-02 14:08:57 +05:30
Ankush Menat
bb58c49aef
fix: FIFO valuation in case of multi-item entries
...
(cherry picked from commit ccd2ce56b1 )
2022-03-02 14:08:57 +05:30
Ankush Menat
a84e7c633e
test: FIFO transfer for multi-batch transaction
...
(cherry picked from commit b3b7cdfb49 )
# Conflicts:
# erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py
2022-03-02 14:08:57 +05:30
Ankush Menat
5be64c2b7f
docs: explain make_sl_entries arguments
...
(cherry picked from commit eb8495a401 )
2022-03-02 13:30:20 +05:30
Ankush Menat
5ebfb65b42
fix: ignore serial no during landed cost voucher
...
(cherry picked from commit efc4b943f8 )
2022-03-02 13:30:20 +05:30
Ankush Menat
cdafed1092
test: fix flaky bin value test
...
(cherry picked from commit 5d85b35f41 )
2022-03-02 12:35:26 +05:30
Deepesh Garg
ab69cb7b76
Merge pull request #30014 from frappe/mergify/bp/version-13-hotfix/pr-29978
...
fix: Commission not applied while making Sales Order from Quotation (backport #29978 )
2022-03-01 18:19:10 +05:30
Ankush Menat
5f4965022f
fix: track changes on warehouse
...
(cherry picked from commit d22a1d440c )
2022-03-01 13:11:49 +05:30
Ankush Menat
45ba50036f
fix: track changes on warehouse
...
(cherry picked from commit d22a1d440c )
2022-03-01 13:11:35 +05:30
Deepesh Garg
bce4ca9390
fix: Commission not applied while making Sales Order from Quotation
...
(cherry picked from commit 0373914704 )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json
2022-02-28 07:35:04 +00:00
mergify[bot]
5d69a182f6
fix(ux): make "allow zero valuation rate" readonly if "s_warehouse" is set ( #29681 ) ( #30002 )
...
* chore: make allow zero valuation rate readonly if s_warehouse is set
* fix: setting the checkbox to zero whenever the source warehouse is set
* fix: remove allow_on_submit and refresh trigger
Co-authored-by: Ankush Menat <ankush@frappe.io >
(cherry picked from commit 77ffcd3aed )
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-02-26 12:12:10 +05:30
marination
34e0b85d6a
fix: Check if both old and new items have bundles before merging
...
- If only one has bundle against it, they can be merged
(cherry picked from commit a33f04ea41 )
2022-02-23 11:30:04 +00:00
marination
e0ed91433b
test: Item Merging with Product Bundles
...
(cherry picked from commit 530f9f7029 )
2022-02-23 11:30:04 +00:00
marination
5d1b7ec61d
fix: Block merging items if both have product bundles
...
(cherry picked from commit 28cc2dbb72 )
2022-02-23 11:30:04 +00:00
mergify[bot]
cdcd60a1ea
chore: Rollback after each test, due to premature commit via remove_user_permission (backport #29964 ) ( #29967 )
...
* chore: Rollback after each test, due to premature commit via `remove_user_permission`
- `remove_user_permission` in `test_warehouse_user` calls delete_doc that enqueues dynamic link deletion
- Execution of background job eventually commits
- While in the test suite it runs sequentially in the same thread and commits whatever was done until then
- Which is why the rollback in `tearDownClass` is quite useless here
- This premature commit causes many illegal transactions caught by `assertRaises` to be committed in the db
- This creates faulty/dirty ledgers and breaks reports, as outiside the test suite this shouldn't/wouldn't happen
- Rollback after each test, and for `test_warehouse_user` in particular, manually cancel transaction
(cherry picked from commit bf8743713d )
# Conflicts:
# erpnext/stock/doctype/stock_entry/test_stock_entry.py
* test: Make Variant if absent in `test_variant_work_order`, keep test atomic
(cherry picked from commit 5ff3705872 )
* fix: Merge conflicts
Co-authored-by: marination <maricadsouza221197@gmail.com >
2022-02-23 16:09:37 +05:30
Ankush Menat
37ba3666ac
fix: reset stock value if no qty
2022-02-23 14:03:07 +05:30
Ankush Menat
6d354edb6b
refactor: code duplication for fallback rates
2022-02-23 14:03:07 +05:30
Ankush Menat
982476d684
chore: batch flag and consumption rate in invariant report
2022-02-23 14:03:07 +05:30
mergify[bot]
807997c6ec
fix: remove customer field value when MR is not customer provided ( #29938 ) ( #29941 )
...
(cherry picked from commit 7f55226a58 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-02-22 18:20:59 +05:30
Ankush Menat
9adbaaea4a
fix: round off increments in numeric item variant
...
(cherry picked from commit 00e8565868 )
2022-02-21 17:44:41 +05:30
Marica
920a99ee76
Merge pull request #29877 from frappe/mergify/bp/version-13-pre-release/pr-29816
...
fix: Stock Ageing Transfer Bucket logic for Repack Entry with split batch rows (backport #29816 )
2022-02-18 20:02:17 +05:30
Marica
52aedcf8c4
Merge pull request #29876 from frappe/mergify/bp/version-13-hotfix/pr-29816
...
fix: Stock Ageing Transfer Bucket logic for Repack Entry with split batch rows (backport #29816 )
2022-02-18 19:34:35 +05:30
marination
8dbe953b8f
fix: Update SO via Work Order made from MR (attached to SO)
...
- Add SO Item reference in WO from MR (that was made from SO)
(cherry picked from commit 18731622c4 )
(cherry picked from commit bb119c8e52 )
2022-02-18 13:51:10 +00:00
marination
113222628b
test: Negative Stock, over consumption & over production with split rows, balance precision
...
(cherry picked from commit d5be536740 )
2022-02-18 13:50:36 +00:00
marination
ae7aead4d0
fix: Range Qty precision
...
(cherry picked from commit ed4a6c6cc6 )
2022-02-18 13:50:36 +00:00
marination
4126e42ae7
fix: Precision of available qty and negative stock in transfer bucket
...
- Maintain only positive values in transfer bucket
- Use it to neutralize/add stock to fifo queue
(cherry picked from commit d3fbbcfed3 )
2022-02-18 13:50:36 +00:00
marination
51af328a53
chore: Add transfer bucket working to .md file
...
(cherry picked from commit f6233e77c6 )
2022-02-18 13:50:35 +00:00
marination
06758e53fd
test: Stock Ageing FIFO buckets for Repack entry with same item
...
(cherry picked from commit ea3b7de867 )
2022-02-18 13:50:35 +00:00
marination
cb4e6b9221
fix: Transfer Bucket logic for Repack Entry with split batch rows
...
(cherry picked from commit 799671c748 )
2022-02-18 13:50:35 +00:00
Marica
f958956322
Merge pull request #29825 from frappe/mergify/bp/version-13-hotfix/pr-29803
...
fix: Update SO via Work Order made from MR (attached to SO) (backport #29803 )
2022-02-18 19:20:12 +05:30
marination
88ca371887
test: Negative Stock, over consumption & over production with split rows, balance precision
...
(cherry picked from commit d5be536740 )
2022-02-18 13:49:09 +00:00
marination
fde5a9e6f7
fix: Range Qty precision
...
(cherry picked from commit ed4a6c6cc6 )
2022-02-18 13:49:09 +00:00
marination
c66b5752e2
fix: Precision of available qty and negative stock in transfer bucket
...
- Maintain only positive values in transfer bucket
- Use it to neutralize/add stock to fifo queue
(cherry picked from commit d3fbbcfed3 )
2022-02-18 13:49:08 +00:00
marination
cab05dbefb
chore: Add transfer bucket working to .md file
...
(cherry picked from commit f6233e77c6 )
2022-02-18 13:49:08 +00:00
marination
690ae52a8e
test: Stock Ageing FIFO buckets for Repack entry with same item
...
(cherry picked from commit ea3b7de867 )
2022-02-18 13:49:08 +00:00
marination
d86e63e22d
fix: Transfer Bucket logic for Repack Entry with split batch rows
...
(cherry picked from commit 799671c748 )
2022-02-18 13:49:07 +00:00
Ankush Menat
fb0167ffc6
test: putaway rule re-application shouldn't do anything
...
(cherry picked from commit d9fc3f3d90 )
2022-02-17 12:47:44 +05:30
Ankush Menat
90f2cfd102
fix: avoid updating items table if no change due to putaway
...
(cherry picked from commit b000e93744 )
2022-02-17 12:47:44 +05:30
marination
bb119c8e52
fix: Update SO via Work Order made from MR (attached to SO)
...
- Add SO Item reference in WO from MR (that was made from SO)
(cherry picked from commit 18731622c4 )
2022-02-16 08:35:09 +00:00
marination
2bcc77583a
fix: Trim spaces from attributes (multi-variant creation) & explicit method for building cache
...
- Multiple Item Variants creation fails due to extra spaces in attributes from popup. Clean them before passing to server side
- Mention explicit method to build variants cache to avoid ambiguity between old method path (pre-refactor)
(cherry picked from commit a64228741d )
(cherry picked from commit ca8986028d )
2022-02-16 08:33:43 +00:00
marination
ca8986028d
fix: Trim spaces from attributes (multi-variant creation) & explicit method for building cache
...
- Multiple Item Variants creation fails due to extra spaces in attributes from popup. Clean them before passing to server side
- Mention explicit method to build variants cache to avoid ambiguity between old method path (pre-refactor)
(cherry picked from commit a64228741d )
2022-02-16 08:10:00 +00:00
Rohit Waghchaure
01356031bb
chore: Merge branch 'version-13-hotfix' into 'version-13-pre-release'
2022-02-15 15:14:10 +05:30
marination
e9ef1cbd3d
test: Cover back to back recos from different warehouses
...
(cherry picked from commit f221a0d253 )
2022-02-14 17:35:38 +00:00