mergify[bot]
e2f8e02c73
fix: stock qty validation in SCR (backport #42124 ) ( #42224 )
...
* fix: stock qty validation in SCR (#42124 )
(cherry picked from commit 99f2735ad3 )
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.py
* chore: fix conflicts
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-07-08 17:06:23 +05:30
s-aga-r
cd33199da2
fix: reset rate for serial batch supplied items ( #41293 )
2024-05-06 21:37:27 +05:30
mergify[bot]
9d0c1dc46f
fix: validate uom is integer for PR item (backport #41074 ) ( #41076 )
...
* fix: validate uom is integer for PR item
(cherry picked from commit 9a290fdfc9 )
# Conflicts:
# erpnext/controllers/subcontracting_controller.py
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2024-04-18 07:53:33 +05:30
rohitwaghchaure
ebf5f13447
Merge branch 'version-14' into version-14-hotfix
2024-04-16 17:59:35 +05:30
mergify[bot]
4672f59599
fix: Subcontracting Receipt GL Entries (backport #40773 ) (backport #40978 ) ( #40982 )
...
* fix: Subcontracting Receipt GL Entries (backport #40773 ) (#40978 )
* fix: Subcontracting Receipt GL Entries
(cherry picked from commit 9808ae92a4 )
* chore: linter
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
(cherry picked from commit c2c4548cc0 )
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.py
* chore: `conflicts`
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2024-04-12 15:30:27 +05:30
mergify[bot]
c2c4548cc0
fix: Subcontracting Receipt GL Entries (backport #40773 ) ( #40978 )
...
* fix: Subcontracting Receipt GL Entries
(cherry picked from commit 9808ae92a4 )
* chore: linter
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2024-04-12 14:50:12 +05:30
Akhil Narang
4d34b1ead7
refactor(treewide): formatting and ruff fixes, + manually enabled F401
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev >
2024-04-10 17:13:31 +05:30
rohitwaghchaure
ffd04b3960
fix: subcontracting receipt -> alllow to change Batch / Serial Nos (v14) ( #40371 )
...
fix: subcontracting receipt -> alllow to change Batch / Serial Nos
2024-03-11 16:42:13 +05:30
Ankush Menat
4c629d31c6
style: format js files
2024-03-11 11:03:58 +05:30
mergify[bot]
22b442d593
fix: close PO on SCO close (backport #38667 ) ( #38680 )
...
fix: close PO on SCO close
(cherry picked from commit b023e5d6b3 )
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-12-20 09:14:54 +05:30
rohitwaghchaure
fb5090fd3f
fix: not able to cancel SCR with Batch ( #38817 )
2023-12-18 14:11:36 +05:30
mergify[bot]
497049b3fd
fix: incorrect requested quantity for the subcontracting order (backport #38455 ) ( #38471 )
...
* fix: incorrect requested quantity for the subcontracting order
(cherry picked from commit 691e3bb24f )
# Conflicts:
# erpnext/buying/doctype/purchase_order/purchase_order.py
# erpnext/subcontracting/doctype/subcontracting_order/subcontracting_order.py
# erpnext/subcontracting/doctype/subcontracting_order_item/subcontracting_order_item.json
# erpnext/subcontracting/doctype/subcontracting_order_service_item/subcontracting_order_service_item.json
* chore: fix conflicts
* chore: fix conflicts
* chore: fix conflicts
* chore: fix conflicts
---------
Co-authored-by: Rohit Waghchaure <rohitw1991@gmail.com >
2023-11-30 20:53:52 +05:30
mergify[bot]
2908d966b6
fix: exploded items in Subcontracting Receipt (backport #38441 ) ( #38444 )
...
* fix: exploded items in Subcontracting Receipt
(cherry picked from commit 62b4a263f8 )
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-11-30 12:15:52 +05:30
rohitwaghchaure
8e370876cc
fix: incorrect ordered qty for Subcontracting Order ( #38415 )
...
(cherry picked from commit fddf341f44 )
# Conflicts:
# erpnext/controllers/tests/test_subcontracting_controller.py
2023-11-29 06:52:34 +00:00
mergify[bot]
8d4a19cecf
feat: add Supplier Delivery Note field in SCR (backport #38127 ) ( #38155 )
...
* feat: add `Supplier Delivery Note` field in SCR
(cherry picked from commit da80e4dbce )
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.json
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-11-18 18:53:55 +05:30
mergify[bot]
d1a8202624
chore: refetch item images on transaction save (backport #38095 ) ( #38098 )
...
* chore: refetch item images on transaction save (#38095 )
chore: re fetch item images on transaction save
(cherry picked from commit e93a19ffb5 )
# Conflicts:
# erpnext/accounts/doctype/pos_invoice_item/pos_invoice_item.json
# erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json
# erpnext/selling/doctype/quotation_item/quotation_item.json
* chore: fix conflict in pos_invoice_item.json
* chore: fix conflict in sales_invoice_item.json
* chore: fix conflict in quotation_item.json
---------
Co-authored-by: Anand Baburajan <anandbaburajan@gmail.com >
2023-11-14 20:11:23 +05:30
mergify[bot]
e96d5b314a
feat: allow return of components for SCO that don't have SCR created (backport #37686 ) ( #37692 )
...
* feat: allow return of components for SCO that don't have SCR created
(cherry picked from commit 8e3b9ec879 )
* fix: consider returned qty while calculating unsupplied qty
(cherry picked from commit 3290df5593 )
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-10-26 06:14:02 +00:00
Deepesh Garg
80774e2da1
fix: GL Entries for receiving non CWIP assets using Purchase Receipt ( #37660 )
...
* fix: GL Entries for receiving non CWIP assets using Purchase Receipt
* fix: rearrange functions
* chore: rearrange functions
* chore: rearrange functions
* fix: Purchase Invoice GL entires for assets
* test: cwip accounting unit tests
* chore: Attribute error
* chore: Purchase Invoice tests
* chore: Missing asset account
* chore: Missing asset account
* chore: update tests
* fix: Internal transfer GL Entries
* test: Deprecate tests
* test: Depricate tests
* test: Depricate tests
* chore: make `Reserve Stock` checkbox visible in SO
* refactor: rename field `Auto Reserve Stock for Sales Order`
* feat: add fields to hold SO and SO Item ref in PR Item
* test: Deprecate tests
* test: Depricate tests
* test: Depricate tests
* refactor: Remove expense included in valuation accounts
* chore: Add back default in transit warehousefield
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-10-25 09:12:27 +05:30
HENRY Florian
a563fed6dc
fix(ux): move get_route_options_for_new_doc to refresh ( #37092 )
...
fix: move `get_route_options_for_new_doc` to `refresh`
2023-09-16 15:17:26 +05:30
mergify[bot]
11e67c7dc0
refactor: remove Recalculate Rate from SCR Item (backport #36929 ) ( #36931 )
...
* refactor: remove `Recalculate Rate` from SCR Item (#36929 )
(cherry picked from commit cd8ddae7c5 )
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.js
# erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.py
# erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-09-03 19:05:05 +05:30
mergify[bot]
6edfcf4de8
fix: SCR return status (backport #36793 ) ( #36796 )
...
fix: SCR return status (#36793 )
(cherry picked from commit 723563c167 )
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-08-24 10:42:59 +05:30
mergify[bot]
bdfbccd38e
fix: get incoming rate instead of BOM rate (backport #36496 ) ( #36506 )
...
* fix: get incoming rate instead of BOM rate (#36496 )
* fix: get incoming rate instead of BOM rate
* test: add test case for SCR rm rate
(cherry picked from commit 758b31d895 )
# Conflicts:
# erpnext/controllers/subcontracting_controller.py
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-08-06 14:51:23 +05:30
rohitwaghchaure
e55a264e57
fix: conflicts
2023-07-10 17:14:25 +05:30
rohitwaghchaure
79f9785d15
fix: conflicts
2023-07-10 17:13:55 +05:30
Rohit Waghchaure
5d77e3ce05
fix: accepted warehouse and rejected warehouse can't be same
...
(cherry picked from commit d618aaef32 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
# erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
# erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.json
# erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
2023-07-10 08:26:13 +00:00
mergify[bot]
6f50ad685e
feat: allow the partial return of components against SCO (backport #35935 ) ( #35938 )
...
* fix: don't update SCO status to closed until full return
(cherry picked from commit 2f6d56dd62 )
* fix: reduce return qty while calculating transferred qty
(cherry picked from commit 2a60884abc )
# Conflicts:
# erpnext/controllers/subcontracting_controller.py
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-06-29 22:16:53 +05:30
Sagar Sharma
aa7fede0dc
fix(ux): SCR consumed-qty read-only property
...
(cherry picked from commit adf2474d9d )
2023-05-17 10:28:03 +00:00
Sagar Sharma
0575b105d0
refactor(minor): rename function to be more descriptive
...
(cherry picked from commit d6433f803b )
2023-05-15 10:56:51 +00:00
Sagar Sharma
4c8dbeddec
test: add test case
...
(cherry picked from commit e0b22edb2e )
2023-05-15 10:56:51 +00:00
s-aga-r
7c4f83ed60
fix: add item-code filter for SCR supplied-items batch-no
...
(cherry picked from commit e91abbfbe3 )
2023-04-19 13:54:00 +00:00
s-aga-r
99226d3811
fix: Subcontracting Receipt incorrect status
...
(cherry picked from commit a55b818119 )
2023-04-06 08:27:32 +00:00
Rohit Waghchaure
7eccf431fd
fix: consumed qty validation for subcontracting receipt
...
(cherry picked from commit b38fe24090 )
2023-03-01 09:46:22 +00:00
Rohit Waghchaure
d5f6a5d193
fix: incorrect consumed qty in subcontracting receipt
...
(cherry picked from commit 156e45970a )
2023-02-16 09:41:06 +00:00
s-aga-r
72e17e3267
chore: copy item_code to Batch while creating new batch from SCR
...
(cherry picked from commit ffa9c6e4d9 )
2023-02-15 16:10:57 +00:00
s-aga-r
5f6979d444
chore: add Cancelled status in SCO get_indicator
...
(cherry picked from commit 840f9d8987 )
2023-01-24 12:05:08 +00:00
Rohit Waghchaure
ed1aed22c0
fix: not able to change default BOM in the Subcontracting Order
...
(cherry picked from commit 11b2994fe8 )
2023-01-21 06:35:40 +00:00
Rohit Waghchaure
21cf929c7a
fix: local variable 'stock_rbnb' referenced before assignment
...
(cherry picked from commit 1de4742ffb )
2023-01-18 11:07:42 +00:00
s-aga-r
2dfbc6e4eb
fix: zero rm-cost in SCR
...
(cherry picked from commit f70d757b82 )
2023-01-14 17:41:46 +00:00
mergify[bot]
120dca44ad
chore: subcontracting validations (backport #33621 ) ( #33626 )
...
* fix: `ZeroDivisionError: float division by zero` in SCR
(cherry picked from commit 434aa594d5 )
* chore: add row-index in error msgs
(cherry picked from commit 6878f40d1d )
* chore: update error msgs for Subcontracted PO
(cherry picked from commit a0e2a93f3f )
* fix: validate accepted and rejected qty in SCR Item
(cherry picked from commit f028bd6e69 )
* chore: linter
(cherry picked from commit b26e96cdf4 )
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-01-12 20:31:24 +05:30
s-aga-r
71d6f2a490
fix: hide reject-fields in return SCR
...
(cherry picked from commit 7dd7617ec7 )
2022-11-18 09:31:11 +00:00
s-aga-r
f10cceb261
test: fix test cases for supplied-items consumed_qty
...
(cherry picked from commit 369db4eacc )
2022-11-15 09:48:02 +00:00
s-aga-r
0ecb44d40c
Revert "fix: set received_qty before_validate SCR"
...
This reverts commit c447dfaa9c .
(cherry picked from commit 3706a9b4dc )
2022-11-15 09:48:02 +00:00
Sagar Sharma
02bb523210
chore: link SCR Return in SCR Dashboard
...
(cherry picked from commit 47248251e2 )
2022-11-08 16:07:34 +00:00
Sagar Sharma
af60c8f759
fix: linter
...
(cherry picked from commit 5e8a22be24 )
2022-11-07 23:05:58 +05:30
Sagar Sharma
2c5a8c43f6
fix: make consumed_qty editable when backflush based on Material Transfer
...
(cherry picked from commit bf4b012cec )
2022-11-07 17:29:45 +00:00
Sagar Sharma
68229f06d1
fix: make consumed_qty read-only in SCR Supplied Items
...
(cherry picked from commit f8d2e276a5 )
2022-11-07 17:29:45 +00:00
Sagar Sharma
8f78be8525
test: add test case for consumed-qty
...
(cherry picked from commit 4d8da4420e )
2022-11-06 10:48:35 +00:00
Sagar Sharma
e316558286
fix: set received_qty before_validate SCR
...
(cherry picked from commit c447dfaa9c )
2022-11-06 10:48:34 +00:00
Sagar Sharma
0856e65700
test: fix test case
...
(cherry picked from commit 324bfa9fde )
2022-11-05 11:53:50 +00:00
Sagar Sharma
3f79a057e4
fix: make BOM required in SCR Item
...
(cherry picked from commit 760c26e9c0 )
2022-11-05 11:53:50 +00:00