ruthra kumar
6e62750c2f
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 >
2026-06-17 08:12:54 +05:30
Nabin Hait
6c1ac51d7a
refactor: convert payment schedule and billing validation to service objects
...
Introduce PaymentScheduleService and BillingValidationService classes so
call sites read PaymentScheduleService(doc).set_payment_schedule() instead
of the opaque self.set_payment_schedule() shim. Removes 15 shim methods
from AccountsController and updates all 11 call sites across the codebase.
2026-05-28 17:13:23 +05:30
Ravibharathi
ad7ddae32f
fix: validate company region in uae vat 201 ( #54899 )
2026-05-19 16:30:07 +05:30
mahsem
e517eeaaa2
feat: danish_bosnian_address_template ( #54093 )
2026-04-24 14:54:37 +02:00
Ravibharathi
1c65cc1088
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
2026-04-19 13:06:15 +05:30
mahsem
1e90b9a148
feat: croatian_address_template ( #53888 )
2026-04-06 15:41:23 +05:30
ruthra kumar
f3148e052c
refactor(test): erpnext testsuite should be primary superclass
2026-03-27 11:00:25 +05:30
Mihir Kandoi
91da450a31
chore: remove unused imports ( #53722 )
2026-03-23 16:39:55 +00:00
ruthra kumar
a91ed14aec
refactor(test): make uae vat audit deterministic
2026-03-18 20:59:38 +05:30
ruthra kumar
96f9fc3484
refactor(test): make uae vat 201 deterministic
2026-03-18 20:59:38 +05:30
ruthra kumar
12ae84401a
refactor(test): remove redundant tearDown, tearDownClass and rollback
2026-03-18 20:59:37 +05:30
ruthra kumar
70059d1ec0
refactor(test): make irs supplier test deterministic
2026-03-18 20:59:37 +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
mergify[bot]
fe85dc10cc
fix(italy): fix e-invoice ScontoMaggiorazione structure and included_in_print_rate support (backport #53334 ) ( #53568 )
...
Co-authored-by: Arturo <tamburro92@users.noreply.github.com >
2026-03-17 22:01:15 +05:30
Mihir Kandoi
bd87a7e612
Revert "fix(regional): rename duplicate Customer fields in Italy setup" ( #53409 )
2026-03-13 07:27:32 +00:00
Solede
c6efc403cd
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 >
2026-03-12 20:25:35 +05:30
diptanilsaha
df6780bf1a
refactor(regional): type annotataions for whitelisted methods
2026-02-28 02:52:03 +05:30
ruthra kumar
b719a6c767
fix: group item wise tax details by tax row ( #51898 )
2026-02-03 21:08:01 +05:30
mahsem
334e8ada30
fix: swedish_address_template
2026-01-24 23:41:30 +01:00
ravibharathi656
57bd1facf5
fix: group item wise tax details by tax row
2026-01-20 12:31:30 +05:30
ljain112
e8510287e3
chore: remove unused imports
2026-01-17 14:45:57 +05:30
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