ruthra kumar
88facb7523
refactor: pass both doctype and name
2025-04-08 15:13:59 +05:30
ruthra kumar
512877ab46
chore: resolve conflicts
2025-04-08 14:34:59 +05:30
Bhavan23
8e2bfc6bcb
fix(accounting): update outstanding amount based on update_outstanding_for_self
...
fix(accounting): against voucher has been already paid show proper message and update update_outstanding_for_self as 1
(cherry picked from commit 222f1834f1 )
# Conflicts:
# erpnext/controllers/accounts_controller.py
2025-04-08 08:59:04 +00:00
venkat102
dda35b8e51
fix: update payment amount if automatically_fetch_payment_terms is enabled
...
(cherry picked from commit 7bf1a39861 )
2025-04-07 05:34:19 +00:00
venkat102
36b951d018
fix(payment term): allocate payment amount when payment term is fetched from order
...
(cherry picked from commit 5618859bd8 )
2025-04-07 05:34:18 +00:00
mergify[bot]
233e0d8049
fix: use grand_total_diff instead of rounding_adjustment in taxes_and_totals (backport #46829 )
...
* fix: use `grand_total_diff` instead of `rounding_adjustment` in `taxes_and_totals`
(cherry picked from commit fd252da6b1 )
* test: ensure correct grand total
---------
Co-authored-by: vishakhdesai <vishakhdesai@gmail.com >
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2025-04-06 09:11:06 +05:30
Vishakh Desai
fb5777cf10
Merge pull request #46812 from vishakhdesai/fix-taxes-and-totals
...
fix: revert resetting `rounding_adjustment`
(cherry picked from commit 3a9dca0563 )
2025-03-31 10:25:00 +00:00
mergify[bot]
06c32993ea
fix: improved rounding adjustment when applying discount (backport #46720 )
...
* fix: improved rounding adjustment when applying discount (#46720 )
* fix: rounding adjustment in apply_discount_amount taxes_and_totals
* refactor: minor changes
* fix: set the rounding difference while calculating tax total in the last tax row and add test case
* fix: failing test case
* fix: made changes in get_total_for_discount_amount in taxes_and_totals
* fix: failing test cases
* fix: changes as per review
* refactor: remove unnecessary use of flt
* refactor: improve logic
* refactor: minor change
* refactor: minor changes
* fix: add a test case for applying discount with previous row total in taxes
* fix: failing test case
* refactor: flatter code, remove `flt` usage for accuracy
---------
Co-authored-by: Vishakh Desai <78500008+vishakhdesai@users.noreply.github.com >
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2025-03-31 15:54:09 +05:30
ljain112
c3447c030a
fix: do not validate if conversion rate is 1 for different currency
...
(cherry picked from commit e8a66d03bc )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
2025-03-25 08:42:17 +00:00
mergify[bot]
90b5f0b7bf
fix: only include submitted docs for internal received quantity validation (backport #46262 ) ( #46303 )
...
fix: only include submitted docs for internal received quantity validation (#46262 )
(cherry picked from commit 88fcdbb81e )
Co-authored-by: Lakshit Jain <108322669+ljain112@users.noreply.github.com >
2025-03-05 13:17:17 +05:30
Diptanil Saha
84432fc035
fix: pos return validation on v14 ( #45859 )
...
fix: pos return validation v-14
2025-02-14 17:11:03 +05:30
barredterra
2ed3bdcc2e
fix: skip warning for free items
...
(cherry picked from commit 772776ad8a )
2025-02-12 09:20:04 +00:00
ruthra kumar
e9d934d378
chore: resolve conflicts
2025-02-03 13:24:27 +05:30
ruthra kumar
620cdc2489
test: exc gain/loss posting date based on configuration
...
(cherry picked from commit 2f3281579a )
# Conflicts:
# erpnext/controllers/tests/test_accounts_controller.py
2025-02-03 07:29:24 +00:00
ruthra kumar
ef6e264887
refactor: only apply configuration on normal payments
...
patch to update default value
(cherry picked from commit b2c3da135e )
# Conflicts:
# erpnext/controllers/accounts_controller.py
# erpnext/patches.txt
2025-02-03 07:29:24 +00:00
ruthra kumar
b8e4d80b4e
chore: resolve conflicts
2025-01-27 16:12:18 +05:30
Sugesh393
9767dc61a6
chore: update variable names for improved readability
...
(cherry picked from commit 36bae55299 )
2025-01-27 16:12:18 +05:30
Sugesh393
2fb1aaa5c3
test: add new unit test for company validation in accounting dimension
...
(cherry picked from commit c94091d68f )
# Conflicts:
# erpnext/controllers/tests/test_accounts_controller.py
2025-01-27 09:24:59 +00:00
Sugesh393
cca5fbd81a
feat: add company level validation for accounting dimension
...
(cherry picked from commit 60efd3e219 )
# Conflicts:
# erpnext/controllers/accounts_controller.py
2025-01-27 09:24:59 +00:00
Diptanil Saha
24dc1bf1a3
fix: resolved pos return setting to default mode of payment instead of user selection ( #45377 ) ( #45436 )
...
* fix: resolved pos return setting to default mode of payment instead of user selection
* refactor: removed console log statement
* refactor: moved get_payment_data to sales_and_purchase_return.py
2025-01-24 22:51:22 +05:30
venkat102
431fa225e3
fix: include pos invoice in modifing key for returned item validation
...
(cherry picked from commit 2936139c79 )
2025-01-21 11:06:02 +00:00
ruthra kumar
f27e35c8f4
Merge pull request #45351 from frappe/mergify/bp/version-14-hotfix/pr-44808
...
feat: Added difference_posting_date field in Sales Invoice Advance and Purchase Invoice Advance (backport #44808 )
2025-01-21 14:48:27 +05:30
ruthra kumar
8764a321c7
chore: resolve conflicts
2025-01-21 12:57:10 +05:30
rs-rethik
49e3865265
fix: update query
...
(cherry picked from commit 854e37c05c )
2025-01-21 06:54:23 +00:00
rs-rethik
33a1da8194
refactor: convert sql query to query builder
...
(cherry picked from commit 2d58e845e6 )
2025-01-21 06:54:23 +00:00
rs-rethik
52309fe0b6
test: add unit test to validate journal entry posting date
...
(cherry picked from commit c14a2d73bf )
# Conflicts:
# erpnext/controllers/tests/test_accounts_controller.py
2025-01-21 06:54:23 +00:00
rs-rethik
0fdd6817a6
feat: use difference_posting_date for journal entry posting_date
...
(cherry picked from commit ff1d040a6e )
2025-01-21 06:54:22 +00:00
Lakshit Jain
667e659e3f
fix: round off tax withholding amount ( #45271 )
...
(cherry picked from commit ada272a29b )
2025-01-17 11:21:09 +00:00
mergify[bot]
f4b7fa8980
feat: validate discount date in payment schedule (backport #44646 ) ( #44726 )
...
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com >
2025-01-09 18:51:27 +01:00
ruthra kumar
fd2a1a0ba0
refactor: use correct method parameters
2024-12-31 17:10:30 +05:30
ruthra kumar
bcd3b36821
chore: resolve conflict
2024-12-31 15:55:03 +05:30
ljain112
cf980a1304
fix: update item_tax_rate in backend
...
(cherry picked from commit de54c0b41f )
# Conflicts:
# erpnext/controllers/taxes_and_totals.py
2024-12-31 10:21:30 +00:00
ruthra kumar
ce7dc5ecb3
chore: resolve conflicts
2024-12-27 13:51:11 +05:30
ruthra kumar
d5f30202b4
refactor: early return is always better
...
validate_advance_entries() has a heavy IO bound operation. Early
return on unwanted cases is always better.
(cherry picked from commit 0589fa7f3e )
# Conflicts:
# erpnext/controllers/accounts_controller.py
2024-12-27 07:54:39 +00:00
Sanket322
cdd3763a8b
fix: clear payment schedule in purchase invoice for is_paid
...
(cherry picked from commit e1fc239f3d )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
# erpnext/controllers/accounts_controller.py
2024-12-27 07:54:38 +00:00
mergify[bot]
744f3457de
fix: purchase return entry issue (backport #44721 ) ( #44736 )
...
fix: purchase return entry issue (#44721 )
(cherry picked from commit 1f5d7072e7 )
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-12-17 14:48:59 +05:30
rohitwaghchaure
4b4d5dfa63
fix: incorrect status of the purchase receipt ( #44689 )
2024-12-13 12:44:03 +05:30
ljain112
bed6dabecb
fix: handle multi currency in common party journal entry
...
(cherry picked from commit e371f68d66 )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
2024-12-02 07:10:05 +00:00
Sagar Vora
f884cf8a5e
perf: reduce queries during transaction save
...
(cherry picked from commit b6b8a06fda )
2024-11-29 19:17:26 +00:00
Sagar Vora
df0dac5610
perf: cache product bundle items at document level ( #44440 )
...
(cherry picked from commit 6de7320ef4 )
2024-11-29 17:22:51 +00:00
ljain112
bd0f11ef4f
fix: validate sales team to ensure all sales person are enabled
...
(cherry picked from commit 548dbb33eb )
2024-11-20 05:11:35 +00:00
Deepesh Garg
3e2fa16d84
feat: Partly billed status in Purchase Receipt ( #39543 )
...
(cherry picked from commit a673220feb )
2024-11-13 12:13:37 +00:00
ruthra kumar
a3c2121870
Merge pull request #43863 from frappe/mergify/bp/version-14-hotfix/pr-43685
...
fix: do not check for payment terms details for return invoices. (backport #43685 )
2024-10-28 15:53:06 +05:30
mergify[bot]
aaae81f7e8
fix: added validation for UOM must be whole number (backport #43710 ) ( #43711 )
...
* fix: added validation for UOM must be whole number (#43710 )
(cherry picked from commit 4fd4a37dc9 )
# Conflicts:
# erpnext/controllers/accounts_controller.py
* chore: fix conflicts
* chore: fix linters issue
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-10-28 15:12:16 +05:30
rohitwaghchaure
a7cc7b28c0
fix: purchase return validation issue ( #43871 )
2024-10-28 15:11:07 +05:30
ljain112
bd34a67871
fix: do not set payment terms for return invoices
...
(cherry picked from commit 8b700eadc7 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
# erpnext/accounts/doctype/sales_invoice/sales_invoice.js
2024-10-28 05:53:54 +00:00
mergify[bot]
5b0a8fd2ce
fix: use correct variable in error message (backport #43790 ) ( #43791 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
fix: use correct variable in error message (#43790 )
2024-10-22 19:43:13 +02:00
Raffael Meyer
411f7c3a2c
refactor: validate_return_against_account ( #43778 )
...
(cherry picked from commit c4faa0e101 )
2024-10-22 11:45:49 +00:00
mergify[bot]
1262c322d1
fix: conversion factor issue (backport #43645 ) ( #43675 )
...
fix: conversion factor issue (#43645 )
(cherry picked from commit a52756f1d4 )
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-10-15 16:08:37 +05:30
rohitwaghchaure
7eac9cc1db
fix: zero incoming rate for delivery note return ( #43642 )
...
(cherry picked from commit 6087a57b0c )
# Conflicts:
# erpnext/stock/doctype/delivery_note/test_delivery_note.py
2024-10-15 06:28:36 +00:00