Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplier custom fields error #45279

Closed
wants to merge 3,925 commits into from
Closed
Changes from 6 commits
Commits
Show all changes
3925 commits
Select commit Hold shift + click to select a range
e50847e
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Jan 5, 2025
ca7ed6b
Merge pull request #932 from 8848digital/dec26_jan2
tinadn Jan 6, 2025
292d537
feat: test_sales_invoice_with_update_stock_and_SR_TC_S_027
Barathpalanisamy Jan 6, 2025
4c748dc
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Barathpalanisamy Jan 6, 2025
fe1be09
Merge pull request #926 from 8848digital/test-case-issues
tinadn Jan 6, 2025
5935385
Merge pull request #936 from 8848digital/issue-935
tinadn Jan 6, 2025
bf5c21a
Merge pull request #938 from 8848digital/TC_S_026
tinadn Jan 6, 2025
78fe710
Merge branch 'pre-prod' into TC_S_027
Barathpalanisamy Jan 6, 2025
8e0493a
Merge pull request #944 from 8848digital/issue#927
tinadn Jan 6, 2025
e171baa
Merge pull request #945 from 8848digital/TC_S_027
tinadn Jan 6, 2025
06440e2
fix: refactor TC input for MR
Jan 6, 2025
a02407e
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Jan 6, 2025
556ca08
Merge branch 'pre-prod' into buying_tc_
Jan 6, 2025
1aeb25f
Merge pull request #940 from 8848digital/po_test_case
tinadn Jan 6, 2025
1046143
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Jan 6, 2025
17ef457
refactor: so test case 01-10
shubham-DT Jan 6, 2025
cad1b25
Merge branch 'pre-prod' into buying_tc_
Jan 6, 2025
498dc4c
feat: addes test case TC_ACC_049 and TC_ACC_051 for accounts module.
anandk-spyke-o1 Jan 6, 2025
5627a3d
Merge pull request #947 from 8848digital/test_case_refactor_so_01_to_10
tinadn Jan 6, 2025
1237db7
refactor: fixed conflict
Jan 6, 2025
7ff3ade
refactor: fixed conflict
Jan 6, 2025
daf0318
fix: Procurement Tracker Report is not getting filtered based on comb…
Jan 6, 2025
d296718
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Jan 6, 2025
5875e0e
Using Test data
Abhishek8848 Jan 6, 2025
9f59d85
Merge pull request #931 from 8848digital/testcase_mr1
tinadn Jan 6, 2025
53f7b0e
Merge pull request #942 from 8848digital/po_analysis_report
tinadn Jan 6, 2025
0f8f5dc
Merge pull request #946 from 8848digital/buying_tc_
tinadn Jan 6, 2025
ce6fad0
Merge pull request #948 from 8848digital/test-case-issues
tinadn Jan 6, 2025
06d7c3a
feat: TC_S_030,TC_S_032
Barathpalanisamy Jan 6, 2025
93f771f
Merge pull request #949 from 8848digital/procurement_report
tinadn Jan 6, 2025
7f85462
Merge pull request #951 from 8848digital/test_case_selling_30_32
tinadn Jan 6, 2025
6a18672
refactor: so and si test case 11-25
shubham-DT Jan 6, 2025
9e9a393
Merge branch 'pre-prod' into test_case_refactor_11_to_25
shubham-DT Jan 6, 2025
df83883
feat : developed TC_ACC_31 TC_ACC_32 TC_ACC_33 TC_ACC_34 test cases
ksagar8848 Jan 6, 2025
ede6f13
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
ksagar8848 Jan 6, 2025
197c2b6
Merge pull request #952 from 8848digital/test_case_refactor_11_to_25
tinadn Jan 6, 2025
74ba9d8
Merge pull request #920 from 8848digital/account-tds-test-cases
tinadn Jan 6, 2025
67585fe
feat: added ttest cases of so 28 & 29
shubham-DT Jan 6, 2025
388b556
feat: testcase for material issue related to stock
sibikumarkuppusamy Jan 6, 2025
3e700b5
Added test cases
Abhishek8848 Jan 6, 2025
604ef20
Merge branch 'pre-prod' into new_test_cases
Abhishek8848 Jan 6, 2025
8a35843
feat: test_partial_material_transfer_to_stock_entry
sibikumarkuppusamy Jan 6, 2025
da9a6ed
feat: test_partial_material_transfer_to_stock_entry
sibikumarkuppusamy Jan 6, 2025
9648270
feat: From MR in Buying Module TC
Jan 6, 2025
af06939
Merge branch 'pre-prod' into buying_tc_
Jan 6, 2025
19b7285
feat: Added test case for Accounting dimension TC_ACC_067
anandk-spyke-o1 Jan 7, 2025
a991204
feat: test_create_material_req_issue_to_2stock_entry
sibikumarkuppusamy Jan 7, 2025
9dec9f9
fix: conflict in test mr
sibikumarkuppusamy Jan 7, 2025
dbcf128
feat: Material Request-TC
Jan 7, 2025
9f5ba39
feat: Buying Module -Purchase Order dt
Jan 7, 2025
f1b7d5b
Merge pull request #953 from 8848digital/so_test_case_28_29
tinadn Jan 7, 2025
27e039f
feat: Add a test case for purchase invoice to check the status upon p…
bansodegaurav8848 Jan 7, 2025
8827b3e
Merge pull request #954 from 8848digital/new_test_cases
tinadn Jan 7, 2025
e4bf30a
Merge pull request #957 from 8848digital/test-case-issues
tinadn Jan 7, 2025
e934460
Merge pull request #961 from 8848digital/test_status_pi_to_pe_TC_B_03…
tinadn Jan 7, 2025
e54c239
feat: created new test cases test_mr_to_partial_pi_TC_B_023, test_mr_…
vinod-8848digital Jan 7, 2025
fa4407c
Merge pull request #962 from 8848digital/test_mr_to_partial_pi_TC_B_025
tinadn Jan 7, 2025
8a798a8
feat: developed TC_ACC_034,TC_ACC_035,TC_ACC_110 and TC_ACC_111 test …
ksagar8848 Jan 7, 2025
cc73316
feat: test_material_transfer_pick_list_to_stock
sibikumarkuppusamy Jan 7, 2025
ffb1724
feat: developed TC_ACC_034,TC_ACC_035,TC_ACC_110 and TC_ACC_111 test …
ksagar8848 Jan 7, 2025
c862464
fix: conflict
sibikumarkuppusamy Jan 7, 2025
e090a59
Added DN test case
Abhishek8848 Jan 7, 2025
d95dd20
Added 4 MR test cases
Abhishek8848 Jan 7, 2025
d857f78
feat: added test case of so 33,34,35,36
shubham-DT Jan 7, 2025
580c1f4
feat: TC_S_038,TC_S_039
Barathpalanisamy Jan 7, 2025
3c535ae
feat: testcase for stock reco
sibikumarkuppusamy Jan 7, 2025
591325c
Merge branch 'pre-prod' into buying_tc_
Jan 7, 2025
e672d52
feat: Added test case for Accounts module JV related 50, 52-55
anandk-spyke-o1 Jan 7, 2025
5146e12
feat: test_direct_create_purchase_receipt_and_cancel_TC_SCK_53
sibikumarkuppusamy Jan 8, 2025
0c2baf2
fix: ident
Jan 8, 2025
0eee16e
Merge pull request #968 from 8848digital/TC_SCK_055_058
tinadn Jan 8, 2025
7729f3a
feat: check status of the po after the pi cancel
bansodegaurav8848 Jan 8, 2025
522824b
chores: Testcases added in stock module TC_SCK_072, TC_SCK_073, TC_S…
8848jay Jan 8, 2025
276c63e
Merge pull request #955 from 8848digital/buying_tc_
tinadn Jan 8, 2025
a15c33e
Merge pull request #966 from 8848digital/account-tds-test-cases
tinadn Jan 8, 2025
cf2c880
Merge pull request #967 from 8848digital/TC_SCK_054
tinadn Jan 8, 2025
1ed3aad
Merge pull request #969 from 8848digital/test_case_so_33_to_36
tinadn Jan 8, 2025
17713a0
Merge pull request #970 from 8848digital/TC_S_038_39
tinadn Jan 8, 2025
f8904a4
chore: resolve conflicts
sibikumarkuppusamy Jan 8, 2025
de80d2b
Merge pull request #971 from 8848digital/jv-test-cases
tinadn Jan 8, 2025
44f9d23
Merge pull request #958 from 8848digital/testcase-for-stock-cancel
tinadn Jan 8, 2025
f1eacf4
Merge branch 'pre-prod' into test_status_po_on_pi_cancel_TC_B_038_
bansodegaurav8848 Jan 8, 2025
4110bb9
feat: selling testcase TC_S_075 to TC_S_083
Barathpalanisamy Jan 8, 2025
1299502
feat: new test cases created test_po_to_partial_pr_TC_B_031, test_pur…
vinod-8848digital Jan 8, 2025
8926776
fix: reasolve account issue and done code refactoring
ksagar8848 Jan 8, 2025
c911467
fix: reasolve account issue and done code refactoring
ksagar8848 Jan 8, 2025
89eb600
feat: added test cases for so 36,42,43,44,45
shubham-DT Jan 8, 2025
b9b5e0d
feat: test the status of the pi when pr and pe created from pi with GST
bansodegaurav8848 Jan 8, 2025
2b7477b
Merge pull request #972 from 8848digital/test_po_to_partial_pr_TC_B_031
tinadn Jan 8, 2025
2e0673b
Merge pull request #973 from 8848digital/test_status_po_on_pi_cancel_…
tinadn Jan 8, 2025
b2299e3
Merge pull request #977 from 8848digital/test_case_so_36_42_43_44_45
tinadn Jan 8, 2025
91675dc
Merge pull request #978 from 8848digital/test_cases_check_status_pi_t…
tinadn Jan 8, 2025
55b0afa
Merge pull request #979 from 8848digital/selling_tc_75_to_83
tinadn Jan 8, 2025
654abc2
ref: resolved conflict
ksagar8848 Jan 8, 2025
2cf5ac9
ref: resolved conflict
ksagar8848 Jan 8, 2025
fff3374
remove unwanted code
ksagar8848 Jan 9, 2025
68c8b9c
test: Testcases added in stock module TC_SCK_072, TC_SCK_073, TC_SCK…
8848jay Jan 9, 2025
e3ad49d
test case: Dveloped new test cases TC_ACC_037 and TC_ACC_038
ksagar8848 Jan 9, 2025
a418796
test: validate pr and sr stock after cancel stock reco with fifo item
sibikumarkuppusamy Jan 10, 2025
d8c6236
test: testcase for Quotation to Sales Invoice with Pick List - _TC_S_085
Barathpalanisamy Jan 10, 2025
692740c
test: testcase for Sales Order to Sales Invoice with Pick List - _TC_…
Barathpalanisamy Jan 10, 2025
55289cf
test: validate pr and sr stock after cancel stock reco with moveavg item
sibikumarkuppusamy Jan 10, 2025
8b6f2a5
test: testcase for Sales Order to Sales Invoice with Pick List and al…
Barathpalanisamy Jan 10, 2025
8b29fbe
test: testcase for Sales Order to Sales Invoice with Pick List and on…
Barathpalanisamy Jan 10, 2025
a6715f6
test: testcase for Quotation to MR - _TC_S_084
Barathpalanisamy Jan 10, 2025
5dc1fd3
refactor: in validate pr and sr stock after cancel stock reco
sibikumarkuppusamy Jan 10, 2025
d9ab038
Added test case - create MR, create SE againt MR , then cancelled SE …
Abhishek8848 Jan 10, 2025
3b76a72
test: validate pr and stock reco with moveavg item
sibikumarkuppusamy Jan 10, 2025
6e00dff
refactor: pr and sr stock before and after cancel stock reco with fif…
sibikumarkuppusamy Jan 10, 2025
b31eaaa
test: added test case TC_S_046
shubham-DT Jan 10, 2025
47635c0
refactor: pr and sr stock before and after cancel stock reco with mov…
sibikumarkuppusamy Jan 10, 2025
0a95c83
test: added test case TC_S_047
shubham-DT Jan 10, 2025
6fd6264
refactor: optimized the code creating payment entry
shubham-DT Jan 10, 2025
7a77e79
test: added test case TC_S_048
shubham-DT Jan 10, 2025
0869d9a
test: added test case TC_S_050
shubham-DT Jan 10, 2025
88c7a2c
test: added test case TC_S_051
shubham-DT Jan 10, 2025
af22f4e
test: added test case TC_S_052
shubham-DT Jan 10, 2025
384a418
Merge pull request #992 from 8848digital/testcase-for-stock-cancel
tinadn Jan 10, 2025
6ac440f
Test: create mr, create po against mr and create pi against po
Abhishek8848 Jan 10, 2025
9034e81
fix: errors fixed for TC_S_043,TC_S_044,TC_S_045
shubham-DT Jan 10, 2025
5c75775
test: pos opening and closing entry with linked invoice TC_S_099
Barathpalanisamy Jan 10, 2025
7f0685b
fix: removed projects uses permission from company
vinod-8848digital Jan 10, 2025
23234f8
test: test case for a standalone purchase invoice is fully paid-TC_B_088
bansodegaurav8848 Jan 10, 2025
7af75fc
test: test case for a standalone purchase invoice is partly paid - TC…
bansodegaurav8848 Jan 10, 2025
629c42f
Merge pull request #993 from 8848digital/new_test_material_request
tinadn Jan 10, 2025
c97fd0e
test: test case for a purchase order to create payment request from p…
bansodegaurav8848 Jan 10, 2025
26243a3
Test: create mr, create po against mr, create pi against po with part…
Abhishek8848 Jan 10, 2025
8708983
test: test case for a purchase order to create payment request from p…
bansodegaurav8848 Jan 10, 2025
1a0fd82
refactor: optimized the code creating sales_order with gst
shubham-DT Jan 10, 2025
fb34bf8
Test: create mr, create 2po(half qty in both PO's) against mr , creat…
Abhishek8848 Jan 10, 2025
6af3ac3
test: added test case TC_S_053
shubham-DT Jan 10, 2025
831da48
test: added test case TC_S_058
shubham-DT Jan 10, 2025
2d60c3a
test: test case for a purchase order to po_to_pr_to_pi is PI Paid - T…
bansodegaurav8848 Jan 10, 2025
09c3541
test: test case for a purchase order to po_to_pr_to_pi is PI Partly p…
bansodegaurav8848 Jan 10, 2025
15985b5
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
8848jay Jan 10, 2025
2b6abdc
Test: create mr, create 2PO's(partial qty in both PO's) against mr & …
Abhishek8848 Jan 10, 2025
9ee0d6f
chore: remove commented code
shubham-DT Jan 10, 2025
159911e
test: pos opening and closing entry with cashire and pos profile - TC…
Barathpalanisamy Jan 10, 2025
1ad75e0
Test: Create MR, create PO against MR, create PI against PO, & cancel…
Abhishek8848 Jan 10, 2025
6be8e55
Test: create MR, create PO against mr, create 2 PI's(both half qty) a…
Abhishek8848 Jan 10, 2025
33ef29e
test: pos opening and closing entry with opening amount - TC_S_101
Barathpalanisamy Jan 10, 2025
a3599fe
Merge pull request #995 from 8848digital/test_pick_list
tinadn Jan 10, 2025
67386e5
test: test case for a purchase invoice to check status is paid after …
bansodegaurav8848 Jan 10, 2025
47c697d
Test: create MR, create 2 PO's(half qty in both PO's) against MR , cr…
Abhishek8848 Jan 10, 2025
1bcde6d
Merge pull request #998 from 8848digital/test_pi_standalone_with_gst
tinadn Jan 10, 2025
88c8261
Merge pull request #999 from 8848digital/new_test_material_request
tinadn Jan 10, 2025
00ae651
Merge pull request #1000 from 8848digital/test_po_to_pr_with_gst
tinadn Jan 10, 2025
956d174
Merge pull request #1001 from 8848digital/test_pos_opening_closing_enrty
tinadn Jan 10, 2025
0ab94bd
Merge pull request #994 from 8848digital/so_test_cases_from_TC_S_046
tinadn Jan 10, 2025
9a7b4b7
test: create mr issue and se with batch item check sle gle
sibikumarkuppusamy Jan 10, 2025
12c5dd5
test: create MR, create 2PO's(partial qty in both PO's) against MR , …
Abhishek8848 Jan 10, 2025
c637683
Merge pull request #1003 from 8848digital/test_pi_status_after_advances
tinadn Jan 10, 2025
c5c6ad8
chore: resolved conflicts
sibikumarkuppusamy Jan 10, 2025
f10ae16
test: create mr, create po against mr , create pi against po & return…
Abhishek8848 Jan 10, 2025
b048891
test: create pos invoice with item tax and opening and closing pos en…
Barathpalanisamy Jan 10, 2025
0c29ed7
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Barathpalanisamy Jan 10, 2025
42c5ae3
test: create mr, create po against mr, create 2 pi's(both half qty) a…
Abhishek8848 Jan 10, 2025
38207aa
test: create mr, create 2 po's(half qty in both po's) against mr , cr…
Abhishek8848 Jan 10, 2025
6cd9a26
test: create mr transfer to stock transfer and cancel se check sle
sibikumarkuppusamy Jan 10, 2025
bd8e396
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
sibikumarkuppusamy Jan 10, 2025
bf68f8f
test: create mr, create 2 po's(partial qty in both po's) against mr &…
Abhishek8848 Jan 10, 2025
3acb8f4
test: create mr, create po against mr , create pi against po & return…
Abhishek8848 Jan 10, 2025
d6be275
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
ksagar8848 Jan 10, 2025
02dbfc5
test: create mr, create po against mr, create 2 pi's(both half qty) a…
Abhishek8848 Jan 10, 2025
acacbc4
test: TC_B_056 - test PR with additional discount
vinod-8848digital Jan 12, 2025
b3e3ef2
test: TC_B_057 - test PO with additional discount
vinod-8848digital Jan 12, 2025
de77b3d
fix: commit on erpnext on 2 jan
Jan 13, 2025
69b2696
fix: commit on erpnext on 3 jan
Jan 13, 2025
39c1ccf
fix: commit on erpnext on 4 jan
Jan 13, 2025
2e1751d
fix: commit on erpnext on 6 jan
Jan 13, 2025
f792904
fix: commit on erpnext on 7 jan
Jan 13, 2025
5231144
feat:custom_bank_reconciliation_tool
hrishikesh8848 Jan 13, 2025
b161aa3
fix: commit on erpnext on 8 jan
Jan 13, 2025
a105556
Merge pull request #997 from 8848digital/removed_docperm
tinadn Jan 13, 2025
1c4062d
Merge pull request #1010 from 8848digital/custom_bank_reconciliation_…
tinadn Jan 13, 2025
7032c7c
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
sibikumarkuppusamy Jan 13, 2025
dd3a6ae
fix: resolved issues While saving Payment Entry (advance) against Sal…
Jan 13, 2025
bc0a688
test: Added test case for JE of type Reversal of ITC (TC_ACC_059)
anandk-spyke-o1 Jan 13, 2025
8499d0c
Merge pull request #1013 from 8848digital/issue-991
tinadn Jan 13, 2025
5bff4fa
Merge pull request #975 from 8848digital/account-tds-test-cases
tinadn Jan 13, 2025
003070c
test: Added test case to check JV creation of type Exchange Gain/Loss…
anandk-spyke-o1 Jan 13, 2025
805d071
test: Added test case for JV of type Exchange Rate Revaluation (TC_AC…
anandk-spyke-o1 Jan 13, 2025
6b5bb7b
test: Added test case for JV for type of entry as Deffered Expense (T…
anandk-spyke-o1 Jan 13, 2025
68e6667
test: Added test case for JV of type of entry as Deffered Revenue (TC…
anandk-spyke-o1 Jan 13, 2025
8092b6e
test: Added test case for JV of type of entry as Deffered Revenue (TC…
anandk-spyke-o1 Jan 13, 2025
7369d84
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
Barathpalanisamy Jan 13, 2025
52df032
test: pos invoice with loyalty points and opening and closing entry -…
Barathpalanisamy Jan 13, 2025
6e2137a
test: pos invoice with discount grand total and opening and closing e…
Barathpalanisamy Jan 13, 2025
a2a1285
test: pos invoice with discount net total and opening and closing ent…
Barathpalanisamy Jan 13, 2025
a510d9d
test: pos invoice with terms & conditions and opening and closing ent…
Barathpalanisamy Jan 13, 2025
1a6f94c
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
ksagar8848 Jan 13, 2025
f55ded8
ref: done code refactoring in the test_payment_entry test_purchase_i…
ksagar8848 Jan 13, 2025
8818062
fix: import create_pos_invoice function fix
Barathpalanisamy Jan 13, 2025
41a20a0
test: create repack via bom check sle
sibikumarkuppusamy Jan 13, 2025
a5f7385
fix: Accounts Closing Table does not exists error and item_wise_sales…
rahulgupta8848 Jan 13, 2025
cabc213
test: create and cancel repack via bom check sle
sibikumarkuppusamy Jan 13, 2025
38f2b95
fix: Accounts Closing Table does not exists error and item_wise_sales…
rahulgupta8848 Jan 13, 2025
6a52740
fix: Resolved issue Error while creating Payment order
ksagar8848 Jan 13, 2025
86ddc81
Merge pull request #1004 from 8848digital/new_test_material_request
tinadn Jan 13, 2025
499b02e
Merge pull request #1005 from 8848digital/testcase-for-stock-cancel
tinadn Jan 13, 2025
e3dda83
Merge pull request #1006 from 8848digital/test_pos_si
tinadn Jan 13, 2025
9e97f88
Merge pull request #1008 from 8848digital/additional_discount
tinadn Jan 13, 2025
6dc516d
test: add so test case TC_S_059
shubham-DT Jan 13, 2025
a2418b1
test: add so test case TC_S_060
shubham-DT Jan 13, 2025
836c9fc
Merge pull request #1014 from 8848digital/test-jv
tinadn Jan 13, 2025
4911eed
test: add so test case TC_S_061
shubham-DT Jan 13, 2025
28eb4ff
test: add so test case TC_S_062
shubham-DT Jan 13, 2025
5b418cd
test: add so test case TC_S_063
shubham-DT Jan 13, 2025
39fdfb2
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
ksagar8848 Jan 13, 2025
09b201c
ref: done code refactoring in the test_payment_entry test_purchase_i…
ksagar8848 Jan 13, 2025
23efeb4
test: create mr for purchase and po to pr
sibikumarkuppusamy Jan 13, 2025
d6e7743
test: create mr for purchase to po 2pr with sabb
sibikumarkuppusamy Jan 13, 2025
564c32f
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
sibikumarkuppusamy Jan 13, 2025
c2cd3c6
test: added posting date in both pr
sibikumarkuppusamy Jan 13, 2025
3900d99
feat:custom_bank_reconciliation_tool
hrishikesh8848 Jan 13, 2025
ca2abd4
Merge branch 'commit_2jan_9jan' of https://github.com/8848digital/erp…
tinadn Jan 14, 2025
50c783e
Merge pull request #1012 from 8848digital/commit_2jan_9jan
tinadn Jan 14, 2025
ae1652a
Merge pull request #1021 from 8848digital/custom_bank_reconciliation_…
tinadn Jan 14, 2025
b6815c0
test: create mr, create 2 po's (partial qty in both po's) against mr …
Abhishek8848 Jan 14, 2025
0712c25
test: create mr, create po against mr , create pr against po & return…
Abhishek8848 Jan 14, 2025
10ebaa7
test: create mr, create po against mr, create 2 pr's(both half qty) a…
Abhishek8848 Jan 14, 2025
8526e51
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
tinadn Jan 14, 2025
a862f76
fix: server error on trail balance report
tinadn Jan 14, 2025
cc4a29c
Merge pull request #1024 from 8848digital/1022_error_on_trial_balance
tinadn Jan 14, 2025
64c2a80
test: create mr, create 2 po's(partial qty in both po's) against mr &…
Abhishek8848 Jan 14, 2025
5041512
Merge pull request #1016 from 8848digital/fix_pos_opening
tinadn Jan 14, 2025
b9e957b
Merge pull request #1017 from 8848digital/report_fix
tinadn Jan 14, 2025
09dd176
test: create mr, create 2 po's(half qty in both po's) against mr , cr…
Abhishek8848 Jan 14, 2025
b9ecb95
ref: modify the code of test_payment_entry,test_purchase_invoice,test…
ksagar8848 Jan 14, 2025
74680b0
Merge pull request #1019 from 8848digital/so_test_case_from_59
tinadn Jan 14, 2025
fccb708
resolved conflict
ksagar8848 Jan 14, 2025
26e952b
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
ksagar8848 Jan 14, 2025
69a4cc4
Merge pull request #1020 from 8848digital/testcase-for-stock-cancel
tinadn Jan 14, 2025
7bf2fa3
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
ksagar8848 Jan 14, 2025
8d0bd9b
fix: resolved issue Error while creating Payment order
ksagar8848 Jan 14, 2025
5eed582
Merge pull request #1015 from 8848digital/account-tds-test-cases
tinadn Jan 14, 2025
fd8d6c6
feat: modify bank reco erpnext
hrishikesh8848 Jan 14, 2025
e482e07
Merge pull request #1026 from 8848digital/custom_bank_reconciliation_…
tinadn Jan 14, 2025
c6059cf
Merge pull request #1025 from 8848digital/issue-976
tinadn Jan 14, 2025
4ea1217
Merge pull request #1023 from 8848digital/new_test_material_request
tinadn Jan 14, 2025
a5b2c7f
feat: modify bank reco erpnext
hrishikesh8848 Jan 14, 2025
d6e44df
Merge pull request #1028 from 8848digital/custom_bank_reconciliation_…
tinadn Jan 14, 2025
2e622a3
fix: get withdraw and deposit for erp transaction
hrishikesh8848 Jan 15, 2025
f0b0792
Merge pull request #1033 from 8848digital/custom_bank_reconciliation_…
aasif-patel Jan 15, 2025
53a9a07
fix: budget_variance_report where cost center budget_against was not …
rahulgupta8848 Jan 15, 2025
a9b1921
feat: company filter in material request project field
rahulgupta8848 Jan 15, 2025
c8deb23
Merge pull request #1038 from 8848digital/budget_variance_report
aasif-patel Jan 15, 2025
b7acce9
Merge pull request #1039 from 8848digital/company_filter
aasif-patel Jan 15, 2025
e269453
Merge branch 'pre-prod' of https://github.com/8848digital/erpnext int…
8848jay Jan 15, 2025
1279e23
fix: supplier custom fileds moved from Erpnext to Erpnext_india app
8848jay Jan 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
275 changes: 275 additions & 0 deletions erpnext/stock/doctype/material_request/test_material_request.py
Original file line number Diff line number Diff line change
@@ -3982,6 +3982,281 @@ def test_mr_po_2pi_partial_return_TC_SCK_105(self):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pi.name, 'account': 'Creditors - _TC'},'credit')
self.assertEqual(gl_stock_debit, 500)

