ruthra kumar
65202d2be1
refactor(tests): reuse persistent master data instead of creating company per test
...
Replace per-test company creation in setUp() with persistent master data
from BootStrapTestData. Add Test PCV Company to test_records.json so it
becomes a persistent fixture rather than a throwaway created per test run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 6e62750c2f )
# Conflicts:
# erpnext/accounts/report/financial_ratios/test_financial_ratios.py
2026-06-29 09:41:47 +05:30
mergify[bot]
4015c2b9a4
fix: validate company region in uae vat 201 (backport #54899 ) ( #55055 )
...
Co-authored-by: Ravibharathi <131471282+ravibharathi656@users.noreply.github.com >
fix: validate company region in uae vat 201 (#54899 )
2026-05-19 11:29:17 +00:00
mergify[bot]
5c0d2cb474
feat: danish_bosnian_address_template (backport #54093 ) ( #54516 )
...
feat: danish_bosnian_address_template (#54093 )
(cherry picked from commit e517eeaaa2 )
Co-authored-by: mahsem <137205921+mahsem@users.noreply.github.com >
2026-04-26 21:06:52 +05:30
mergify[bot]
aa2cba9780
fix: validate south africa company in vat audit report (backport #54030 ) ( #54394 )
...
fix: validate south africa company in vat audit report (#54030 )
* fix: validate south africa company in vat audit report
* fix: use qb to get invoice data
* fix: validate company region in south africa vat settings
(cherry picked from commit 1c65cc1088 )
Co-authored-by: Ravibharathi <131471282+ravibharathi656@users.noreply.github.com >
2026-04-19 07:57:13 +00:00
mergify[bot]
ff262655bb
feat: croatian_address_template (backport #53888 ) ( #54058 )
...
Co-authored-by: mahsem <137205921+mahsem@users.noreply.github.com >
2026-04-07 10:25:44 +05:30
ruthra kumar
a8d0fb5ac9
refactor(test): erpnext testsuite should be primary superclass
...
(cherry picked from commit f3148e052c )
2026-03-31 09:32:44 +00:00
ruthra kumar
87de91e5d0
refactor(test): make uae vat audit deterministic
2026-03-19 12:57:11 +05:30
ruthra kumar
67bb6a2d6a
refactor(test): make uae vat 201 deterministic
2026-03-19 12:57:11 +05:30
ruthra kumar
63908ad6dc
refactor(test): remove redundant tearDown, tearDownClass and rollback
2026-03-19 12:57:11 +05:30
ruthra kumar
b8c68be0cb
refactor(test): make irs supplier test deterministic
2026-03-19 12:57:11 +05:30
ruthra kumar
f1dfac417d
refactor: replace IntegrationTestCase with ERPNextTestCase repo-wide
...
- import ERPNextTestSuite
- use it on test class
2026-03-19 12:57:07 +05:30
ruthra kumar
de34cf227a
chore: remove EXTRA_TEST_RECORD_DEPENDENCIES
2026-03-19 11:33:34 +05:30
mergify[bot]
535543d406
fix(italy): fix e-invoice ScontoMaggiorazione structure and included_in_print_rate support (backport #53334 ) ( #53569 )
...
Co-authored-by: Arturo <tamburro92@users.noreply.github.com >
fix(italy): fix e-invoice ScontoMaggiorazione structure and included_in_print_rate support (#53334 )
2026-03-17 22:09:25 +05:30
mergify[bot]
41c59ac165
Revert "fix(regional): rename duplicate Customer fields in Italy setup" (backport #53409 ) ( #53411 )
...
* Revert "fix(regional): rename duplicate Customer fields in Italy setup" (#53409 )
(cherry picked from commit bd87a7e612 )
# Conflicts:
# erpnext/patches.txt
* chore: resolve conflicts
---------
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-03-13 07:48:28 +00:00
mergify[bot]
41bcf96601
fix(regional): rename duplicate Customer fields in Italy setup (backport #50921 ) ( #53398 )
...
* fix(regional): rename duplicate Customer fields in Italy setup (#50921 )
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit c6efc403cd )
# Conflicts:
# erpnext/patches.txt
* chore: resolve conflicts
---------
Co-authored-by: Solede <lorenzo.caldara@gmail.com >
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-03-12 15:22:22 +00:00
ravibharathi656
45e4c04830
fix: group item wise tax details by tax row
...
(cherry picked from commit 57bd1facf5 )
2026-02-03 15:38:48 +00:00
mahsem
cff09b71cc
fix: swedish_address_template
...
(cherry picked from commit 334e8ada30 )
2026-01-25 05:22:41 +00:00
Mihir Kandoi
ca568a01f5
fix: autofixes by semgrep
2026-01-01 21:56:12 +05:30
Mihir Kandoi
30d4d53171
Revert "fix: company creation for Italy country"
2025-12-26 21:38:58 +05:30
Nishka Gosalia
bc784a0e73
fix: company creation for Italy country
2025-12-22 20:23:03 +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
Raffael Meyer
625321ba8a
fix: stop creating transaction logs ( #49383 )
2025-08-29 15:33:07 +00:00
Raffael Meyer
e1cac75f85
fix: add option to disable Transaction Log ( #49342 )
2025-08-27 11:44:03 +00:00
Dany Robert
29c3ef8280
fix: handle case where taxes is added invoice changed to non-export later
2025-08-08 11:01:59 +05:30
Dany Robert
c8940a39b3
chore: code styling
2025-08-08 10:02:35 +05:30
Dany Robert
38471995e7
fix: show message only if no tax is applied
2025-08-08 09:58:16 +05:30
Dany Robert
d25846f383
fix: simplify export determination logic
2025-08-04 15:45:43 +05:30
Dany Robert
1170e4fb2c
fix(regional-uae): restrict zero rated export to invoice
2025-07-28 05:32:04 +00:00
Dany Robert
dc72e6cf36
fix(regional-uae): split export determination
2025-07-21 14:47:14 +00:00
Dany Robert
b8224693c4
fix(regional-uae): mark export items as zero rated
2025-07-21 14:22:05 +00:00
Jeba Jebas
bb62a01c0d
feat: added chart of accounts and tax template for australian localisation ( #48208 )
...
* Add Australian Localisation Setup
* feat: added chart of accounts and tax template for australian localisation
* chore: linter fix
---------
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
2025-07-01 10:11:37 +05:30
Sagar Vora
7a482a6998
chore: use frappe.in_test
2025-06-17 21:28:21 +05:30
Hardik Zinzuvadiya
02bb63a5f7
fix(italy): Add missing tax fields to POS Invoice Item
2025-04-11 12:57:25 +00:00
Marc Ramser
21b8ad6aa5
feat(regional): Address Template for Germany & Add Switzerland Template ( #46737 )
...
* Add Address template for Switzerland
* Fix address template for germany
If an ERPNext instance is set to German and used by a business outside Germany (e.g., in Switzerland or Austria), customer addresses in Germany are displayed in their national format. However, for postal services, the international format (including the country) is required.".
This is just a workaround. IMHO the correct fix would be to check where the company is located and based on that use the national or the international template.
2025-03-31 10:32:36 +02:00
ruthra kumar
3eaa9bfca4
Merge pull request #46508 from ruthra-kumar/use_base_total_for_uae_report
...
fix: use base currency total for UAE VAT 201 report
2025-03-18 10:58:58 +05:30
ruthra kumar
e80129627a
test: report ouput on foreign currency PI
2025-03-14 11:50:16 +05:30
ruthra kumar
46f4babcd0
fix: use base currency total
2025-03-13 14:23:51 +05:30
ruthra kumar
44835126db
Merge pull request #46344 from aerele/e-invoicing-regional-validation
...
fix: make 'company_tax_id' and 'company_fiscal_code' as mandatory
2025-03-11 17:11:26 +05:30
ruthra kumar
121798ba85
chore: translatable strings
2025-03-11 16:55:04 +05:30
Bhavan23
abd044eb0d
fix: make 'company_tax_id' and 'company_fiscal_code' as mandatory
2025-03-05 20:09:21 +05:30
Fab
c5f90c823d
Merge pull request #45840 from gms-electronics/40254-italian-einvoice
...
fix:[regional] Italian einvoice xml generated with wrong prices (#40254 )
2025-03-05 14:45:54 +05:30
Sanket322
746adfd057
refactor: add new line ragardless of postal code
2025-02-20 11:33:53 +05:30
Lakshit Jain
494310293c
fix(regional): removed payment schedule validation in sales invoice for italy ( #45852 )
2025-02-11 14:50:55 +05:30
Raffael Meyer
d92f9330fa
fix: get default stock uom ( #45384 )
...
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2025-01-23 14:32:39 +01:00
David
3732dd1b1f
refactor!: store item wise tax details as a more flexible dict
2024-11-12 12:39:04 +01:00
ruthra kumar
07f8899f80
Merge pull request #43488 from cogk/fix-hide-print-labels-for-terms-and-conditions
...
fix: Hide print labels for Terms and Conditions
2024-10-16 10:45:19 +05:30
David
ed5bead87d
refactor: clarify test record module iface (treewide)
2024-10-10 13:26:26 +02:00
David
9024621231
refactor: Use IntegrationTestCase in multiple files
...
Signed-off-by: David <dgx.arnold@gmail.com >
2024-10-08 01:52:47 +02:00
Corentin Forler
e3b93b7d4b
fix: Hide print labels for Terms and Conditions
2024-10-02 15:02:30 +02:00