Smit Vora
80bc235d6e
fix: partial cancel of gle and ple (backport #35609 )
2023-11-20 10:56:56 +05:30
Deepesh Garg
80774e2da1
fix: GL Entries for receiving non CWIP assets using Purchase Receipt ( #37660 )
...
* fix: GL Entries for receiving non CWIP assets using Purchase Receipt
* fix: rearrange functions
* chore: rearrange functions
* chore: rearrange functions
* fix: Purchase Invoice GL entires for assets
* test: cwip accounting unit tests
* chore: Attribute error
* chore: Purchase Invoice tests
* chore: Missing asset account
* chore: Missing asset account
* chore: update tests
* fix: Internal transfer GL Entries
* test: Deprecate tests
* test: Depricate tests
* test: Depricate tests
* chore: make `Reserve Stock` checkbox visible in SO
* refactor: rename field `Auto Reserve Stock for Sales Order`
* feat: add fields to hold SO and SO Item ref in PR Item
* test: Deprecate tests
* test: Depricate tests
* test: Depricate tests
* refactor: Remove expense included in valuation accounts
* chore: Add back default in transit warehousefield
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-10-25 09:12:27 +05:30
Deepesh Garg
e62ffa990d
fix: Add company filters for account
...
(cherry picked from commit ecca9cb023 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
2023-08-18 07:08:21 +00:00
Gursheen Anand
01ae513f70
fix: dimension name in remark
...
(cherry picked from commit 4f9242d699 )
2023-08-18 07:08:21 +00:00
Gursheen Anand
7ac35b496a
fix: fetch acc dimensions correctly when fieldname is different from name
...
(cherry picked from commit e19a6f5dcb )
2023-08-18 07:08:20 +00:00
Gursheen Anand
2c8c3a022c
fix: divide offsetting amount only when account exists
...
(cherry picked from commit 3a3ffa2307 )
2023-08-18 07:08:19 +00:00
Gursheen Anand
1269f2d301
fix: divide offsetting amount for multiple dimensions
...
(cherry picked from commit 1e1e4b93c1 )
2023-08-18 07:08:19 +00:00
Gursheen Anand
11ba553dbd
fix: dict value for dimension for gl entries defined without the dimension
...
(cherry picked from commit ed3bef1840 )
2023-08-18 07:08:19 +00:00
Gursheen Anand
f578c3219d
fix: make offsetting entry for all doctypes
...
(cherry picked from commit 22ba12172f )
2023-08-18 07:08:18 +00:00
Nabin Hait
ade13e6d36
fix: GL Entries should not be splitted based on cost center allocation in PCV
...
(cherry picked from commit 666d961875 )
2023-07-27 06:03:56 +00:00
Anand Baburajan
5985e02574
fix: validate docs in closed accounting period on save ( #36157 )
2023-07-18 16:40:06 +05:30
mergify[bot]
ebf3c0173e
feat: Closing balance for period closing and reporting ( #34257 )
...
* feat: Introduce opening entry for reporting
(cherry picked from commit 9739d8b52a )
* feat: Introduce opening entry for reporting
(cherry picked from commit b44a19bd1a )
* fix: Add patches to create accounting dimension in Closing Balance
(cherry picked from commit 36c08d0835 )
* feat: Cascade closing balances on PCV submit
(cherry picked from commit c3f39c3f32 )
# Conflicts:
# erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py
# erpnext/patches.txt
* feat: Add views in standard filter
(cherry picked from commit e18336ebe7 )
* chore: Rewrite query using query builder
(cherry picked from commit 7fa7d6b5e4 )
# Conflicts:
# erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py
* feat: Add validations against period closing voucher
(cherry picked from commit f92c63fb10 )
* fix: Order by issue in aggregation query
(cherry picked from commit 6607c8bd82 )
* fix: Add patch to update closing balances
(cherry picked from commit a663df376c )
* fix: Closing balance entries for period closing voucher
(cherry picked from commit 436fc03eda )
* fix: Update patch to generate closing balance entries
(cherry picked from commit 95c9aafda9 )
# Conflicts:
# erpnext/patches.txt
* perf: Apply closing balance in Trial Balance report
(cherry picked from commit e5f603c9d9 )
# Conflicts:
# erpnext/accounts/report/trial_balance/trial_balance.py
* chore: Minor fixes
(cherry picked from commit c089c4156c )
# Conflicts:
# erpnext/patches.txt
* fix: Aggregation with previous closing balance
(cherry picked from commit 4a2046dfb6 )
# Conflicts:
# erpnext/patches.txt
* test: Add static posting dates to tests
(cherry picked from commit 310f71c313 )
* chore: Add index to period closing voucher column
(cherry picked from commit 5dabc98ba5 )
* chore: rename Closing Balance to Account Closing Balance
(cherry picked from commit 3249a79f07 )
* test: Add test case for closing balance
(cherry picked from commit f0267feca8 )
* chore: Use account closing balance in set gl entries
(cherry picked from commit 0157fa15eb )
# Conflicts:
# erpnext/accounts/report/financial_statements.py
* fix: Update patch
(cherry picked from commit 76775a3e49 )
* fix: Account sub query
(cherry picked from commit 7f11373b58 )
* chore: Simplify query
(cherry picked from commit 00fe3042b2 )
# Conflicts:
# erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py
* chore: Add missing validations
(cherry picked from commit 0aadb680eb )
* chore: Remove unnecessary list comprehension
(cherry picked from commit 44053db010 )
# Conflicts:
# erpnext/accounts/report/financial_statements.py
* fix: Ignore opening entries if PCV posted
(cherry picked from commit f9397a87ac )
# Conflicts:
# erpnext/accounts/report/financial_statements.py
* fix: Don't validate if no GL Entry exists
(cherry picked from commit 528ab503f2 )
* chore: Fix Typo
(cherry picked from commit 3fd95200da )
* fix: Validation for cancelation
(cherry picked from commit 30eb6c8512 )
* fix: Partial trial balance view
(cherry picked from commit b7dcf27b01 )
* fix: CS financial statement param
(cherry picked from commit f8cff09129 )
* chore: Improve validation message
(cherry picked from commit 8ce1da111e )
* chore: Resolve conflicts
* chore: Resolve conflicts
---------
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
2023-07-10 18:04:45 +05:30
ruthra kumar
25b37737a2
refactor: checkbox to toggle parent doc cost center preference
...
(cherry picked from commit ebe6787510 )
2023-05-02 08:38:13 +00:00
mergify[bot]
648e979eb2
refactor: Exchange rate revaluation to handle accounts with zero account balance ( #33165 )
...
refactor: Exchange rate revaluation to handle accounts with zero account balance (#33165 )
* refactor: new type for JE - Exchange Gain or Loss
* refactor: skip few validations for Exchanage Gain Or Loss type Jour
* refactor: ERR create 2 journals for handling zero and non-zero compa
1. Additional check box accounts table to identify accounts with zero balance
2. Accounts with zero balance only in either of the 2 currencies will be handled on separate Journal
* refactor: skips few validation for allowing 0 debit/credit
* fix: General Ledger presentaion currency
* test: fix test case in general ledger
* test: fix failing test case in AR report
(cherry picked from commit 914b23038c )
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
2023-01-02 16:37:53 +05:30
Nabin Hait
fd4bcd9f7f
fix: create rounding gl entry for PCV during gle post processing
...
(cherry picked from commit 022d8d5d79 )
2022-11-23 05:07:29 +00:00
Deepesh Garg
89a1c83431
fix: Budget validation for main cost center
...
(cherry picked from commit 4e26d42d17 )
2022-10-31 16:49:31 +00:00
ruthra kumar
a2285d5e5e
fix: remove multiple call to ple creation
...
(cherry picked from commit 4adc372f9a )
2022-09-11 06:51:50 +00:00
Nabin Hait
914a388ee3
test: Added test for PCV cancellation
2022-07-19 14:34:01 +05:30
Nabin Hait
4caaab32d1
perf: Optimization of gl entry processing logic in period closing voucher
2022-07-19 14:33:49 +05:30
ruthra kumar
71f6f78d94
fix: incorrect outstanding for invoice
2022-06-24 13:36:15 +05:30
ruthra kumar
7312f22f35
refactor: update voucher outstanding from payment ledger
...
Outstanding amount is updated from payment ledger, only for
receivable/payable accounts. For remaining account types, update happens
from GL Entry.
2022-06-17 17:57:07 +05:30
ruthra kumar
e888975007
refactor: link payment ledger with gl entry creation
2022-05-20 18:21:47 +05:30
Saqib Ansari
95b059a98c
fix: validate disabled accounts before posting ledger entries
2022-05-11 13:26:15 +05:30
Deepesh Garg
3fa1c63479
test: Unit test for round off entry dimensions
2022-04-25 16:29:26 +05:30
Deepesh Garg
c312cd3725
fix: Check if accounting dimension exists
2022-04-24 18:11:32 +05:30
Deepesh Garg
015812b0b8
fix: Add accounting dimensions for round off GL Entry
2022-04-23 21:40:08 +05:30
Deepesh Garg
0ac11a5b30
fix: First preference to parent cost center rather than round off cost center
2022-04-20 12:18:11 +05:30
Saqib Ansari
bfc34e1084
fix: check for debit credit difference even after round-off adjustment ( #30050 )
2022-04-01 11:03:16 +05:30
Ankush Menat
494bd9ef78
style: format code with black
2022-03-28 18:52:46 +05:30
Saqib Ansari
ad2c64f3ff
fix: debit credit difference case with rounding adjustment
2022-03-01 13:32:34 +05:30
Deepesh Garg
ff57450e77
fix: Replace ORM with query builder
2022-02-06 22:56:12 +05:30
Deepesh Garg
ffec865e00
fix: Make a deep copy of GLE
2022-02-02 17:14:42 +05:30
Deepesh Garg
f1c3bcee1f
fix: Deadlock on making reverse GL Entries
2022-02-02 17:09:34 +05:30
Nabin Hait
5b0ec6437b
fix: sider issues
2022-01-31 18:41:42 +05:30
Nabin Hait
6099af5d00
fix: Fixed test case and sider issues
2022-01-31 17:43:37 +05:30
Nabin Hait
004c1ed094
feat: Split Gl Entry based on cost center allocation
2022-01-31 13:24:18 +05:30
Deepesh Garg
5ba3b28d69
fix(refactor): Advance tds allocation to purchase invoice
2021-11-25 15:42:30 +05:30
Ankush Menat
6098e92ba9
chore: remove utf-8 compat code
2021-11-05 11:16:29 +05:30
Noah Jacob
2bb383b178
fix: not authorized to update entries after freezing accounts ( #27937 )
...
* fix: not authorized to update entries after freezing accounts
* fix: Add test case
* fix(patch): patched to requeue failed reposts(check_freezing_date)
* chore: misc fixes
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
Co-authored-by: Ankush Menat <ankushmenat@gmail.com >
2021-10-13 16:20:08 +05:30
Deepesh Garg
13d2e7b198
fix: Deferred revenue entries post account freezing
...
(cherry picked from commit e2eb72eb5b )
2021-09-30 03:06:00 +00:00
Chillar Anand
915b34391c
chore: Clean up imports ( #27302 )
...
* chore: Added isort to pre-commit config
* chore: Sort imports with isort
* chore: Clean up imports with pycln
* chore: Sort imports with isort
* chore: Fix import issues
* chore: Clean up sider issues
* chore: Remove import errors from flake8 ignore list
* chore: Clean up lint issues
2021-09-02 16:44:59 +05:30
Saqib
9198caa5e7
fix: incorrect gl entry on period closing involving finance books ( #26921 )
2021-08-24 17:26:23 +05:30
Ankush
9152715f90
perf: various minor perf fixes for ledger postings ( #26775 )
...
* perf: only validate if voucher is journal entry
* perf: optimize merge GLE
- Order fields such that comparison will fail faster
- Break out of loops if not matched
* perf: don't try to match SLE if count mismatch
* refactor: simplify initialize_previous_data
* perf: use cache for fetching valuation_method
These are set only once fields
* refactor: simplify get_future_stock_vouchers
* refactor: simplify get_voucherwise_gl_entries
* perf: fetch only required fields for GL comparison
`select *` fetches all fields, output of this function is only used for
comparing.
* perf: reorder conditions in PL cost center check
* perf: reduce query while validating new gle
* perf: use cache for validating warehouse props
These properties don't change often, no need to query everytime.
* perf: use cached stock settings to validate SLE
* docs: update misleading docstring
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2021-08-11 11:17:50 +05:30
Saqib
cceabff6e1
Merge branch 'develop' into pr-item-gl-fix
2021-06-18 11:24:54 +05:30
Saqib Ansari
61675f1a43
fix: purchase receipt gl entries with same item code
2021-06-17 13:05:43 +05:30
Nabin Hait
0950481253
fix: merge conflict
2021-06-15 20:18:06 +05:30
Ankush Menat
9891780f5a
perf(minor): remove unnecessary comprehensions (port #25645 )
2021-06-11 18:40:22 +05:30
Saqib
c6e016e545
fix: wrong round off gl entry posted in case of purchase invoice ( #25775 )
2021-06-04 10:08:22 +05:30
Saqib Ansari
aa4f750d8c
fix: test
2021-04-28 14:42:49 +05:30
Saqib Ansari
3f53b87379
Merge branch 'develop' of https://github.com/frappe/erpnext into round-off-diff-allowance
2021-04-28 14:34:51 +05:30