def test_create_material_req_to_2po_to_1pr_return_TC_SCK_036(self):
mr = make_material_request()

#partially qty
po = make_purchase_order(mr.name)
po.supplier = "_Test Supplier"
po.get("items")[0].rate = 100
po.get("items")[0].qty = 5
po.insert()
po.submit()

#remaining qty
po1 = make_purchase_order(mr.name)
po1.supplier = "_Test Supplier"
po1.get("items")[0].rate = 100
po1.get("items")[0].qty = 5
po1.insert()
po1.submit()

pr = make_purchase_receipt(po.name)
pr = make_purchase_receipt(po1.name, target_doc=pr)
pr.submit()

bin_qty = frappe.db.get_value("Bin", {"item_code": "_Test Item", "warehouse": "_Test Warehouse - _TC"}, "actual_qty")
sle = frappe.get_doc('Stock Ledger Entry',{'voucher_no':pr.name})
self.assertEqual(sle.qty_after_transaction, bin_qty)
self.assertEqual(sle.warehouse, mr.get("items")[0].warehouse)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 1000)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 1000)

#Return PI's
pr.load_from_db()
from erpnext.controllers.sales_and_purchase_return import make_return_doc
return_pi = make_return_doc("Purchase Receipt", pr.name)
return_pi.submit()

