Hello everyone,
In the Assets module of ERPNext, I’m trying to modify the current depreciation posting process.
Current Process:
Every month, depreciation is calculated for each asset individually, and a separate Journal Entry (JV) is automatically created for each asset.
For example:
- Asset 1: Table → 100 SAR depreciation → Creates 1 JV
- Asset 2: Chair → 50 SAR depreciation → Creates 1 JV
Both assets belong to the same Asset Category: Furniture, but the system still generates two different JVs.
Required Process:
I would like ERPNext to combine depreciation for all assets within the same Asset Category and create a single JV per category per month.
For example:
| Asset | Category | Monthly Depreciation |
|---|---|---|
| Table | Furniture | 100 SAR |
| Chair | Furniture | 50 SAR |
Expected Result → One Journal Entry for “Furniture” category totaling 150 SAR depreciation.
Objective:
Simplify depreciation accounting and avoid multiple small JVs by grouping them by category (and possibly by expense account, accumulated depreciation account, and cost center).
Has anyone implemented or customized this behavior before?
Is there a recommended way (Server Script, Patch, or Custom Depreciation Logic) to achieve combined depreciation JVs by category?
Any guidance, code samples, or configuration tips would be greatly appreciated
Thanks in advance!