ruthra kumar
f452ad3ce2
Merge pull request #53795 from ruthra-kumar/use_erpnext_testsuite_across_repo
...
refactor(test): enforce ERPNextTestSuite across repo
2026-03-31 15:01:58 +05:30
ljain112
fc8437c499
test: update item-wise tax detail test for high conversion rates
2026-03-30 20:04:53 +05:30
Smit Vora
a18196f584
fix(taxes): improve tax calculation accuracy and update test assertions
2026-03-30 19:37:59 +05:30
ljain112
3449ab063a
fix(tests): update item code and quantity in tax detail test case
2026-03-30 18:37:07 +05:30
ljain112
7f87a5e5c6
fix(taxes): increase rounding threshold for tax breakup calculations
2026-03-30 17:58:47 +05:30
ruthra kumar
d2ee967383
refactor(test): remove AccountsTestMixin from reactivity
2026-03-27 11:56:52 +05:30
ruthra kumar
0b6546ea06
refactor(test): remove AccountsTestMixin from distributed discount
2026-03-27 11:56:30 +05:30
ruthra kumar
f3148e052c
refactor(test): erpnext testsuite should be primary superclass
2026-03-27 11:00:25 +05:30
ruthra kumar
342ce65401
refactor(test): move dimension setup to test data bootstrap
...
and remove create_dimension() and disable_dimension()
2026-03-24 11:57:43 +05:30
ruthra kumar
21b25ce96c
refactor(test): hardcoded names over dynamic
2026-03-18 20:59:38 +05:30
ruthra kumar
5237e58f29
refactor(test): remove explicit call to master data setup
2026-03-18 20:59:38 +05:30
ruthra kumar
e67165d6ce
refactor(test): hardcoded names over dynamic ones
...
Much faster bootstrap without those get_doc calls
2026-03-18 20:59:38 +05:30
ruthra kumar
ed099bcd85
refactor(test): make queries deterministic
2026-03-18 20:59:38 +05:30
ruthra kumar
d81fd25325
refactor(test): make item wise details deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
2eec0f704c
refactor(test): make accounts controller deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
b4245e9353
refactor(test): make subcontracting controller deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
323a3dd573
refactor(test): make test mapper deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
56a5ddae8f
refactor(test): make item wise inventory account deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
a3d8bb8d21
refactor(test): make distributed discount deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
12ae84401a
refactor(test): remove redundant tearDown, tearDownClass and rollback
2026-03-18 20:59:37 +05:30
ruthra kumar
ee8e96dbcf
refactor(test): make subcontracting order deterministic
2026-03-18 20:59:37 +05:30
ruthra kumar
253fbc2a70
refactor: replace all IntegrationTestCase -> ERPNextTestSuite
2026-03-18 20:59:35 +05:30
ruthra kumar
33f4791698
refactor: replace IntegrationTestCase with ERPNextTestCase repo-wide
...
- import ERPNextTestSuite
- use it on test class
2026-03-18 20:59:35 +05:30
ruthra kumar
8eef42d075
chore: remove EXTRA_TEST_RECORD_DEPENDENCIES
2026-03-18 20:59:34 +05:30
Shubh Doshi
ad8c05426e
fix: make ledger entries submittable and cleanup invalid test submissions ( #52921 )
...
* fix: enable submittability for ledger entries and cleanup invalid test submissions
* fix: reverted child table submittability
* fix: added ignore_links flag for back gl entry
* fix: add ignore_links for reconcile,cancelled PLE,cancelled SLE
* fix: update test_recreate_stock_ledgers to use db.delete instead of doc.delete
* chore: temporary test against frappe PR 37009
* fix: make Advance Payment Ledger Entry submittable
* refactor: add extra line for create_shipping_rule
* chore: revert temporary test against frappe PR 37009
* fix: use parent doc save with ignore_validate_update_after_submit for child table updates
* chore: temporary test against frappe PR 37009
* chore: revert temporary test against frappe PR 37009
* fix: use skip_docstatus_validation
2026-03-12 16:27:51 +05:30
Mihir Kandoi
f1ac0376fb
feat: co product by product support ( #52979 )
2026-03-11 14:46:36 +05:30
Smit Vora
56a073955a
test: regional account correctly added to round off accounts
2026-03-09 06:19:42 +05:30
diptanilsaha
e6bebbfe81
test: added the currency key and fixed company
2026-03-07 02:05:54 +05:30
Diptanil Saha
9541cb226d
Merge pull request #52029 from ljain112/fix-inclusive-discount
2026-02-24 16:58:12 +05:30
Mihir Kandoi
058be326f0
Merge pull request #51433 from mihir-kandoi/naming-rule-based-on-posting-date
2026-01-30 17:10:50 +05:30
ljain112
2068299766
fix: prevent precision errors in discount distribution with inclusive tax
2026-01-23 20:30:07 +05:30
ljain112
e8510287e3
chore: remove unused imports
2026-01-17 14:45:57 +05:30
Mihir Kandoi
e2c3d0fa94
test: add test case
2026-01-16 14:52:49 +05:30
Rohit Waghchaure
20320c4a6c
perf: SABB taking time to save the record
2026-01-06 18:47:35 +05:30
Sudharsanan11
f6a96e5563
test(accounts): add validation test for dispatch address with drop ship enabled
2025-12-12 13:14:40 +05:30
Diptanil Saha
9f599ee52d
Merge pull request #50372 from aerele/validate-company-linked-address-field
2025-12-02 20:14:06 +05:30
Akhil Narang
1cf9f903e5
fix: adapt to query builder
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev >
2025-11-19 21:36:37 +05:30
Lakshit Jain
91f3c82bdf
feat!: Item Wise Tax Details Table ( #48692 )
...
* fix: Add `Item Wise Tax Detail` Table and update related doctypes
* fix: remove setting item_wise_tax_details in client side
* fix: Remove redundant code for updating item_wise_tax_details after rename
* fix: Add 'dont_recompute_tax' field to Item Wise Tax Detail
* fix: update item_wise_tax_details after validations
* chore: remove redundant code from payment_entry.js
* fix: changes in POS for item_wise_tax_details
* fix: handle merge taxes
* fix: update test case and fix precision issue
* chore: remove debugging statement
* chore: remove redundant import
* chore: linters
* chore: remove redundant code and minor refactor
* fix: correct function args
* fix: fix test cases
* fix: item wise sales register report
* fix: remove dont recompute from item wise tax details and calculation for deduct
* fix: do not retain old rows
* fix: added validation for item wise tax details
* fix: tax merging for pos
* fix: vat audit report(regional report)
* fix: query issue in item-wise sales register
* fix: set other_charges using temp object
* fix: precision issue in validation
* fix: changes as per failing test cases
* fix: tax merging
* fix: set no_copy for item wise tax detail
* fix: correct select field in query and other charged in item_wise_purchase_register
* fix: do not include rows with missing item or tax in merge_taxes
* fix: respect row wise rounding
* chore: remove unused import
* chore: incorrect tuple creation
* fix: handle rounding adjustment
* fix: currency option in item wise tax detail doctype
* fix: patch to migrate item_wise tax_details to table
* chore: remove item_wise_tax_detail from taxes table
* fix: use base_tax_withholding_net_total instead of tax_withholding_net_total
* fix: implemet item_wise_tax_detail for e-invoice (italy)
* fix: fetch document by doctypes in migration patch
* fix: fix multiple syntax errors and inconsistent variable usage
* fix: remove deprecated settings and update item wise tax details flag
* fix: enhance validation for item wise tax details and handle discrepancies
* fix: increase chunk size for migration and improve item-wise tax detail calculations
* fix: delete existing item-wise tax details to prevent duplicates during migration
* fix: remove unnecessary docstatus filter from tax details query
* fix: streamline validation checks in item wise tax details adjustment
* fix: update additional fields to reference item and invoice attributes in tax detail queries
* fix: Restrict tax query to the selected invoices in vat audit report
* fix: use `base_tax_withholding_net_total` for calculation in patch
* fix: set tax row_id and idx to None instead of empty strings
* fix: remove unused precision parameter from rounding differences handler
* fix: update docstatus in item_wise_tax_details as per doc
* fix: remove empty on_update method from SalesOrder class
* fix: remove empty on_update method from PurchaseOrder class
* fix: incorporate zero cutoff in tax calculation logic
* fix: increase threshold for rounding diff
2025-11-17 19:02:31 +05:30
Mihir Kandoi
e5e26cd92a
feat: phantom bom ( #50351 )
...
* feat: add phantom bom settings in bom doctype
* feat: new explosion logic for production plan, subcontracting and work order/manufacturing
* feat: modify explosion logic in reports and bom creator
* fix: failing test
* feat: add convert to phantom item support in bom creator
* test: added test cases
* fix: always fetch rm rate if phantom bom
* refactor: PP phantom explosion logic
* fix: report test cases
* feat: add phantom item in description of item if phantom item in bom tree
* fix: hide create button if bom is phantom
* fix: bugs found by coderabbit
2025-11-16 15:08:08 +05:30
Mihir Kandoi
9b303a2272
Merge pull request #50235 from mihir-kandoi/sre-sco
...
feat: stock reservation for subcontracting order
2025-11-16 13:06:21 +05:30
Pugazhendhi Velu
e64b6db2eb
test: add minimal test case
2025-11-11 13:18:05 +00:00
Pugazhendhi Velu
7fddbb6dc4
Merge branch 'develop' of https://github.com/frappe/erpnext into validate-company-linked-address-field
2025-11-11 11:44:41 +00:00
Sagar Vora
7fb4d67662
Merge pull request #50155 from sagarvora/discount-mapping
2025-11-11 15:01:58 +05:30
Pugazhendhi Velu
e10007c646
test: add test for company linked address fields
2025-11-05 15:02:57 +00:00
Rohit Waghchaure
076407ad70
test: test cases for item wise inventory account
2025-10-24 10:08:44 +05:30
Rohit Waghchaure
74192547ce
feat: enable item wise inventory account
2025-10-23 22:41:04 +05:30
Sagar Vora
0e026b9ccd
fix: handle returns as well
2025-10-17 19:21:24 +05:30
Sagar Vora
0968f435d2
test: some tests to ensure correct discount mapping
2025-10-17 17:32:16 +05:30
Mihir Kandoi
f2b948a483
feat: subcontracting inward ( #47728 )
...
* feat: subcontracting inward
* feat: stock reservation
* feat: subcontracting delivery
* feat: all remaining stuff
* fix: linter errors
* fix: patch
* fix: modify stock entry type validation
* fix: customer provided item cost field mandatory validation
* fix: failing tests
* fix: failing tests
* fix: subcontracting controlller
* refactor: semi final
* refactor: final
* chore: resolve conflicts
* refactor: changes requested
* fix: reservation transfer of extra qty
* fix: consider add cost for customer provided rate field
* test: create test data
* test: subcontracted sales order (partial)
* test: fin
* fix: do not add self RM in DN created from SI
* fix: failing test case
* fix: conflicting function name
* refactor: final changes
* fix: more bugs
* perf: various and major performance improvements
* fix: consider warehouse as well in all queries
* fix: same item code with diff warehouse in manufacture entry
* refactor: readability
* fix: frontend validations
* perf: replace query inside loop with single query
* fix: set additional item flag to true when extra customer provided item is received
* fix: bugs found by coderabbit
* fix: more coderabbit bugs
* fix: add validation to disallow cancellation of manufacturing entry
* perf: use cached values wherever it makes sense
* test: fix redundant insert to child tables
* fix: consider SI return of billed self RM
* fix: bug found by coderabbit
---------
Co-authored-by: Mihir Kandoi <mihirkandoi@Mihirs-MacBook-Air.local >
2025-10-14 15:00:49 +05:30
Rohit Waghchaure
6e597b9c42
feat: service expense account in the subcontracting receipt
2025-09-26 19:45:17 +05:30