pr.reload()
#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':return_pi.name, 'account': 'Stock Received But Not Billed - _TC'},'debit')
self.assertEqual(gl_temp_credit, 1000)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':return_pi.name, 'account': 'Stock In Hand - _TC'},'credit')
self.assertEqual(gl_stock_debit, 1000)

def test_mr_po_pr_partial_return_TC_SCK_038(self):
mr_dict_list = [{
"company" : "_Test Company",
"item_code" : "_Test Item",
"warehouse" : "Stores - _TC",
"qty" : 10,
"rate" : 100,
},
]

doc_mr = make_material_request(**mr_dict_list[0])
self.assertEqual(doc_mr.docstatus, 1)

doc_po = make_test_po(doc_mr.name)
doc_pr = make_test_pr(doc_po.name)

doc_mr.reload()
self.assertEqual(doc_mr.status, "Received")
doc_pr.load_from_db()
from erpnext.controllers.sales_and_purchase_return import make_return_doc
return_pi = make_return_doc("Purchase Receipt", doc_pr.name)
return_pi.get("items")[0].rejected_qty = -5
return_pi.submit()

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':return_pi.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 500)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':return_pi.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 500)

def test_mr_po_2pr_partial_return_TC_SCK_041(self):
# MR => PO => 2PR => PR return
mr_dict_list = [{
"company" : "_Test Company",
"item_code" : "Testing-31",
"warehouse" : "Stores - _TC",
"qty" : 10,
"rate" : 100,
},
]

doc_mr = make_material_request(**mr_dict_list[0])
self.assertEqual(doc_mr.docstatus, 1)

doc_po = make_test_po(doc_mr.name)
doc_pr = make_test_pr(doc_po.name,received_qty = 5)
doc_pr.submit()

doc_mr.reload()
self.assertEqual(doc_pr.status, "To Bill")

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pr.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 500)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pr.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 500)

doc_pr1 = make_test_pr(doc_po.name)
doc_pr1.items[0].accepted_qty = 5
doc_pr1.submit()

self.assertEqual(doc_pr1.docstatus, 1)
doc_pr1.reload()
self.assertEqual(doc_pr1.status, "To Bill")

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pr1.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 500)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pr1.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 500)

#Return PI's
doc_pr.load_from_db()
from erpnext.controllers.sales_and_purchase_return import make_return_doc
return_pr = make_return_doc("Purchase Receipt", doc_pr.name)
return_pr.get("items")[0].received_qty = -5
return_pr.submit()

doc_pr.reload()

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pr.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 500)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':doc_pr.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 500)

def test_create_mr_to_2po_to_1pr_part_return_TC_SCK_042(self):
mr = make_material_request()

#partially qty
po = make_purchase_order(mr.name)
po.supplier = "_Test Supplier"
po.get("items")[0].rate = 100
po.get("items")[0].qty = 5
po.insert()
po.submit()

#remaining qty
po1 = make_purchase_order(mr.name)
po1.supplier = "_Test Supplier"
po1.get("items")[0].rate = 100
po1.get("items")[0].qty = 5
po1.insert()
po1.submit()

pr = make_purchase_receipt(po.name)
pr = make_purchase_receipt(po1.name, target_doc=pr)
pr.submit()

bin_qty = frappe.db.get_value("Bin", {"item_code": "_Test Item", "warehouse": "_Test Warehouse - _TC"}, "actual_qty")
sle = frappe.get_doc('Stock Ledger Entry',{'voucher_no':pr.name})
self.assertEqual(sle.qty_after_transaction, bin_qty)
self.assertEqual(sle.warehouse, mr.get("items")[0].warehouse)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 1000)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 1000)

#Return PI's
pr.load_from_db()
from erpnext.controllers.sales_and_purchase_return import make_return_doc
return_pi = make_return_doc("Purchase Receipt", pr.name)
return_pi.items.pop(0)
return_pi.items[0].received_qty = -5
return_pi.submit()

pr.reload()
#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock Received But Not Billed - _TC'},'credit')
self.assertEqual(gl_temp_credit, 1000)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock In Hand - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock In Hand - _TC'},'debit')
self.assertEqual(gl_stock_debit, 1000)

def test_create_mr_to_2po_to_2pi_partial_return_TC_SCK_106(self):
mr = make_material_request()

#partially qty
po = make_purchase_order(mr.name)
po.supplier = "_Test Supplier"
po.get("items")[0].rate = 100
po.get("items")[0].qty = 5
po.insert()
po.submit()

#remaining qty
po1 = make_purchase_order(mr.name)
po1.supplier = "_Test Supplier"
po1.get("items")[0].rate = 100
po1.get("items")[0].qty = 5
po1.insert()
po1.submit()

pr = create_purchase_invoice(po.name)
pr.submit()
pr1 = create_purchase_invoice(po1.name)
pr1.submit()

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
recive_account = frappe.db.get_value("Company",mr.company,"stock_received_but_not_billed")
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': recive_account},'debit')
self.assertEqual(gl_temp_credit, 500)
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr1.name, 'account': recive_account},'debit')
self.assertEqual(gl_temp_credit, 500)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Creditors - _TC'}):
payable_act = frappe.db.get_value("Company",mr.company,"default_payable_account")
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': payable_act},'credit')
self.assertEqual(gl_stock_debit, 500)
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr1.name, 'account': payable_act},'credit')
self.assertEqual(gl_stock_debit, 500)

#Return PI's
from erpnext.controllers.sales_and_purchase_return import make_return_doc
return_pi = make_return_doc("Purchase Invoice", pr.name)
return_pi.submit()

pr.reload()

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Stock Received But Not Billed - _TC'}):
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Stock Received But Not Billed - _TC'},'debit')
self.assertEqual(gl_temp_credit, 500)
gl_temp_credit = frappe.db.get_value('GL Entry',{'voucher_no':pr1.name, 'account': 'Stock Received But Not Billed - _TC'},'debit')
self.assertEqual(gl_temp_credit, 500)

#if account setup in company
if frappe.db.exists('GL Entry',{'account': 'Creditors - _TC'}):
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr.name, 'account': 'Creditors - _TC'},'credit')
self.assertEqual(gl_stock_debit, 500)
gl_stock_debit = frappe.db.get_value('GL Entry',{'voucher_no':pr1.name, 'account': 'Creditors - _TC'},'credit')
self.assertEqual(gl_stock_debit, 500)

def get_in_transit_warehouse(company):
if not frappe.db.exists("Warehouse Type", "Transit"):
frappe.get_doc(