ruthra kumar
e9bf74e589
fix: remove return pos from pos reconciliation tool
2022-09-20 16:41:28 +05:30
Sagar Sharma
2fca8b541e
Merge pull request #32261 from frappe/mergify/bp/version-13-hotfix/pr-32250
...
fix: make `po_detail` or `sco_rm_detail` mandatory for SE Send to Subcontractor (backport #32250 )
2022-09-19 19:53:57 +05:30
Sagar Sharma
7fc460bb32
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-32250
2022-09-19 19:22:31 +05:30
Solufyin
e2e69dced7
fix: Change Department fieldtype to Link in Leave Balance Report ( #32252 )
...
Co-authored-by: Nihantra C. Patel <n.patel.serpentcs@gmail.com >
2022-09-19 15:42:05 +05:30
Deepesh Garg
5e49b6ea0f
Merge pull request #32269 from frappe/mergify/bp/version-13-hotfix/pr-32251
...
fix: use default supplier currency if default supplier is enabled (backport #32251 )
2022-09-19 15:20:44 +05:30
Ritwik Puri
2e3445fad9
chore: patch for removing stale values in Naming Series ( #32271 )
2022-09-19 13:35:08 +05:30
ruthra kumar
3c10e5066a
fix: use default supplier currency if default supplier is enabled
...
(cherry picked from commit 77fdc37cb7 )
2022-09-19 07:32:58 +00:00
Sagar Sharma
e8d2e49155
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-32250
2022-09-18 20:30:21 +05:30
Deepesh Garg
5690e9771a
Merge pull request #32256 from frappe/mergify/bp/version-13-hotfix/pr-32244
...
fix: Parent Level project linkning on creating PO from project (backport #32244 )
2022-09-18 19:41:57 +05:30
Sagar Sharma
ec6cac8043
chore: conflicts
2022-09-18 16:38:09 +05:30
Sagar Sharma
0329642116
fix: make po_detail or sco_rm_detail mandatory for SE Send to Subcontractor
...
(cherry picked from commit b90875575c )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
2022-09-18 09:25:10 +00:00
Deepesh Garg
3c3e3cfcf8
fix: Parent Level project linkning on creating PO from project
...
(cherry picked from commit 93e134aab0 )
2022-09-17 15:00:56 +00:00
Sagar Sharma
7c4f5fa5c5
Merge pull request #32241 from frappe/mergify/bp/version-13-hotfix/pr-32236
...
fix: production plan pending-qty (backport #32236 )
2022-09-16 20:43:28 +05:30
Sagar Sharma
367e05f808
test: update test case for production plan pending-qty
...
(cherry picked from commit bd6af7c613 )
2022-09-16 13:00:59 +00:00
Sagar Sharma
2dcb35da33
fix: production plan pending-qty
...
(cherry picked from commit 5be7d42dfd )
2022-09-16 13:00:58 +00:00
Sagar Sharma
94732479f5
Merge pull request #32237 from frappe/mergify/bp/version-13-hotfix/pr-32233
...
refactor: rewrite Production Plan queries in QB (backport #32233 )
2022-09-16 17:35:38 +05:30
Sagar Sharma
b4dec4630d
chore: conflicts
2022-09-16 17:08:35 +05:30
Sagar Sharma
c415a47d25
refactor: rewrite Production Plan queries in QB
...
(cherry picked from commit b8cf3b4c77 )
# Conflicts:
# erpnext/manufacturing/doctype/production_plan/production_plan.py
2022-09-16 09:30:11 +00:00
rohitwaghchaure
1e0cc65c61
Merge pull request #32220 from frappe/mergify/bp/version-13-hotfix/pr-31681
...
fix: dont show zero qty available items in stock ageing report (backport #31681 )
2022-09-15 12:39:22 +05:30
Rohit Waghchaure
37dbc7043a
fix: dont show zero qty available items in stock ageing report
...
(cherry picked from commit 5da7e01db2 )
2022-09-15 06:01:10 +00:00
Deepesh Garg
0e88496607
Merge pull request #32209 from frappe/mergify/bp/version-13-hotfix/pr-32208
...
fix: Loans pending accrual entries (backport #32208 )
2022-09-14 15:34:10 +05:30
Abhinav Raut
ef86b437cb
fix: pending accrual entries
...
(cherry picked from commit f2209045f8 )
2022-09-14 08:45:27 +00:00
Deepesh Garg
b7b0076743
Merge pull request #32194 from deepeshgarg007/loan_amount_post_write_off
...
fix: Loan amount post write off
2022-09-13 13:41:21 +05:30
Deepesh Garg
ef5dd1d693
Merge pull request #32165 from frappe/mergify/bp/version-13-hotfix/pr-32144
...
fix: Rate for internal PI have non stock UOM items (backport #32144 )
2022-09-13 12:02:12 +05:30
Deepesh Garg
a53b40ba93
chore: Remove print
2022-09-13 12:00:06 +05:30
Deepesh Garg
e78a7679a4
fix: Loan amount post write off
2022-09-13 11:53:11 +05:30
Deepesh Garg
6a5beecb36
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-32144
2022-09-13 09:39:37 +05:30
Rucha Mahabal
2b900e2f0e
Merge pull request #32187 from ruchamahabal/stat-comp-pd
...
fix: calculate amount based on payment days for statistical components too
2022-09-13 02:09:39 +05:30
Rucha Mahabal
bc14dbbcad
refactor(tests): add a test utility file for commonly used functions in tests
2022-09-13 01:42:27 +05:30
Rucha Mahabal
f4e53a5c91
test: statistical component based on payment days
2022-09-13 00:59:59 +05:30
Rucha Mahabal
3f99522764
fix: calculate amount based on payment days for statistical components too
2022-09-13 00:59:03 +05:30
Sagar Sharma
81dd9722fe
Merge pull request #32179 from Havenir/fix-picklist-picked-qty
...
fix: pick_list - picked qty getting set to 1
2022-09-12 22:19:26 +05:30
Sagar Sharma
9c5d335360
Merge pull request #32186 from frappe/mergify/bp/version-13-hotfix/pr-32150
...
refactor: BOM Stock Calculated report, fix required-qty (backport #32150 )
2022-09-12 19:48:38 +05:30
Sagar Sharma
c5c28615f5
test: add test cases for BOM Stock Calculated report
...
(cherry picked from commit e1a98c1ff7 )
2022-09-12 13:52:31 +00:00
Sagar Sharma
ab32c09ff9
fix: add missing warehouse filter in BOM Stock Calculated report
...
(cherry picked from commit 7a968a5f0d )
2022-09-12 13:52:30 +00:00
Sagar Sharma
f2e63bc491
fix: required_qty in BOM Stock Calculated report
...
(cherry picked from commit 56192daabf )
2022-09-12 13:52:30 +00:00
Sagar Sharma
882aa96973
refactor: BOM Stock Calculated report
...
(cherry picked from commit 723fa9eebc )
2022-09-12 13:52:29 +00:00
Rucha Mahabal
d29a033c09
fix(Salary Slip): set default amount to 0 if None ( #32184 )
2022-09-12 19:21:58 +05:30
Deepesh Garg
b3125a56ed
Merge pull request #32178 from deepeshgarg007/manual_update_loan_amount
...
feat: Ability to manually update loan amount in Salary Slips
2022-09-12 17:41:02 +05:30
rohitwaghchaure
adfc57487b
Merge pull request #32167 from frappe/mergify/bp/version-13-hotfix/pr-32118
...
fix: option to start reposting from repost item valuation (backport #32118 )
2022-09-12 16:16:26 +05:30
Deepesh Garg
ac320e4d55
feat: Ability to manually update loan amount in Salary Slips
2022-09-12 15:05:42 +05:30
Ahmad
3256e2b8b7
fix: pick_list - picked qty getting set to 1
2022-09-12 14:23:44 +05:00
mergify[bot]
b4ec4ccc56
chore: correct license text for GPLv3 (backport #32170 ) ( #32172 )
...
* chore: correct license text for GPLv3 (#32170 )
[skip ci]
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-09-12 14:00:14 +05:30
Rohit Waghchaure
a1826f215a
fix: option to start reposting from repost item valuation
...
(cherry picked from commit f1c4aea7b5 )
2022-09-12 06:44:59 +00:00
Deepesh Garg
181c0acf99
Merge pull request #32127 from SolufyPrivateLimited/Solufy-so-to-po-v13
...
fix: Purchase Order creation from Sales Order
2022-09-12 09:25:24 +05:30
Deepesh Garg
638d6b7177
fix: Rate for internal PI have non stock UOM items
...
(cherry picked from commit 0f655e4430 )
2022-09-12 03:40:23 +00:00
rohitwaghchaure
f5132411eb
Merge pull request #32152 from frappe/mergify/bp/version-13-hotfix/pr-32135
...
fix: reposting not working for internal transferred purchase receipt (backport #32135 )
2022-09-10 23:29:56 +05:30
rohitwaghchaure
e177f1e51b
fix: linter
2022-09-10 23:01:48 +05:30
rohitwaghchaure
6f2a567c95
fix: conflict
2022-09-10 16:41:39 +05:30
Rohit Waghchaure
bb41d8bc47
fix: reposting not working for internal transferred purchase receipt
...
(cherry picked from commit a03b4ce213 )
# Conflicts:
# erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py
2022-09-09 17:13:21 +00:00
Nihantra C. Patel
d79aacd1cb
fix: Purchase Order creation from Sales Order
2022-09-08 13:51:11 +05:30
Sagar Sharma
44c3a322d3
fix: require barcode item barcode ( #32112 )
...
fix: require barcode item barcode. (#31957 )
* fix: require barcode item barcode.
* fix: make supplier mandatory in Item Supplier DocType
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
Co-authored-by: Devin Slauenwhite <devin.slauenwhite@gmail.com >
2022-09-07 14:24:53 +05:30
Sagar Sharma
5707118d58
Merge pull request #32099 from s-aga-r/fix/stock-entry/send-to-subcontractor
...
fix: consider Stock Entry purpose while getting total supplied qty
2022-09-06 15:49:38 +05:30
Sagar Sharma
8964612b8e
fix: consider Stock Entry purpose while getting total supplied qty
2022-09-06 13:04:03 +05:30
Deepesh Garg
514d280ee7
Merge pull request #32086 from Havenir/qr_code_multi_currency_issue
...
fix: QR Code multi currency issue
2022-09-05 12:42:43 +05:30
hamzaali15
b10a2b87b6
fix: QR Code multi currency issue
...
When try to scan qr code on app it is showing correct values for multi currencies because it is not getting base amount
2022-09-05 11:15:43 +05:00
Deepesh Garg
3664a12bb9
Merge pull request #32078 from frappe/mergify/bp/version-13-hotfix/pr-31954
...
feat: better Item Price list view (backport #31954 )
2022-09-04 18:15:13 +05:30
Deepesh Garg
0605cbf26b
Merge pull request #32076 from frappe/mergify/bp/version-13-hotfix/pr-32045
...
fix: Naming series in Journal Entry Template (backport #32045 )
2022-09-04 18:14:40 +05:30
HENRY Florian
25d2847881
feat: better Item Price list view ( #31954 )
...
* feat: better Item Price list view
(cherry picked from commit 86395c6adb )
2022-09-04 12:38:43 +00:00
Solufyin
66cb3fd63f
fix: Naming series in Journal Entry Template
...
(cherry picked from commit 2085626390 )
2022-09-04 11:04:44 +00:00
Deepesh Garg
d22104ad40
Merge pull request #32072 from frappe/mergify/bp/version-13-hotfix/pr-31822
...
fix(pos): error while consolidating pos invoices (backport #31822 )
2022-09-04 15:57:37 +05:30
Saqib Ansari
0527393b09
fix(pos): error while consolidating pos invoices
...
(cherry picked from commit 33762dbbac )
2022-09-04 07:56:06 +00:00
Deepesh Garg
741d6fcb9a
Merge pull request #32053 from Havenir/version-13-hotfix
...
fix: KSA VAT report multi currency amount issue
2022-09-04 13:12:21 +05:30
ruthra kumar
1870dbf9a8
Merge pull request #32059 from frappe/mergify/bp/version-13-hotfix/pr-32054
...
fix: type error on cancellation of Process Deferred Accounting (backport #32054 )
2022-09-02 17:10:01 +05:30
ruthra kumar
69a9724422
test: pda document submission and cancellation
...
(cherry picked from commit 1c385541fa )
2022-09-02 11:15:13 +00:00
ruthra kumar
814dd36a3e
fix: incorrect import parameter for cancel PDA
...
(cherry picked from commit 08f2e4edc3 )
2022-09-02 11:15:12 +00:00
ruthra kumar
17ad96998e
Merge pull request #32057 from frappe/mergify/bp/version-13-hotfix/pr-32052
...
fix: key error on consolidated financial report (backport #32052 )
2022-09-02 16:41:56 +05:30
ruthra kumar
20919c8626
fix: key error on consolidated financial report
...
accounts with same name but different account number will throw key
error on consolidated report
(cherry picked from commit 6e8395cccd )
2022-09-02 10:46:23 +00:00
hamzaali15
56d8962e40
fix: KSA VAT report multi currency amount issue
...
In KSA VAT report amount is not showing correctly for multi currencies because net_amount field is fetched instead of base_net_amount
2022-09-01 15:02:21 +05:00
Deepesh Garg
0a3ac82232
Merge pull request #32031 from frappe/mergify/bp/version-13-hotfix/pr-32030
...
fix: Loan Interest accruals for 0 rated loans (backport #32030 )
2022-08-31 21:04:27 +05:30
Deepesh Garg
b736df3f0b
Merge pull request #32036 from niyazrazak/patch-5
...
fix: lost quotation not to expired
2022-08-31 21:03:31 +05:30
MOHAMMED NIYAS
ea995de4a3
fix: lost quotation not to expired
...
code is merged in version-14 and conflict in version 13
2022-08-31 15:31:07 +05:30
Deepesh Garg
b7c94e38a6
chore: Add check for principal amount
...
(cherry picked from commit a76d3827ec )
2022-08-30 15:46:39 +00:00
Deepesh Garg
a3698524ca
fix: Loan Interest accruals for 0 rated loans
...
(cherry picked from commit eefc9b7172 )
2022-08-30 15:46:38 +00:00
mergify[bot]
0f1f67dcae
fix: force delete old report docs (backport #32026 ) ( #32028 )
...
fix: force delete old report docs (#32026 )
(cherry picked from commit ffa3071d36 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-08-30 15:45:47 +05:30
Deepesh Garg
570729b73e
Merge pull request #32024 from frappe/mergify/bp/version-13-hotfix/pr-31838
...
fix(minor): don't print tax rate if its '0' (backport #31838 )
2022-08-30 13:32:16 +05:30
ruthra kumar
a46dca57cb
fix(minor): don't print tax rate if its '0' ( #31838 )
...
(cherry picked from commit 3b4c0a3fc0 )
2022-08-30 07:34:26 +00:00
Deepesh Garg
821c1cddfc
Merge pull request #32011 from deepeshgarg007/loan_write_off_salary_slip
...
fix: Loan Write-off for term loans
2022-08-30 11:36:09 +05:30
Deepesh Garg
8217c6dd9f
chore: Linting issues and test case fixes
2022-08-30 10:24:31 +05:30
Deepesh Garg
fc030a7de9
Merge pull request #32018 from frappe/mergify/bp/version-13-hotfix/pr-32016
...
fix: permissions for Task Type (backport #32016 )
2022-08-30 08:38:25 +05:30
Raffael Meyer
1157bf887f
fix: permissions for Task Type ( #32016 )
...
(cherry picked from commit 73f4d5931d )
2022-08-29 16:27:24 +00:00
Deepesh Garg
e64e812679
fix: Loan Write-off for term loans
2022-08-29 18:33:40 +05:30
Deepesh Garg
6025df97ef
Merge pull request #31931 from frappe/mergify/bp/version-13-hotfix/pr-31910
...
fix: Cash and non trade discount calculation (backport #31910 )
2022-08-29 15:06:00 +05:30
Deepesh Garg
4793adfefd
chore: rounded total for cash and non trade discounts
2022-08-29 14:02:18 +05:30
Rucha Mahabal
7686c9e450
fix: filter leave types and render leave application dashboard w/o from date ( #32001 )
2022-08-29 12:26:05 +05:30
Rucha Mahabal
074d484d3c
fix: do not clear promotion/transfer details if doc is amended ( #32000 )
2022-08-29 12:10:15 +05:30
Deepesh Garg
332e86af7e
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31910
2022-08-28 17:32:41 +05:30
Deepesh Garg
8eded437d2
Merge pull request #31971 from frappe/mergify/bp/version-13-hotfix/pr-31955
...
chore: update french translation (backport #31955 )
2022-08-28 11:32:34 +05:30
Deepesh Garg
bef7f6114d
Merge pull request #31989 from frappe/mergify/bp/version-13-hotfix/pr-31988
...
chore: remove precision on discount_percentage of Sales Invoice Item (backport #31988 )
2022-08-28 11:32:14 +05:30
Deepesh Garg
4095a3dae2
chore: Resolve conflicts
2022-08-26 18:10:09 +05:30
ruthra kumar
0b40117bfd
chore: remove precision on discount_percentage of Sales Invoice Item
...
(cherry picked from commit c42fef541a )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json
2022-08-26 10:34:31 +00:00
ruthra kumar
09de1cba92
Merge pull request #31972 from frappe/mergify/bp/version-13-hotfix/pr-31934
...
refactor: disable discount accounting on Buying module(PI) (backport #31934 )
2022-08-25 17:14:44 +05:30
ruthra kumar
51a40ad2fc
test: remove discount accounting tests
...
(cherry picked from commit 277ef04b60 )
2022-08-25 16:05:01 +05:30
mergify[bot]
261405cec1
fix(pos): edge case while closing pos (backport #31748 ) ( #31893 )
2022-08-25 14:50:24 +05:30
ruthra kumar
1ac9d7f43e
refactor: disable discount accounting on Buying module(PI)
...
(cherry picked from commit a956e20f29 )
2022-08-25 14:44:54 +05:30
Florian HENRY
69b3145be4
chore: update fr translation
...
(cherry picked from commit 299da5d596 )
2022-08-25 07:37:26 +00:00
Florian HENRY
5e1d367d7a
chore: update fr translation
...
(cherry picked from commit 1f6f2747d4 )
2022-08-25 07:37:25 +00:00
Florian HENRY
10f0baf6ad
chore: update french translation
...
(cherry picked from commit 264f98af14 )
2022-08-25 07:37:25 +00:00
Deepesh Garg
20694eb509
Merge pull request #31965 from frappe/mergify/bp/version-13-hotfix/pr-31909
...
fix: Add docstatus filter for voucher_no in Repost Item Valuation (backport #31909 )
2022-08-25 11:25:14 +05:30
HENRY Florian
c2b8d1bd9a
feat: In BOM, Operation time can be fix (backport #27063 ) ( #31923 )
...
* feat: In BOM Operation time can be fix (backport #27063 )
* chore: only changes necessary for feature
* chore: add test
* chore: linter
* chore: linter
* chore: linter
* chore: fix date in json
* chore: fix test order
* chore: revert test from version-13 not develop
* chore: make test ok
2022-08-25 11:14:35 +05:30
rohitwaghchaure
49bf05c1c2
Merge pull request #31962 from frappe/mergify/bp/version-13-hotfix/pr-31951
...
fix: Purposes not set in Maintenance Visit (backport #31951 )
2022-08-25 10:51:12 +05:30
Sagar Sharma
2cf2885470
fix: Add docstatus filter for voucher_no in Repost Item Valuation
...
(cherry picked from commit 520306dc87 )
2022-08-25 05:20:46 +00:00
Rohit Waghchaure
edfaf99388
fix: Purposes not set
...
(cherry picked from commit f9a7b31b5b )
2022-08-25 05:19:36 +00:00
Deepesh Garg
3a7a53ab72
Merge pull request #31919 from SolufyPrivateLimited/Solufy-pur_inv_docstatus
...
fix: Set the condition to create a purchase receipt
2022-08-25 10:35:14 +05:30
mergify[bot]
34537c9dc2
fix: Route condition set for stock ledger (backport #31935 ) ( #31946 )
...
fix: Route condition set for stock ledger (#31935 )
(cherry picked from commit 0e26df331c )
Co-authored-by: Solufyin <34390782+Solufyin@users.noreply.github.com >
2022-08-24 13:30:49 +05:30
mergify[bot]
154adcbb58
chore: add Work Order test dependencies (backport #31936 ) ( #31938 )
...
chore: add Work Order test dependencies (#31936 )
(cherry picked from commit fe73d55f70 )
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro >
2022-08-23 16:10:27 +05:30
Deepesh Garg
6a9d13ff28
chore: Linting issues
...
(cherry picked from commit 1cb7ae16ab )
2022-08-23 04:50:19 +00:00
Deepesh Garg
7c85b487cd
fix: Test cases
...
(cherry picked from commit ae3dce0cbd )
2022-08-23 04:50:18 +00:00
Deepesh Garg
20e9599fc1
fix: Cash and non trade discount calculation
...
(cherry picked from commit 3b15966cc9 )
2022-08-23 04:50:17 +00:00
Solufyin
b4c992dd4d
fix: Set the condition to create a purchase receipt
2022-08-22 12:00:21 +05:30
Suraj Shetty
d46ce05dcd
Merge pull request #31903 from frappe/exotel_fixes_v13
2022-08-22 10:52:18 +05:30
Deepesh Garg
6bc6681f92
Merge pull request #31825 from frappe/mergify/bp/version-13-hotfix/pr-31817
...
fix: limit pos recent order page result (backport #31817 )
2022-08-22 10:32:30 +05:30
Deepesh Garg
75d57c1f77
Merge pull request #31889 from frappe/mergify/bp/version-13-hotfix/pr-31871
...
fix: incorrect buying amount in Gross Profit rpt (backport #31871 )
2022-08-22 10:29:47 +05:30
Deepesh Garg
fc7285cc85
Merge pull request #31826 from frappe/mergify/bp/version-13-hotfix/pr-31799
...
fix: process loan interest accrual (backport #31799 )
2022-08-22 10:28:04 +05:30
Suraj Shetty
23a441252b
fix: Replace walrus operator
2022-08-22 09:49:15 +05:30
Deepesh Garg
474f34c04c
Merge pull request #31868 from frappe/mergify/bp/version-13-hotfix/pr-31856
...
fix: incorrect tax amt due to different exchange rate in PR and PI (backport #31856 )
2022-08-22 09:09:53 +05:30
Deepesh Garg
6606028062
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31799
2022-08-22 09:00:14 +05:30
Deepesh Garg
f58427bffe
Merge pull request #31894 from maharshivpatel/fix-tax-withholding-advance-vouchers
...
fix: TDS calculation for advance payment
2022-08-22 08:58:59 +05:30
Suraj Shetty
89f889068e
style: Fix formatting
2022-08-20 14:19:15 +05:30
Suraj Shetty
9263d5ff4d
fix: Update received_by if "to" is changed
2022-08-20 14:15:54 +05:30
Suraj Shetty
4df197a282
test: Do not overwrite frappe.form_dict to retain proxy reference
...
Set frappe.local.form_dict instead
2022-08-20 14:14:16 +05:30
Suraj Shetty
b495969eb8
test: Clean up form_dict
...
To avoid failures like
https://github.com/frappe/erpnext/runs/5887687369?check_suite_focus=true#step:12:783
2022-08-20 14:14:10 +05:30
Suraj Shetty
5f4760985c
test: Fix used frappe._dict to avoid AttributeError down the line
...
ref: https://github.com/frappe/erpnext/runs/5816574721?check_suite_focus=true#step:12:880
2022-08-20 14:14:03 +05:30
Suraj Shetty
4a61840e39
test: Use FrappeAPITestCase to track coverage
2022-08-20 14:13:56 +05:30
Suraj Shetty
ca48b9de54
test: Fix erroneous code
2022-08-20 14:13:50 +05:30
Suraj Shetty
baab96d02c
fix: Handle exception where no employee is returned
2022-08-20 14:13:40 +05:30
Suraj Shetty
f5b967a947
chore: Remove unused code
...
- and simplify get_call_log
2022-08-20 14:13:24 +05:30
Suraj Shetty
06b1bcbf59
test: Refactor exotel test setup
...
- Remove unnecessary code
- Move test data to separate file
- Make proper test assertions
2022-08-20 14:12:17 +05:30
Subin Tom
aa8a063103
fix: added tests
2022-08-20 14:11:48 +05:30
Subin Tom
3f46b2a0ce
fix: used get_employees_with_number, strip_number methods
2022-08-20 14:10:18 +05:30
Subin Tom
b52962751c
fix: linter, sider fixes
2022-08-20 14:07:17 +05:30
Subin Tom
b94154f00a
fix: call type doctype, fixes
2022-08-20 14:06:52 +05:30
Subin Tom
90ed14a055
fix: sider fixes
2022-08-20 14:05:49 +05:30
Subin Tom
b65bce8f98
fix: added type of call select field, additional status for agent rejecting call
2022-08-20 14:05:27 +05:30
Subin Tom
66578a58cf
fix: added field to show called group, user_id
2022-08-20 14:04:01 +05:30
Subin Tom
476ded2972
fix: added employee name to call log
2022-08-20 14:03:40 +05:30
Subin Tom
ffb1196516
fix: call status fix
2022-08-20 14:03:14 +05:30
Maharshi Patel
a452143782
fix: TDS calculation for advance payment
...
"against_voucher": ["is", "not set"] was used in query due to which if TDS was added on "advance" payment vouchers and then reconciled against purchase invoice. it will not find those vouchers and consider this as first-time threshold due to which it will calculate Tax for all transactions.
2022-08-19 12:30:47 +05:30
ruthra kumar
6405a9378d
fix: incorrect buying amount in Gross Profit rpt
...
(cherry picked from commit 967dd398e7 )
2022-08-18 13:28:45 +00:00
Rucha Mahabal
2471ca58ee
Merge pull request #31884 from ruchamahabal/fix-promotion
2022-08-18 12:29:31 +05:30
Rucha Mahabal
a4828407d0
fix: interview rescheduling not working
2022-08-18 12:02:32 +05:30
Rucha Mahabal
36130c6292
fix(minor): save the employee doc on promotion/transfer update
2022-08-18 11:42:29 +05:30
mergify[bot]
4775c42593
fix: Make expense account editable in Purchase Receipt Item (backport #31730 ) ( #31879 )
...
* fix: Make expense account editable in Purchase Receipt Item (#31730 )
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
(cherry picked from commit 1a6508972e )
# Conflicts:
# erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json
* chore: conflicts
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-08-18 11:15:26 +05:30
mergify[bot]
b0917aaf8a
fix: Transit filter for Default Target Warehouse in SE (backport #31839 ) ( #31874 )
...
fix: Transit filter for Default Target Warehouse in SE (#31839 )
(cherry picked from commit f1a612245c )
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-08-17 17:25:31 +05:30
rohitwaghchaure
d349a337e1
Merge pull request #31866 from frappe/mergify/bp/version-13-hotfix/pr-31863
...
fix: not able to issue expired batches (backport #31863 )
2022-08-17 15:43:22 +05:30
ruthra kumar
ba5ee1ca96
fix: incorrect tax amt due to different exchange rate in PR and PI
...
(cherry picked from commit 5fd0770372 )
2022-08-17 09:40:36 +00:00
rohitwaghchaure
41b8563b7a
fix: conflicts
2022-08-17 14:47:47 +05:30
Rohit Waghchaure
7ee75ff762
fix: not able to issue expired batches
...
(cherry picked from commit 795c94384a )
# Conflicts:
# erpnext/stock/doctype/stock_entry/test_stock_entry.py
2022-08-17 09:16:37 +00:00
mergify[bot]
3274e7681d
fix: incorrect rate in BOM exploded items (backport #31513 ) ( #31865 )
...
* fix: incorrect rate in BOM exploded items (#31513 )
(cherry picked from commit 313625c349 )
# Conflicts:
# erpnext/manufacturing/doctype/bom_item/bom_item.json
* chore: conflicts
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-08-17 14:39:15 +05:30
mergify[bot]
7ddb332f47
fix: incorrect produced-qty in production-plan-item (backport #31706 ) ( #31862 )
...
fix: incorrect produced-qty in production-plan-item (#31706 )
(cherry picked from commit 538cd6fdcf )
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-08-17 13:49:51 +05:30
mergify[bot]
2a615af00a
fix: contact search in request for quotation (backport #31828 ) ( #31841 )
...
* fix: contact search in request for quotation (#31828 )
(cherry picked from commit e5e88bb9f1 )
# Conflicts:
# erpnext/buying/doctype/request_for_quotation/request_for_quotation.py
* chore: conflicts
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-08-17 11:23:24 +05:30
mergify[bot]
ba8dc8925f
fix: check item_code in all rows of po_items (backport #31741 ) ( #31843 )
...
fix: check item_code in all rows of po_items (#31741 )
fix: check item-code in each row of po-items
(cherry picked from commit 0047e18a9b )
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com >
2022-08-17 11:21:47 +05:30
Sagar Vora
14891ccf18
Merge pull request #31792 from frappe/mergify/bp/version-13-hotfix/pr-31733
...
fix: set `billing_address` for purchases in `get_party_details` (backport #31733 )
2022-08-16 05:48:48 +00:00
Sagar Vora
15654aae8b
fix: use old style for _dict.update
2022-08-13 08:00:27 +00:00
Sagar Vora
d1de4b027c
fix: set company_address for purchases in party.js
...
(cherry picked from commit d05082987f )
2022-08-13 08:00:27 +00:00
Sagar Vora
a7d66fa352
fix: set billing_address for purchases in get_party_details
...
(cherry picked from commit a3625b3817 )
2022-08-13 08:00:27 +00:00
Abhinav Raut
8dea238d12
fix: term loan interest calculation
...
(cherry picked from commit 534d7ce64b )
2022-08-11 10:18:04 +00:00
Abhinav Raut
acbed434c2
fix: process loan interest accrual
...
(cherry picked from commit 9ef8d5c5c3 )
2022-08-11 10:18:04 +00:00
ruthra kumar
9751f1060e
fix: limit pos recent order page result
...
(cherry picked from commit bb40e38451 )
2022-08-11 08:40:05 +00:00
Deepesh Garg
0569f8a857
Merge pull request #31736 from maharshivpatel/fix-india-hsn-report
...
fix: (india) HSN wise report
2022-08-09 18:58:25 +05:30
Rucha Mahabal
63715bf229
Merge pull request #31813 from ruchamahabal/fix-claim
2022-08-09 18:52:22 +05:30
Rucha Mahabal
63cd4349a6
fix: consider precision while validating advance amount against sanctioned amount
2022-08-09 18:28:19 +05:30
Maharshi Patel
42b395916d
fix: f-string and where clause
...
Used f-string formatting and added conditions to WHERE clause
2022-08-09 18:22:05 +05:30
Rucha Mahabal
0057c10a7d
fix: update To Date in Employee Work History ( #31811 )
2022-08-09 18:19:09 +05:30
Deepesh Garg
3c8c5d01fb
Merge pull request #31797 from frappe/mergify/bp/version-13-hotfix/pr-31779
...
Bug add accouting dimension in asset repair (backport #31779 )
2022-08-09 18:18:42 +05:30
Rucha Mahabal
d820757359
fix: Payment Entry button is visible even when claim is fully paid
2022-08-09 18:15:41 +05:30
mergify[bot]
14e59c86aa
Tds report (backport #31801 ) ( #31808 )
...
* fix: TDS Computation Summary Report not loading, too many values to unpack
2022-08-09 18:11:13 +05:30
Deepesh Garg
9e16f4e412
chore: resolve conflicts
2022-08-09 17:55:02 +05:30
rohitwaghchaure
6d269a4d89
Merge pull request #31805 from frappe/mergify/bp/version-13-hotfix/pr-31804
...
fix: incorrect incoming rate set for inter transfer purchase receipt (backport #31804 )
2022-08-09 16:26:34 +05:30
Rohit Waghchaure
4e8b39ab3f
fix: incorrect incoming rate set for inter transfer purchase receipt
...
(cherry picked from commit ddd24ea8c8 )
2022-08-09 10:31:14 +00:00
Rucha Mahabal
9925eb9982
Merge pull request #31802 from ruchamahabal/fix-salary-slip-tds-v13
2022-08-09 15:33:54 +05:30
Rucha Mahabal
301d199ece
test: default amount in slip
2022-08-09 14:57:10 +05:30
Maharshi Patel
6c574fbf33
fix: taxable_value and gst_account_heads
...
used taxable_value instead of base_net_amount and only appended required GST accounts
2022-08-09 14:39:13 +05:30
Rucha Mahabal
80981d025f
fix: incorrect tax calculation in case of reduced payment days
2022-08-09 12:40:06 +05:30
ruthra kumar
a420d0242c
chore: patch for creating existing dimensions in asset repair
...
(cherry picked from commit 80f508c4b1 )
# Conflicts:
# erpnext/patches.txt
2022-08-08 11:09:55 +00:00
ruthra kumar
809d5caf80
fix: add asset repair to accounting dimension list
...
(cherry picked from commit 452584c4bd )
2022-08-08 11:09:53 +00:00
Deepesh Garg
6f442d14cf
Merge pull request #31795 from frappe/mergify/bp/version-13-hotfix/pr-31777
...
fix: intercompany SO created from Purchase Order throws exception (backport #31777 )
2022-08-08 16:37:39 +05:30
ruthra kumar
a17acfdaa2
fix: intercompany SO throws exception
...
(cherry picked from commit af0a353b79 )
2022-08-08 10:37:25 +00:00
Deepesh Garg
3673dea03b
Merge pull request #31783 from frappe/mergify/bp/version-13-hotfix/pr-31780
...
Fix: Loan pending principal amount (backport #31780 )
2022-08-08 14:48:06 +05:30
Deepesh Garg
fb3725752f
chore: resolve conflicts
2022-08-08 11:53:49 +05:30
Abhinav Raut
16c94d292c
fix: pending principal- amount
...
(cherry picked from commit a272d73dd9 )
# Conflicts:
# erpnext/loan_management/doctype/loan_repayment/loan_repayment.json
2022-08-05 10:35:05 +00:00
mergify[bot]
0e46b33ee3
fix(ecommerce): remove query to non-existing field (backport #31771 ) ( #31774 )
...
fix(ecommerce): remove query to non-existing field (#31771 )
(cherry picked from commit 17b9bfd249 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-08-03 17:08:46 +05:30
mergify[bot]
df716fbd0c
ci: fix automated release regex (backport #31770 ) ( #31772 )
...
ci: fix automated release regex (#31770 )
[skip ci]
(cherry picked from commit 2defb89962 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-08-03 16:37:39 +05:30
mergify[bot]
0dbfb1589e
fix: specify allowed doctype in queries ( #31765 )
...
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2022-08-03 12:03:53 +05:30
mergify[bot]
473a43b6b1
fix: getting error to show sales invoice group or print rep… (backport #31756 ) ( #31768 )
...
fix: getting error to show sales invoice group or print rep… (#31756 )
fix: formatter getting error to show sales invoice group or print report.
1 - When I view the Gross Profit report in Sales Invoice mode, the table is all broken.
Error on browser console:
TypeError: Cannot read properties of undefined (reading 'indent')
2 - When I try to print, no matter the Group (Sales Invoice, Item Code, Item Group...) nothing happens. in browser log console I have the following error:
TypeError: Cannot read properties of undefined (reading 'content')
i fixed both errors and all working perfectly.
(cherry picked from commit ea88451875 )
Co-authored-by: HarryPaulo <paulo_fabris@hotmail.com >
2022-08-03 11:23:10 +05:30
rohitwaghchaure
1a3b3b96c2
Merge pull request #31751 from frappe/mergify/bp/version-13-hotfix/pr-31750
...
fix: minor URL link (backport #31750 )
2022-08-01 14:34:12 +05:30
Rohit Waghchaure
e9e53a74c9
fix: minor changed link
...
(cherry picked from commit 0e7c4314b4 )
2022-08-01 09:02:07 +00:00
Rucha Mahabal
26aef4fb1c
fix: statistical component showing up in salary slip ( #31746 )
...
* fix: statistical component showing up in salary slip
* fix(test): payment days effect on timesheet salary slio
2022-08-01 12:54:25 +05:30
mergify[bot]
b145fe3b3e
fix(pos): validate product bundles while submitting pos invoice (backport #31615 ) ( #31657 )
2022-07-31 19:12:14 +05:30
Marica
d83c869d73
Merge pull request #31717 from frappe/mergify/bp/version-13-hotfix/pr-31601
...
perf: reduce db calls for warehouse wise stock value chart (backport #31601 )
2022-07-31 18:26:27 +05:30
Maharshi Patel
08c69c7a76
fix: (india) HSN wise report
...
Problem:
The previous approach for calculating tax_rate was incorrect.
```
['tax_rate'] * ['number of unique rows']
```
Joining `tabSales Taxes and Charges` was adding unnecessary rows & complexity.
Solution:
Instead of trying to get tax_rate from the main query itself, I used the get_tax_accounts's data to calculate the correct tax_rate.
Todo:
Union Territory
2022-07-29 14:22:31 +05:30
Deepesh Garg
25da4d28ff
Merge pull request #31727 from frappe/mergify/bp/version-13-hotfix/pr-31656
...
fix: use current pos profile on sales return (backport #31656 )
2022-07-28 16:32:36 +05:30
Deepesh Garg
f57d2fadbc
Merge pull request #31728 from frappe/mergify/bp/version-13-hotfix/pr-31676
...
fix: enable tax withholding checkbox in PI with supplier_tds (backport #31676 )
2022-07-28 16:32:17 +05:30
Deepesh Garg
9e7edd677a
Merge pull request #31726 from frappe/mergify/bp/version-13-hotfix/pr-31576
...
fix: credite note for returned delivery note updates SO's billed percentage (backport #31576 )
2022-07-28 16:32:05 +05:30
ruthra kumar
bc7494278d
fix: enable tax withholding checkbox in PI with supplier_tds
...
(cherry picked from commit b461724416 )
2022-07-28 10:42:58 +00:00
ruthra kumar
c442b4aef1
fix: use current pos profile on sales return
...
(cherry picked from commit 5b85af5f1a )
2022-07-28 10:36:23 +00:00
ruthra kumar
ef9b25cf08
test: SO percentage billed when cr_note made against delivery return
...
(cherry picked from commit 243f66fcd3 )
2022-07-28 10:21:19 +00:00
ruthra kumar
2f2d3de306
fix: update SO's percentage billed on credit note
...
Credit Note created from Sales Return will update precentage billed in
Sales Order accordingly
(cherry picked from commit 04c1019242 )
2022-07-28 10:21:18 +00:00
Rucha Mahabal
13639682ce
Merge pull request #31724 from ruchamahabal/expense-claim-adv
2022-07-28 14:51:15 +05:30
Rucha Mahabal
c01adae8a5
test: advance amount allocation against expense claim with taxes
2022-07-28 14:27:09 +05:30
Deepesh Garg
8ae691d9dc
Merge branch 'version-13' into version-13-hotfix
2022-07-28 13:59:25 +05:30
Alaa Alsalehi
a95c011a93
fix: Reload loan Table in Salary Slip when change Employee ( #31525 )
...
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
Co-authored-by: bahaaabed <bahaa.9999.sh@gmail.com >
Co-authored-by: newhr1 <104132586+newhr1@users.noreply.github.com >
2022-07-28 13:22:07 +05:30
Rucha Mahabal
42f3592e95
fix: Allow allocating advance amount against Expense Claim taxes
2022-07-28 13:21:29 +05:30
Syed Mujeer Hashmi
0602848caa
fix: The Fee details are not fetched in Program Enrollment ( #31153 )
2022-07-28 12:30:39 +05:30
Rucha Mahabal
9985d28571
chore: Add HR & Payroll deprecation warning ( #31720 )
2022-07-28 11:43:49 +05:30
Marica
31824c2280
Merge pull request #31716 from frappe/mergify/bp/version-13-hotfix/pr-31687
...
fix: update fr translations (backport #31687 )
2022-07-27 18:01:30 +05:30
Devin Slauenwhite
18d93f8398
fix: sum stock_value and group by warehouse
...
(cherry picked from commit 1e20358c28 )
2022-07-27 12:18:39 +00:00
Devin Slauenwhite
c9443123f9
chore: remove unused import
...
(cherry picked from commit bc3023318e )
2022-07-27 12:18:38 +00:00
Devin Slauenwhite
0fdec8fac8
pref: reduce count of db calls from n to 2
...
(cherry picked from commit 73ade04dcf )
2022-07-27 12:18:38 +00:00
marination
6fbb06a878
chore: Merge Conflict
2022-07-27 17:30:46 +05:30
HENRY Florian
89348c1bb4
fix: update fr translations ( #31687 )
...
* fix: update fr translations
* fix: update fr translation
* fix: update fr translation
* chore: Replace apostrophe encoding by symbol
Co-authored-by: marination <maricadsouza221197@gmail.com >
(cherry picked from commit cc1f837685 )
# Conflicts:
# erpnext/translations/fr.csv
2022-07-27 11:52:03 +00:00
Marica
598dbc93ac
Merge pull request #31669 from frappe/mergify/bp/version-13-hotfix/pr-31579
...
fix: display customer name on picking list (backport #31579 )
2022-07-27 16:45:07 +05:30
Marica
51a4ef3069
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31579
2022-07-27 16:23:22 +05:30
Marica
49fb177f86
chore: Merge Conflicts
2022-07-27 16:22:17 +05:30
Marica
b0aae8a297
Merge pull request #31713 from frappe/mergify/bp/version-13-hotfix/pr-31469
...
chore: Make `image` field obsolete in Website Item (redundant) (backport #31469 )
2022-07-27 16:12:32 +05:30
Marica
e310347ca4
chore: Merge Conflicts
2022-07-27 15:51:01 +05:30
marination
9b1544aa14
fix: Map Item image to Website Item website_image only if published via UI (v13)
...
- For v12 Items, `website_image` should be mapped from `Item` to `Website Item`
(cherry picked from commit af38baeb3b )
# Conflicts:
# erpnext/e_commerce/doctype/website_item/website_item.py
2022-07-27 10:14:20 +00:00
marination
a8da5f4566
chore: Remove image use in website item list
...
(cherry picked from commit 7a6ee8cf2d )
2022-07-27 10:14:18 +00:00
marination
0e469f6d95
chore: Remove image from ProductQuery fields
...
(cherry picked from commit eec07833f4 )
2022-07-27 10:14:18 +00:00
marination
b393c230bd
chore: Make image field obsolete in Website Item (redundant)
...
- Delete Image field and set `website_image` as form's image field for uploads
- Remove instances of `image` field access via Website Item
- Item -> Web Item via Desk: Map Item's `image` to Web Item's `website_image`
- Item -> Web Item via patch: `website_image` will be mapped with thumbnail
- Remove magic that auto-sets `website_image` from `image` in Website Item
(cherry picked from commit 9541354ec7 )
# Conflicts:
# erpnext/e_commerce/doctype/website_item/website_item.py
2022-07-27 10:14:16 +00:00
Rucha Mahabal
32c1bb61de
fix: manually generated salary slips overwritten by structure amount ( #31711 )
2022-07-27 12:44:26 +05:30
MohsinAli
4f023757de
fix: payment entry to student ( #31708 )
...
Payment entry to student via Payment References(From Journal Entry)
2022-07-27 11:50:15 +05:30
Deepesh Garg
d2d25e17bb
Merge pull request #31698 from maharshivpatel/fix-einvoice-margin-internal-transfer
...
fix: (india) (e-invoice) margin & internal company transfer
2022-07-26 21:59:44 +05:30
Maharshi Patel
a843e784e6
fix: discount and test added
...
only report net rate if discount is less than 0 and added test.
2022-07-26 17:40:59 +05:30
Rucha Mahabal
8a6432ec3f
fix: hero image not loading in portal homepage ( #31699 )
2022-07-26 13:43:36 +05:30
Maharshi Patel
b97d30aad0
fix: (india) (e-invoice) margin & internal company transfer
...
When the item price is more than the price list rate ( margin added ) discount value becomes negative. The previous attempt to solve this was to convert discount to absolute value. However, that gives incorrect unit price and discount value. To solve this, I have made changes to report net rates in cases where the margin is added or is an internal company transfer.
2022-07-26 12:57:47 +05:30
Rucha Mahabal
bc7cfe6919
fix: do not update component amount for timesheet components ( #31696 )
...
* fix: do not update component amount for timesheet components
* fix: warn the user about overwriting timesheet component amount
2022-07-26 12:35:50 +05:30
Deepesh Garg
85802b0f97
Merge pull request #31602 from rtdany10/patch-19
...
fix(india): e-way bill json for unregistered gst category
2022-07-22 13:11:19 +05:30
Deepesh Garg
dc67d39ce6
Merge pull request #31665 from maharshivpatel/fix-add-overseas-hsn-report
...
fix: (india) add entries from overseas invoices in HSN wise report
2022-07-22 13:06:30 +05:30
mergify[bot]
529a47bc88
fix: rounding errors while closing pos (backport #31654 ) ( #31658 )
2022-07-22 11:17:59 +05:30
Devin Slauenwhite
2381b81aac
fix: make customer_name field read only.
...
(cherry picked from commit 7083b3148b )
# Conflicts:
# erpnext/stock/doctype/pick_list/pick_list.json
2022-07-21 13:08:41 +00:00
Devin Slauenwhite
dbf245c687
fix: display customer name on picking list
...
(cherry picked from commit 0a633a212d )
# Conflicts:
# erpnext/stock/doctype/pick_list/pick_list.json
2022-07-21 13:08:40 +00:00
Nihantra C. Patel
5cdc267aee
fix: Route condition set with proper filter ( #31556 )
...
* fix: Redirect to report with proper filter
* Update member.js
* fix: Route condition set with proper filter
* fix: Route condition set with proper filter
* fix: Route condition set with proper filter
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-07-21 18:29:06 +05:30
mergify[bot]
95e1021caf
fix: update fr translations (backport #31526 ) ( #31666 )
...
fix: update fr translations (#31526 )
* fix: update fr translations
* fix: update fr translations
* fix: update fr translations
* fix: update fr translations
* chore: Update french translation
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit 3ba0d6cc5c )
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro >
2022-07-21 18:11:32 +05:30
mergify[bot]
7d50f8798a
Update de.csv (backport #31596 ) ( #31667 )
...
Update de.csv (#31596 )
IN,IM to IN,EIN
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit 8629d01dd5 )
Co-authored-by: billy995 <48571007+billy995@users.noreply.github.com >
2022-07-21 18:10:46 +05:30
Marica
dd751c6e92
Merge pull request #31664 from frappe/mergify/bp/version-13-hotfix/pr-31544
...
FIX: quality inspection quick creation from purchase receipt: pre-fill sample size if available (backport #31544 )
2022-07-21 14:13:48 +05:30
Frappe PR Bot
69087b8790
chore(release): Bumped to Version 13.36.1
...
## [13.36.1](https://github.com/frappe/erpnext/compare/v13.36.0...v13.36.1 ) (2022-07-21)
### Bug Fixes
* ensure defaults removed in bad frappe patch get set again (backport [#31659 ](https://github.com/frappe/erpnext/issues/31659 )) ([2ae3bd9 ](2ae3bd9fed ))
2022-07-21 08:26:20 +00:00
mergify[bot]
763787b0a5
fix: ensure defaults removed in bad frappe patch get set again (backport #31659 ) ( #31661 )
...
fix: ensure defaults removed in bad frappe patch get set again (#31659 )
(cherry picked from commit bf2833b8ee )
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2022-07-21 13:54:55 +05:30
mergify[bot]
2ae3bd9fed
fix: ensure defaults removed in bad frappe patch get set again (backport #31659 )
...
fix: ensure defaults removed in bad frappe patch get set again (#31659 )
(cherry picked from commit bf2833b8ee )
(cherry picked from commit 9071018e4e )
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2022-07-21 13:54:40 +05:30
Marc de Lima Lucio
1998223ee3
FIX: quality inspection quick creation from purchase receipt: pre-fill sample size if available ( #31544 )
...
FIX: quality inspection quick creation from transaction documents: pre-fill sample size if available
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit 048c037842 )
2022-07-21 08:17:48 +00:00
mergify[bot]
794fd0819f
fix: correct Brazilian portuguese translations (backport #31498 ) ( #31660 )
...
fix: correct Brazilian portuguese translations (#31498 )
* fix brazilian portuguese translations
* minor adjustments
* fix minor adjustments
* fix: remove legacy pt_br.csv
* chore: Fix translation quotation marks
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit d30f8387d9 )
Co-authored-by: Marco Fonseca <62901164+treasuryesc@users.noreply.github.com >
2022-07-21 13:47:18 +05:30
Maharshi Patel
1d69ce1932
fix: (india) add overseas in HSN wise report
...
SQL query had WHERE `tabSales Taxes and Charges`.parent = `tabSales Invoice`.name. However, In overseas, there is no `tabSales Taxes and Charges` so I changed the query to use a combination of INNER JOIN and LEFT JOIN to fetch all entries.
2022-07-21 13:27:30 +05:30
Maharshi Patel
8e23c6ad69
fix: assign duplicate_items_msg outside conditional ( #31639 )
...
duplicate_items_msg was defined inside if the statement of stock_item so when duplicate was found in non_stock_item it raised referenced before assignment
2022-07-20 21:25:36 +05:30
Frappe PR Bot
32ba8c7d6d
chore(release): Bumped to Version 13.36.0
...
# [13.36.0](https://github.com/frappe/erpnext/compare/v13.35.3...v13.36.0 ) (2022-07-20)
### Bug Fixes
* (india) (e-invoice) allow generation for UIN Holders ([82539fc ](82539fc18a ))
* (india) (e-invoice) CN / DN with 0 qty ([84f260e ](84f260e1d8 ))
* (india) (e-invoice) discount calculation ([1f4d434 ](1f4d434675 ))
* (india) (e-invoice) discount in CN/DN ([6e6b55e ](6e6b55ece0 ))
* (india) (e-invoice) qty should not be changed to 1 ([b0efb98 ](b0efb98237 ))
* (india)(einvoice) discount for CN DN ([844758a ](844758a27c ))
* added Section translation in German for Salary Slip (backport [#31608 ](https://github.com/frappe/erpnext/issues/31608 )) ([#31616 ](https://github.com/frappe/erpnext/issues/31616 )) ([12d3d6a ](12d3d6ab49 ))
* Allow multi currency invoice against single party account ([9ac9c46 ](9ac9c46dab ))
* **India:** Inward supplies from Composition Supplier in 3B report ([b147ce4 ](b147ce4206 ))
* LCV updates wrong future qty/Bin qty ([f0ecdbe ](f0ecdbef5a ))
* linter ([9a3c846 ](9a3c84663f ))
* move auto attendance job to long queue ([8eb9aaa ](8eb9aaafe9 ))
* on cancel for loan refund ([8237d94 ](8237d94b11 ))
* Opening Invoice Creation Tool msgprint ([cb80bcd ](cb80bcd0ee ))
* Patch to make accounting dimension in orders ([55399f2 ](55399f2e58 ))
* Remove unnecessary list comprehensions ([711501b ](711501be5e ))
* Removed 'Allow Monthly Depreciation' checkbox and fixed wdv depreciation rate ([616e3c6 ](616e3c66b9 ))
* Renamed status field to gle_processing_status ([1180135 ](1180135067 ))
* Set Amount in Supplied Item table ([72e8c02 ](72e8c02ae0 ))
* set default_bom for item ([def622c ](def622c13e ))
* set status on submit/cancel ([04b077a ](04b077a89f ))
* slow stock reposting ([a5dae92 ](a5dae9264d ))
* Supplier details in TDS monthly report ([#31599 ](https://github.com/frappe/erpnext/issues/31599 )) ([431d79f ](431d79f516 ))
* Tax amount not considered in Expense Claim Journal Entry ([90c751f ](90c751f648 ))
* test ([9631ffd ](9631ffd215 ))
### Features
* add adjustment amount to loan ([d5ce780](d5ce780e87 ))
### Performance Improvements
* index shift type and employee in checkins and assignment to avoid full table scans ([6938025 ](6938025952 ))
* Optimization of gl entry processing logic in period closing voucher ([903e42f ](903e42fbdd ))
* Replace `db.get_all` with `db.exists` in `is_holiday` ([85c554e ](85c554eab5 ))
* Replace `get_doc` with `db.get_value` in `get_shift_details` ([abb7ac5 ](abb7ac5a0b ))
* Use `get_cached_value` and `get_cached_doc` ([8c9035d ](8c9035d914 ))
2022-07-20 15:21:11 +00:00
Deepesh Garg
4d67695294
Merge pull request #31647 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-07-20 20:49:09 +05:30
Deepesh Garg
50fbfd9839
Merge pull request #31649 from frappe/mergify/bp/version-13-hotfix/pr-31648
...
fix: Patch to make accounting dimension in orders (backport #31648 )
2022-07-20 20:01:27 +05:30
Deepesh Garg
e36c74ac44
chore: resolve conflicts
2022-07-20 19:39:18 +05:30
Deepesh Garg
45e25b2d56
chore: do not re run patch
...
(cherry picked from commit cad2035e07 )
# Conflicts:
# erpnext/patches.txt
2022-07-20 13:32:41 +00:00
Deepesh Garg
55399f2e58
fix: Patch to make accounting dimension in orders
...
(cherry picked from commit d46e406db7 )
# Conflicts:
# erpnext/patches.txt
2022-07-20 13:32:41 +00:00
Deepesh Garg
a5cd81c73c
Merge branch 'version-13' into version-13-hotfix
2022-07-20 17:52:28 +05:30
Nabin Hait
52c8e0a6ea
Merge pull request #31644 from nabinhait/asset-monthly-depreciation-v13-hotfix
...
fix: Removed 'Allow Monthly Depreciation' checkbox
2022-07-20 17:33:15 +05:30
Nabin Hait
616e3c66b9
fix: Removed 'Allow Monthly Depreciation' checkbox and fixed wdv depreciation rate
2022-07-20 17:32:28 +05:30
Nabin Hait
a6e97ea9ab
Merge pull request #31626 from nabinhait/pcv-perf-enhancements
...
perf: Optimization of gl entry processing logic in period closing voucher
2022-07-20 15:39:39 +05:30
Deepesh Garg
2c5e117f01
Merge pull request #31629 from maharshivpatel/fix-einvoice-discounts
...
fix: (india) (e-invoice) convert discount to absolute value
2022-07-20 13:18:14 +05:30
Marica
a65dd58444
Merge pull request #31416 from frappe/mergify/bp/version-13-hotfix/pr-31412
...
fix: set default_bom for item (backport #31412 )
2022-07-20 11:31:55 +05:30
Nabin Hait
04b077a89f
fix: set status on submit/cancel
2022-07-20 11:10:36 +05:30
Nabin Hait
1180135067
fix: Renamed status field to gle_processing_status
2022-07-20 10:50:44 +05:30
Rucha Mahabal
eae4b06a80
Merge pull request #31630 from ruchamahabal/auto-attendance-perf
2022-07-20 10:25:02 +05:30
Maharshi Patel
b0efb98237
fix: (india) (e-invoice) qty should not be changed to 1
...
Qty of 0 is allowed so can't change item.qty to 1 instead created item_qty and used it.
2022-07-19 22:29:38 +05:30
rohitwaghchaure
e7e1847ec9
Merge pull request #31634 from frappe/mergify/bp/version-13-hotfix/pr-31631
...
fix: slow stock reposting (backport #31631 )
2022-07-19 19:26:35 +05:30
Rohit Waghchaure
a5dae9264d
fix: slow stock reposting
...
(cherry picked from commit 1d80d37ccf )
2022-07-19 13:18:13 +00:00
Marica
284095106c
Merge pull request #31588 from SolufyPrivateLimited/Solufyin-oict
...
fix: Opening Invoice Creation Tool msgprint
2022-07-19 17:47:44 +05:30
Rucha Mahabal
8eb9aaafe9
fix: move auto attendance job to long queue
2022-07-19 16:07:18 +05:30
Rucha Mahabal
6938025952
perf: index shift type and employee in checkins and assignment to avoid full table scans
2022-07-19 16:02:31 +05:30
Maharshi Patel
6e6b55ece0
fix: (india) (e-invoice) discount in CN/DN
...
discount fixes
2022-07-19 15:31:34 +05:30
Rucha Mahabal
8c9035d914
perf: Use get_cached_value and get_cached_doc
2022-07-19 14:47:14 +05:30
Nabin Hait
cfb11f4b84
test: Added test for PCV cancellation
2022-07-19 14:31:02 +05:30
Marica
feffc3af27
Merge pull request #31627 from frappe/mergify/bp/version-13-hotfix/pr-31515
...
fix: LCV updates wrong future qty/Bin qty (backport #31515 )
2022-07-19 14:21:33 +05:30
marination
ca9c6e1651
test: LCV impact on future stock balancees
...
(cherry picked from commit de9ea70ce3 )
2022-07-19 08:10:22 +00:00
marination
f0ecdbef5a
fix: LCV updates wrong future qty/Bin qty
...
- As -ve LCV SLE case is returned from `repost_current_voucher`, future qty is not updated
- This just doubly shifts all future qty which is then fixed by a repost
- Until the repost balance values are wrong
- Bin continues to show wrong projected qty even after repost, this is fixed by next SLE that recalculates Bin
(cherry picked from commit 7a5fd71a6c )
2022-07-19 08:10:21 +00:00
Marica
31930a16fa
Merge pull request #31624 from marination/sub-contract-amount
...
fix: Set `amount` in Raw Supplied Items table
2022-07-19 12:55:20 +05:30
Deepesh Garg
4f55fef782
Merge pull request #31623 from frappe/mergify/bp/version-13-hotfix/pr-31599
...
fix: Supplier details in TDS monthly report (backport #31599 )
2022-07-19 12:20:29 +05:30
marination
72e8c02ae0
fix: Set Amount in Supplied Item table
2022-07-19 11:47:25 +05:30
Deepesh Garg
f02596242c
Merge pull request #31609 from deepeshgarg007/gstr_3b_gst_category
...
fix(India): Inward supplies from Composition Supplier in GST 3B report
2022-07-19 10:23:44 +05:30
Deepesh Garg
431d79f516
fix: Supplier details in TDS monthly report ( #31599 )
...
(cherry picked from commit a6ff4db2ec )
2022-07-19 04:45:28 +00:00
Rucha Mahabal
711501be5e
fix: Remove unnecessary list comprehensions
2022-07-18 21:32:04 +05:30
Rucha Mahabal
abb7ac5a0b
perf: Replace get_doc with db.get_value in get_shift_details
2022-07-18 21:13:02 +05:30
Rucha Mahabal
85c554eab5
perf: Replace db.get_all with db.exists in is_holiday
...
- widely used function call, fetching all rows for holidays
2022-07-18 21:08:15 +05:30
Nabin Hait
903e42fbdd
perf: Optimization of gl entry processing logic in period closing voucher
2022-07-18 17:59:42 +05:30
mergify[bot]
12d3d6ab49
fix: added Section translation in German for Salary Slip (backport #31608 ) ( #31616 )
...
Co-authored-by: Wolfram Schmidt <wolfram.schmidt@phamos.eu >
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-07-18 13:41:42 +05:30
Rucha Mahabal
26497f9c0e
Merge pull request #31614 from ruchamahabal/fix-claim-payment
...
fix: Tax amount not considered in Expense Claim Journal Entry
2022-07-18 13:24:12 +05:30
Rucha Mahabal
6a7549d4b2
test: Journal Entry against Expense Claim
2022-07-18 12:57:50 +05:30
Rucha Mahabal
90c751f648
fix: Tax amount not considered in Expense Claim Journal Entry
...
- add a helper function `get_outstanding_amount_for_claim` for uniformity in usages
2022-07-18 12:39:09 +05:30
Frappe PR Bot
1090862296
chore(release): Bumped to Version 13.35.3
...
## [13.35.3](https://github.com/frappe/erpnext/compare/v13.35.2...v13.35.3 ) (2022-07-18)
### Bug Fixes
* (india) (e-invoice) CN / DN with 0 qty and discount issues ([425abcd ](425abcdea7 ))
2022-07-18 05:21:17 +00:00
mergify[bot]
425abcdea7
fix: (india) (e-invoice) CN / DN with 0 qty and discount issues
...
* fix: (india) (e-invoice) CN / DN with 0 qty
2022-07-18 10:49:41 +05:30
Deepesh Garg
144057f7e3
Merge pull request #31583 from maharshivpatel/fix-e_invoice-cn-dn-qty-0-error
...
fix: (india) (e-invoice) CN / DN with 0 qty and discount issues
2022-07-18 09:09:19 +05:30
Maharshi Patel
9631ffd215
fix: test
...
change setting to run test with correct use case.
2022-07-17 15:40:55 +05:30
Maharshi Patel
9a3c84663f
fix: linter
2022-07-17 15:22:37 +05:30
Maharshi Patel
2066e5a53a
discount settings for e-invoice added and test cases
2022-07-17 15:08:40 +05:30
Deepesh Garg
b147ce4206
fix(India): Inward supplies from Composition Supplier in 3B report
2022-07-17 00:43:25 +05:30
Deepesh Garg
0d6beed546
test: Update test case
2022-07-16 14:06:01 +05:30
Maharshi Patel
844758a27c
fix: (india)(einvoice) discount for CN DN
2022-07-15 16:54:10 +05:30
Maharshi Patel
1f4d434675
fix: (india) (e-invoice) discount calculation
...
I have added fixes for discount in e-inovice.
2022-07-15 16:03:42 +05:30
Dany Robert
01d6df45d0
fix(india): e-way bill json for unregistered gst category
2022-07-15 11:17:41 +05:30
Deepesh Garg
8c7b836de8
Merge pull request #31595 from maharshivpatel/fix-uin-e_invoice
...
fix: (india) (e-invoice) allow generation for UIN Holders
2022-07-14 21:25:45 +05:30
Deepesh Garg
9fd1fad259
Merge pull request #31572 from frappe/mergify/bp/version-13-hotfix/pr-31566
...
fix: Allow multi currency invoice against single party account (backport #31566 )
2022-07-14 21:25:17 +05:30
Deepesh Garg
dfa0638baf
Merge pull request #31577 from frappe/mergify/bp/version-13-hotfix/pr-31543
...
feat: Loan balance adjustment doctypes (backport #31543 )
2022-07-14 21:24:49 +05:30
Deepesh Garg
0a5bc86d1b
chore: resolve conflicts
2022-07-14 17:20:32 +05:30
Deepesh Garg
bdd15895ff
chore: resolve conflicts
2022-07-14 17:06:01 +05:30
Maharshi Patel
82539fc18a
fix: (india) (e-invoice) allow generation for UIN Holders
...
e-invoice is required for UIN Holders and they should be treated as Registered Regular. there was incorrect if hasattr check that prevented UIN number validation.
2022-07-14 15:12:51 +05:30
Solufyin
cb80bcd0ee
fix: Opening Invoice Creation Tool msgprint
2022-07-13 11:55:47 +05:30
Maharshi Patel
84f260e1d8
fix: (india) (e-invoice) CN / DN with 0 qty
...
Qty 0 is allowed when creating Credit or Debit Note this caused ZeroDivisionError during unit_rate calculation.
fixed the issue by adding required conditionals.
2022-07-13 01:39:36 +05:30
Sagar Sharma
023c5db3bc
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31412
2022-07-12 23:33:48 +05:30
Deepesh Garg
0b3958d692
chore: Linting Issues
...
(cherry picked from commit 0bac030ca7 )
2022-07-12 12:56:46 +00:00
Deepesh Garg
c2a7dc7754
chore: Linting Issues
...
(cherry picked from commit d933ff5cf6 )
2022-07-12 12:56:46 +00:00
Abhinav Raut
8237d94b11
fix: on cancel for loan refund
...
(cherry picked from commit 13b7ed1e2c )
2022-07-12 12:56:45 +00:00
Labeeb Mattra
0713a240a7
Consider refund_amount in pending principal amount
...
(cherry picked from commit 35f2717ad2 )
2022-07-12 12:56:45 +00:00
Labeeb Mattra
61b2a1c3cb
fix excess amount calculation in loan refund
...
(cherry picked from commit 9df1413adb )
2022-07-12 12:56:44 +00:00
Labeeb Mattra
94be7a95f7
Update adjustment_type field options
...
(cherry picked from commit 245b0c7818 )
2022-07-12 12:56:44 +00:00
Labeeb Mattra
7ba0326bdd
fix adjustment amount field name
...
(cherry picked from commit 6cc09ef3a2 )
2022-07-12 12:56:43 +00:00
Labeeb Mattra
86af1ef6ed
fix indent and imports
...
(cherry picked from commit 0ed6382ab6 )
2022-07-12 12:56:43 +00:00
Labeeb Mattra
b995338d0c
fix lint
...
(cherry picked from commit 8434ec09c3 )
2022-07-12 12:56:43 +00:00
Labeeb Mattra
0856e14c13
Use adjustment amounts in pending principal amnt
...
(cherry picked from commit 1b5b2138ee )
2022-07-12 12:56:42 +00:00
Labeeb Mattra
ff5ee2bbac
Add ref no to balance adjustment remarks
...
(cherry picked from commit a1a51ce1a6 )
2022-07-12 12:56:42 +00:00
Labeeb Mattra
a36e8a83d8
Add reference number to repayment remarks
...
(cherry picked from commit 74dbf8c5d9 )
# Conflicts:
# erpnext/loan_management/doctype/loan_repayment/loan_repayment.py
2022-07-12 12:56:41 +00:00
Labeeb Mattra
d81e7e2421
Add NPA checkbox in Loan
...
(cherry picked from commit 27a8e16b28 )
2022-07-12 12:56:41 +00:00
Labeeb Mattra
8181d61293
Update list view for Accrual and Shortfall
...
(cherry picked from commit 7d6e4898c4 )
2022-07-12 12:56:40 +00:00
Labeeb Mattra
548aac5b11
Remove loan account field from doctype
...
(cherry picked from commit 6febcd529b )
2022-07-12 12:56:40 +00:00
Labeeb Mattra
de69fee6aa
Use new adjustment amount fields
...
(cherry picked from commit 7d468a8778 )
2022-07-12 12:56:39 +00:00
Labeeb Mattra
c3e6d7ba29
Seperate credit and debit adjust amount fields in Loan
...
(cherry picked from commit d6f632a770 )
2022-07-12 12:56:38 +00:00
Abhinav Raut
d5ce780e87
feat: add adjustment amount to loan
...
- fix: bugs in loan balance adjustment
(cherry picked from commit 5c0a25012c )
2022-07-12 12:56:38 +00:00
Labeeb Mattra
a2125e694d
Add Loan Balance Adjustment doctype
...
(cherry picked from commit 2e8f056514 )
2022-07-12 12:56:37 +00:00
Labeeb Mattra
0d94653c5b
Add Loan Refund doctype
...
(cherry picked from commit e1682965c5 )
2022-07-12 12:56:36 +00:00
Labeeb Mattra
d9723a12c4
Add refund amount to loan
...
(cherry picked from commit 88cd780ca1 )
2022-07-12 12:56:36 +00:00
Labeeb Mattra
d24cb01a9d
Add more loan interest accrual types
...
(cherry picked from commit a81da2ea85 )
2022-07-12 12:56:35 +00:00
Labeeb Mattra
ab214bcdfc
update loan interest accrual types
...
(cherry picked from commit 900c878e03 )
2022-07-12 12:56:35 +00:00
Frappe PR Bot
751fbd6794
chore(release): Bumped to Version 13.35.2
...
## [13.35.2](https://github.com/frappe/erpnext/compare/v13.35.1...v13.35.2 ) (2022-07-12)
### Bug Fixes
* components in the same table don't get updated value of prev payment-days based component ([01beb6f ](01beb6f391 ))
* conflicts ([2045df1 ](2045df19f9 ))
* Incorrect provisional expense booking while reposting ([d182137 ](d182137ed1 ))
* timeout error while reposting ([07b80c2 ](07b80c295d ))
* Use Contact Name instead of Supplier in RFQ Email ([b0e17de ](b0e17dea2a ))
* Use fallback conversion factor while setting incoming rate for petty purchase ([2a432c2 ](2a432c22d4 ))
* Validate payment-days-based dependent component ([a28c7cf ](a28c7cf094 ))
2022-07-12 09:29:26 +00:00
Deepesh Garg
36566c1d14
Merge pull request #31574 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-07-12 14:57:39 +05:30
Rucha Mahabal
28e4e4320e
Merge pull request #31521 from ruchamahabal/fix-salary-calc-pd
...
fix: components in the same table don't get updated value of prev payment-days based component
2022-07-12 12:06:21 +05:30
Rucha Mahabal
1133062bfc
Merge branch 'version-13-hotfix' into fix-salary-calc-pd
2022-07-12 11:42:07 +05:30
Rucha Mahabal
a28c7cf094
fix: Validate payment-days-based dependent component
2022-07-12 11:39:00 +05:30
Deepesh Garg
1c686c732e
chore: fix query
...
(cherry picked from commit e04e67c6bf )
2022-07-11 15:44:49 +00:00
Deepesh Garg
66c5290dee
chore: Ignore validation
...
(cherry picked from commit 3cf609fab1 )
2022-07-11 15:44:49 +00:00
Deepesh Garg
9ac9c46dab
fix: Allow multi currency invoice against single party account
...
(cherry picked from commit c83fbd5c50 )
# Conflicts:
# erpnext/accounts/doctype/accounts_settings/accounts_settings.json
2022-07-11 15:44:48 +00:00
Sagar Sharma
faa489bc73
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31412
2022-07-11 17:11:21 +05:30
Sagar Sharma
b17850ac3e
chore: conflicts
2022-07-11 17:09:30 +05:30
Marica
7d36bdf292
Merge pull request #31565 from frappe/mergify/bp/version-13-hotfix/pr-31550
...
fix: Use Contact Name instead of Supplier in RFQ Email (backport #31550 )
2022-07-11 12:35:18 +05:30
marination
b331c462ef
chore: Instantiate variable unconditionally
...
(cherry picked from commit 300e812a1f )
2022-07-11 05:52:08 +00:00
marination
b0e17dea2a
fix: Use Contact Name instead of Supplier in RFQ Email
...
(cherry picked from commit 88ac519b24 )
2022-07-11 05:52:07 +00:00
Frappe PR Bot
be3b010b44
chore(release): Bumped to Version 13.35.1
...
## [13.35.1](https://github.com/frappe/erpnext/compare/v13.35.0...v13.35.1 ) (2022-07-08)
### Bug Fixes
* Use fallback conversion factor while setting incoming rate for petty purchase ([bac8546 ](bac854628f ))
2022-07-08 10:20:30 +00:00
Deepesh Garg
45799f51b3
Merge pull request #31558 from frappe/mergify/bp/version-13/pr-31529
...
fix: Use fallback conversion factor while setting incoming rate for petty purchase (backport #31529 )
2022-07-08 15:48:47 +05:30
marination
bac854628f
fix: Use fallback conversion factor while setting incoming rate for petty purchase
...
- PIs for petty items (that do not need an Item record) are allowed using Item Name field
- If a different UOM is used in this case, conversion factor stays 0 and causes an error
- Fallback to 1 in `set_incoming_rate` for buying
- Selling will need a proper item, so this change is not needed there
(cherry picked from commit aa043fe961 )
2022-07-08 09:47:05 +00:00
Deepesh Garg
6d04bafb04
Merge pull request #31518 from frappe/mergify/bp/version-13-hotfix/pr-31516
...
fix: Incorrect provisional expense booking while reposting (backport #31516 )
2022-07-07 11:53:58 +05:30
rohitwaghchaure
c4f39c7b8b
Merge pull request #31538 from frappe/mergify/bp/version-13-hotfix/pr-31519
...
fix: timeout error while reposting (backport #31519 )
2022-07-06 14:33:26 +05:30
rohitwaghchaure
2045df19f9
fix: conflicts
2022-07-06 12:34:10 +05:30
Rohit Waghchaure
07b80c295d
fix: timeout error while reposting
...
(cherry picked from commit 78c8bb251e )
# Conflicts:
# erpnext/stock/doctype/stock_entry/test_stock_entry.py
2022-07-06 07:02:31 +00:00
Marica
a8c3882400
Merge pull request #31534 from frappe/mergify/bp/version-13-hotfix/pr-31529
...
fix: Use fallback conversion factor while setting incoming rate for petty purchase (backport #31529 )
2022-07-06 01:20:51 +05:30
marination
2a432c22d4
fix: Use fallback conversion factor while setting incoming rate for petty purchase
...
- PIs for petty items (that do not need an Item record) are allowed using Item Name field
- If a different UOM is used in this case, conversion factor stays 0 and causes an error
- Fallback to 1 in `set_incoming_rate` for buying
- Selling will need a proper item, so this change is not needed there
(cherry picked from commit aa043fe961 )
2022-07-05 19:09:36 +00:00
Deepesh Garg
776e807ade
Merge pull request #31530 from vorasmit/warn-remove-india
...
chore: deprecation warning for remove-india
2022-07-05 22:46:33 +05:30
Smit Vora
6bda2a0865
chore: deprecation warning for remove-india
2022-07-05 21:20:51 +05:30
Frappe PR Bot
5072e6b1dc
chore(release): Bumped to Version 13.35.0
...
# [13.35.0](https://github.com/frappe/erpnext/compare/v13.34.2...v13.35.0 ) (2022-07-05)
### Bug Fixes
* **India:** Discounts in E-Invoicing ([9ba7290 ](9ba7290dc9 ))
* Internal PI link in Sales Invoice ([8727a6c ](8727a6c5da ))
* Modify opts parameter misspell (backport [#31476 ](https://github.com/frappe/erpnext/issues/31476 )) ([#31477 ](https://github.com/frappe/erpnext/issues/31477 )) ([4d987a9 ](4d987a9510 )), closes [#31474 ](https://github.com/frappe/erpnext/issues/31474 )
* offset some scheduled jobs to avoid locks (backport [#31466 ](https://github.com/frappe/erpnext/issues/31466 )) ([#31489 ](https://github.com/frappe/erpnext/issues/31489 )) ([b1c6d78 ](b1c6d789a9 ))
* **UX:** dont apply price list when changing batch on mapped docs (backport [#31503 ](https://github.com/frappe/erpnext/issues/31503 )) ([#31504 ](https://github.com/frappe/erpnext/issues/31504 )) ([31fd263 ](31fd263825 ))
### Features
* Cash and Non trade discounts in Sales Invoice ([fd2ec25 ](fd2ec25588 ))
2022-07-05 08:55:20 +00:00
Deepesh Garg
a8180796db
Merge pull request #31524 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-07-05 14:22:20 +05:30
Rucha Mahabal
01beb6f391
fix: components in the same table don't get updated value of prev payment-days based component
2022-07-04 23:14:26 +05:30
Deepesh Garg
d182137ed1
fix: Incorrect provisional expense booking while reposting
...
(cherry picked from commit 60aad31162 )
2022-07-04 14:58:41 +00:00
mergify[bot]
31fd263825
fix(UX): dont apply price list when changing batch on mapped docs (backport #31503 ) ( #31504 )
...
fix(UX): dont apply price list when changing batch on mapped docs (#31503 )
fix(UX): dont apply price list batch change on mapped docs
(cherry picked from commit 7e40c86c56 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-07-04 17:02:11 +05:30
Ankush Menat
5fc93076f4
chore: ignore late binding warnings
...
Most are false positives
[skip ci]
2022-07-04 13:22:01 +05:30
Deepesh Garg
827794b676
Merge pull request #31510 from frappe/mergify/bp/version-13-hotfix/pr-31405
...
feat: Cash and Non trade discounts in Sales Invoice (backport #31405 )
2022-07-04 11:58:45 +05:30
Deepesh Garg
c72ae178fa
chore: resolve conflicts
2022-07-03 14:05:34 +05:30
Deepesh Garg
4a5d681c77
chore: use get instead of . operator
...
(cherry picked from commit e54ec4b9b6 )
2022-07-03 08:05:23 +00:00
Deepesh Garg
57dc1026c8
test: Add test for einvoice discounts
...
(cherry picked from commit 38352b3e46 )
2022-07-03 08:05:22 +00:00
Deepesh Garg
9ba7290dc9
fix(India): Discounts in E-Invoicing
...
(cherry picked from commit f337213f33 )
2022-07-03 08:05:21 +00:00
Deepesh Garg
fd2ec25588
feat: Cash and Non trade discounts in Sales Invoice
...
(cherry picked from commit 169ff5a0dd )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/sales_invoice.js
2022-07-03 08:05:19 +00:00
Deepesh Garg
eb85ef974a
Merge pull request #31508 from frappe/mergify/bp/version-13-hotfix/pr-31493
...
fix: Internal PI link in Sales Invoice (backport #31493 )
2022-07-03 10:09:51 +05:30
Deepesh Garg
8727a6c5da
fix: Internal PI link in Sales Invoice
...
(cherry picked from commit 536e768ba9 )
2022-07-02 17:17:50 +00:00
Ankush Menat
1b9a4483d4
chore(meta): update CODEOWNERS
2022-07-01 15:44:18 +05:30
Deepesh Garg
fecf567e92
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31412
2022-06-30 16:46:59 +05:30
Ankush Menat
2e130c335a
ci: reduce container count on v13
2022-06-30 11:38:12 +05:30
mergify[bot]
b1c6d789a9
fix: offset some scheduled jobs to avoid locks (backport #31466 ) ( #31489 )
...
fix: offset some scheduled jobs to avoid locks (#31466 )
If your site has multiple background workers then there's possibility
that two jobs will execute in parallal, this creates problem when both
are on operating on same data.
This PR adds a separate section for hourly and daily jobs which have
frequency offset from default frequency to avoid such conflicts.
(cherry picked from commit 5d73697c64 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-30 11:35:01 +05:30
mergify[bot]
4d987a9510
fix: Modify opts parameter misspell (backport #31476 ) ( #31477 )
...
fix: Modify opts parameter misspell (#31476 )
Modify opts parameter misspell
closes #31474
(cherry picked from commit 2a619fd789 )
Co-authored-by: gn306029 <gn306029@users.noreply.github.com >
2022-06-29 14:58:03 +05:30
Frappe PR Bot
43cb4fcbb1
chore(release): Bumped to Version 13.34.2
...
## [13.34.2](https://github.com/frappe/erpnext/compare/v13.34.1...v13.34.2 ) (2022-06-28)
### Bug Fixes
* add UOM validation for planned-qty ([559bde3 ](559bde3135 ))
* dont update RM items table if not required (backport [#31408 ](https://github.com/frappe/erpnext/issues/31408 )) ([#31457 ](https://github.com/frappe/erpnext/issues/31457 )) ([8155306 ](815530650c ))
* General Ledger and TB opening entries mismatch issues ([a0c5c73 ](a0c5c730f5 ))
* Monthly depreciation using WDV method ([e7659a1 ](e7659a10e4 ))
* Quotation and Sales Order item sync ([2219132 ](2219132fdb ))
* Respect system precision for user facing balance qty values ([#30837 ](https://github.com/frappe/erpnext/issues/30837 )) ([642b9c5 ](642b9c5466 ))
* **Salary Slip:** Components not updated when amount evaluates to 0 due to payment days ([#31425 ](https://github.com/frappe/erpnext/issues/31425 )) ([abfe926 ](abfe926a45 ))
* translation for filter status on report ([736f206 ](736f20656d ))
* update ru translate (backport [#31404 ](https://github.com/frappe/erpnext/issues/31404 )) ([#31417 ](https://github.com/frappe/erpnext/issues/31417 )) ([8b78a12 ](8b78a122e7 ))
2022-06-28 07:31:44 +00:00
Deepesh Garg
0d5bb92149
Merge pull request #31464 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-06-28 13:00:06 +05:30
mergify[bot]
815530650c
fix: dont update RM items table if not required (backport #31408 ) ( #31457 )
...
fix: dont update RM items table if not required (#31408 )
Currently on PO update RM item table is auto computed again and again,
if there was any transfer/consumption against that then it will be lost.
This change:
1. Disables updating RM table if no change in qty of FG was made. Since
RM table can't possibly be different with same FG qty.
2. Blocks update completely if qty is changed and RM items are already
transferred.
(cherry picked from commit dd11f26eba )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-28 10:28:11 +05:30
Deepesh Garg
8ab65bc44e
Merge pull request #31453 from frappe/mergify/bp/version-13-hotfix/pr-31446
...
fix: Quotation and Sales Order item sync (backport #31446 )
2022-06-28 08:49:21 +05:30
mergify[bot]
5e7cad476f
refactor: clean up product bundle client side code (backport #31455 ) ( #31456 )
...
refactor: clean up product bundle client side code (#31455 )
refactor: clean up product bundle cient side code
- Remove deprecated CUR_FRM scripts
- Remove client side fetches and move it to doctype schema
(cherry picked from commit 20dac08f5f )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-27 18:33:17 +05:30
Deepesh Garg
2219132fdb
fix: Quotation and Sales Order item sync
...
(cherry picked from commit 58fe220479 )
2022-06-27 05:48:39 +00:00
Deepesh Garg
873d1ecdf0
Merge pull request #31447 from frappe/mergify/bp/version-13-hotfix/pr-31439
...
fix: General Ledger and TB opening entries mismatch issues (backport #31439 )
2022-06-27 09:47:00 +05:30
Deepesh Garg
a0c5c730f5
fix: General Ledger and TB opening entries mismatch issues
...
(cherry picked from commit 6acd0325be )
2022-06-24 16:15:38 +00:00
Nabin Hait
e7659a10e4
fix: Monthly depreciation using WDV method
2022-06-24 21:12:31 +05:30
Sagar Sharma
96bd493a6f
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31412
2022-06-24 13:17:43 +05:30
Marica
5f8d8c096c
Merge pull request #31440 from frappe/mergify/bp/version-13-hotfix/pr-31421
...
fix: add UOM validation for planned-qty (backport #31421 )
2022-06-24 13:02:44 +05:30
s-aga-r
559bde3135
fix: add UOM validation for planned-qty
...
(cherry picked from commit 00807abe31 )
2022-06-24 07:10:55 +00:00
Deepesh Garg
d1bb94bb1d
Merge pull request #31431 from frappe/mergify/bp/version-13-hotfix/pr-31395
...
fix: filter set in Bank Clearance Summary (backport #31395 )
2022-06-23 14:26:45 +05:30
Rucha Mahabal
abfe926a45
fix(Salary Slip): Components not updated when amount evaluates to 0 due to payment days ( #31425 )
...
* fix(Salary Slip): Components not updated when amount evaluates to 0 due to payment days
* fix: remove 0 valued components that have been updated later
2022-06-23 11:01:00 +05:30
Nihantra C. Patel
4b53ec22c5
Update bank_clearance_summary.py
...
(cherry picked from commit 0097a2b60c )
2022-06-23 05:25:17 +00:00
Marica
87f77813ea
Merge pull request #31422 from frappe/mergify/bp/version-13-hotfix/pr-31420
...
fix: translation for filter status on report (backport #31420 )
2022-06-22 14:01:42 +05:30
Marica
b4e64d0ebb
Merge pull request #31423 from marination/bom-update-log-cleanup-perf-hotfix
...
chore: Clear Progress section for completed logs & `on_submit` UX
2022-06-22 14:01:19 +05:30
marination
fcec318588
chore: Clear Progress section for completed logs & on_submit UX
...
- Delete `BOM Update Batch` table on 'Completed' log, to save space
- Hide Progress section on 'Completed' log
- Enqueue `on_submit` for 'Update Cost' job, getting leaf boms could take time for huge DBs. Users have to wait for screen to unfreeze.
- Add error handling to `process_boms_cost_level_wise` (Called via cron job and on submit, both in background)
2022-06-22 12:27:08 +05:30
hrzzz
736f20656d
fix: translation for filter status on report
...
(cherry picked from commit 8b1ff96e30 )
2022-06-22 06:16:52 +00:00
mergify[bot]
8b78a122e7
fix: update ru translate (backport #31404 ) ( #31417 )
...
* fix: update ru translate (#31404 )
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
fix logic
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
(cherry picked from commit ce1b4e40a1 )
# Conflicts:
# erpnext/translations/ru.csv
* chore: Fix merge conflicts
Co-authored-by: Vladislav <integration.into.society@gmail.com >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-21 20:14:13 +05:30
Marica
1e34616c91
Merge pull request #31393 from frappe/mergify/bp/version-13-hotfix/pr-30837
...
fix: Respect system precision for user facing balance qty values (backport #30837 )
2022-06-21 20:13:23 +05:30
Frappe PR Bot
0a25d28e34
chore(release): Bumped to Version 13.34.1
...
## [13.34.1](https://github.com/frappe/erpnext/compare/v13.34.0...v13.34.1 ) (2022-06-21)
### Bug Fixes
* Conversion rate validation for multi-currency invoices ([4186aaf ](4186aafd07 ))
* **india:** e-invoice eligibility if company gstin is not configured ([#31247 ](https://github.com/frappe/erpnext/issues/31247 )) ([7696ae4 ](7696ae4de1 ))
* internal transfer GLE validation ([8a4cd2a ](8a4cd2aba1 ))
* Merge Conflicts ([0f3a02d ](0f3a02db57 ))
* Pick Template BOM if variant BOM absent in WO popup from SO ([7c35887 ](7c35887d07 ))
* Quotation lost update ([3b9f943 ](3b9f943335 ))
* Spelling mistake in quotation depend on (backport [#31362 ](https://github.com/frappe/erpnext/issues/31362 )) ([#31363 ](https://github.com/frappe/erpnext/issues/31363 )) ([ebcdaf7 ](ebcdaf7c82 ))
* transaction date gets unset in material request ([#31387 ](https://github.com/frappe/erpnext/issues/31387 )) ([4e2ed6f ](4e2ed6f9d9 )), closes [#31327 ](https://github.com/frappe/erpnext/issues/31327 )
* UOM handling for transaction without item (backport [#31389 ](https://github.com/frappe/erpnext/issues/31389 )) ([#31391 ](https://github.com/frappe/erpnext/issues/31391 )) ([051e5cd ](051e5cd741 ))
### Performance Improvements
* GLE reposting with progress and chunking (backport [#31343 ](https://github.com/frappe/erpnext/issues/31343 )) ([#31373 ](https://github.com/frappe/erpnext/issues/31373 )) ([f19ed0b ](f19ed0b74c ))
2022-06-21 11:14:34 +00:00
s-aga-r
def622c13e
fix: set default_bom for item
...
(cherry picked from commit dc2830da4d )
# Conflicts:
# erpnext/manufacturing/doctype/bom/test_bom.py
2022-06-21 11:13:31 +00:00
Ankush Menat
d6d2215d8e
Merge pull request #31414 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-06-21 16:39:04 +05:30
Deepesh Garg
e43e442448
Merge pull request #31413 from frappe/mergify/bp/version-13-hotfix/pr-31264
...
fix: internal transfer GLE validation (backport #31264 )
2022-06-21 14:56:56 +05:30
Ankush Menat
8a4cd2aba1
fix: internal transfer GLE validation
...
(cherry picked from commit 65b21ee7d6 )
2022-06-21 09:02:02 +00:00
Marica
3f4d00d288
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-30837
2022-06-21 11:02:46 +05:30
Deepesh Garg
8b3fc15ca8
Merge pull request #31397 from frappe/mergify/bp/version-13-hotfix/pr-31396
...
fix: Quotation lost update (backport #31396 )
2022-06-21 10:28:45 +05:30
Deepesh Garg
760ba0877c
Merge pull request #31411 from frappe/mergify/bp/version-13-hotfix/pr-31350
...
fix: Conversion rate validation for multi-currency invoices (backport #31350 )
2022-06-21 10:28:15 +05:30
Deepesh Garg
da70b69d68
test: Add test case
...
(cherry picked from commit 8f37393044 )
2022-06-21 03:40:13 +00:00
Deepesh Garg
4186aafd07
fix: Conversion rate validation for multi-currency invoices
...
(cherry picked from commit d05d15346a )
2022-06-21 03:40:13 +00:00
marination
70a7dfe2f0
chore: Missing import flt
2022-06-20 17:18:01 +05:30
Marica
e982abbe4d
chore: Change autoname to v13 compatible value ( #31407 )
...
- 'autoincrement' is present only in v14
- 'hash' is automatically still used in tables but change value for safety
2022-06-20 17:09:52 +05:30
marination
5bcfbbe124
chore: fix merge conflict
2022-06-20 16:59:18 +05:30
Deepesh Garg
8e2e61ef84
chore: resolve conflicts
2022-06-18 20:23:58 +05:30
Deepesh Garg
b3169edfc8
Merge pull request #31275 from frappe/mergify/bp/version-13-hotfix/pr-31247
...
fix(india): e-invoice eligibility if company gstin is not configured (backport #31247 )
2022-06-17 21:41:44 +05:30
Deepesh Garg
8d63abb442
chore: fix condition
...
(cherry picked from commit e457288dba )
# Conflicts:
# erpnext/selling/doctype/quotation/quotation.py
2022-06-17 15:39:53 +00:00
Deepesh Garg
3b9f943335
fix: Quotation lost update
...
(cherry picked from commit 02f9441e1a )
# Conflicts:
# erpnext/selling/doctype/quotation/quotation.py
2022-06-17 15:39:52 +00:00
Marica
642b9c5466
fix: Respect system precision for user facing balance qty values ( #30837 )
...
* fix: Respect system precision for user facing balance qty values
- `get_precision` -> `set_precision`
- Use system wide currency precision for `stock_value`
- Round of qty defiiciency as per user defined precision (system flt precision), so that it is WYSIWYG for users
* fix: Consider system precision when validating future negative qty
* test: Immediate Negative Qty precision test
- Test for Immediate Negative Qty precision
- Stock Entry Negative Qty message: Format available qty in system precision
- Pass `stock_uom` as confugrable option in `make_item`
* test: Future Negative Qty validation with precision
* fix: Use `get_field_precision` for currency precision as it used to
- `get_field_precision` defaults to number format for precision (maintain old behaviour)
- Don't pass `currency` to `get_field_precision` as its not used anymore
(cherry picked from commit d6078aa911 )
# Conflicts:
# erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py
2022-06-17 09:46:09 +00:00
mergify[bot]
051e5cd741
fix: UOM handling for transaction without item (backport #31389 ) ( #31391 )
...
fix: UOM handling for transaction without item (#31389 )
If invoice is made without item code then UOM, Stock UOM and
conversion_factor all need to be manually added, this is confusing and
leads missing them out leads to errors.
Simplest solution:
- if either UOM exists then set both to same uom conversion factor to
- also set conversion factor based on UOM conversions
(cherry picked from commit 10583eb3ce )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-17 15:11:28 +05:30
mergify[bot]
4e2ed6f9d9
fix: transaction date gets unset in material request ( #31387 )
...
* fix: transaction date gets unset in material request (#31327 )
* fix: set date correctly in material request
* fix: use only `transaction_date` in `get_item_details`
* fix: resolve merge conflict
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2022-06-17 12:04:10 +05:30
Marica
2d6e518f87
Merge pull request #31380 from frappe/mergify/bp/version-13-hotfix/pr-31372
...
chore: Fix a potential variable misuse bug (backport #31372 )
2022-06-16 12:47:58 +05:30
Marica
0f3a02db57
fix: Merge Conflicts
2022-06-16 12:23:13 +05:30
Jingxuan He
2cd03196a4
chore: Fix a potential variable misuse bug ( #31372 )
...
* Fix a potential variable misuse bug
* chore: Separate check (separate line) for empty table in Pricing Rule
* chore: Code readability & check for field in row (now row itself)
Co-authored-by: marination <maricadsouza221197@gmail.com >
(cherry picked from commit b4a93da9f3 )
# Conflicts:
# erpnext/accounts/doctype/pricing_rule/pricing_rule.py
2022-06-16 06:47:49 +00:00
Ankush Menat
f19ed0b74c
perf: GLE reposting with progress and chunking (backport #31343 ) ( #31373 )
...
* fix: dont use cached doc for GLE reposts
ported from https://github.com/frappe/erpnext/pull/31240
* perf: GLE reposting with progress and chunking
If stock voucher count goes >1000 then fetching all gles and reposting
them all at once requires much more memory and can cause crash.
- This PR ensures that GLE reposting is done in chunks of 100 vouchers.
- This PR also starts keeping track of how many such chunks were
processed so in future progress is resumed in event of timeout.
* test: add "actual" test for chunked GLE reposting
2022-06-15 20:54:20 +05:30
Marica
001130c0da
Merge pull request #31368 from frappe/mergify/bp/version-13-hotfix/pr-31353
...
fix: Pick Template BOM if variant BOM absent in WO popup from SO (backport #31353 )
2022-06-15 15:42:58 +05:30
marination
7c35887d07
fix: Pick Template BOM if variant BOM absent in WO popup from SO
...
- Use `get_default_bom` in sales_order.py (reduce duplicate utility functions)
- Remove redundant if else in `get_work_order_items`
- `get_default_bom`: If no BOM and template exists try to fetch template BOM
- test: `get_work_order_items` via SO and if right BOM is picked
(cherry picked from commit 9f2d325e67 )
2022-06-15 09:07:54 +00:00
mergify[bot]
ebcdaf7c82
fix: Spelling mistake in quotation depend on (backport #31362 ) ( #31363 )
...
* fix: Spelling mistake in quotation depend on (#31362 )
Update quotation.json
(cherry picked from commit 37e9622426 )
* chore: bump modified
Co-authored-by: Nihantra C. Patel <99652762+nihantra@users.noreply.github.com >
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-15 12:05:46 +05:30
Frappe PR Bot
943d83b739
chore(release): Bumped to Version 13.34.0
...
# [13.34.0](https://github.com/frappe/erpnext/compare/v13.33.0...v13.34.0 ) (2022-06-14)
### Bug Fixes
* (auto-merge) Use `frappe.log_error` instead of `doc.log_error` ([bced6a0 ](bced6a07b4 ))
* `test_work_order_with_non_stock_item` ([b827c3b ](b827c3b3c9 ))
* Add cost center in loan document ([c19dfbe ](c19dfbe98a ))
* **asset:** failing test case ([#31277 ](https://github.com/frappe/erpnext/issues/31277 )) ([8a4c9d1 ](8a4c9d1238 ))
* Auto Insert Item Price If Missing when discount & blank UOM (backport [#31168 ](https://github.com/frappe/erpnext/issues/31168 )) ([#31267 ](https://github.com/frappe/erpnext/issues/31267 )) ([e69bff0 ](e69bff0caa ))
* Call `calculate_cost` for Draft BOM and typo in argument ([d035aa2 ](d035aa2afb ))
* Company address filter in quotation ([d375939 ](d375939475 ))
* DB update child items, remove redundancy, fix perf ([cbc52a2 ](cbc52a2e45 ))
* Depreciate Asset before generating GL Entries on sale ([#30759 ](https://github.com/frappe/erpnext/issues/30759 )) ([dfbfe40 ](dfbfe403e9 ))
* Get fresh RM rate in `calculate_rm_cost` ([9a513fd ](9a513fda74 ))
* **India:** Incorrect taxable in GSTR-3B report ([e5d2c59 ](e5d2c59929 ))
* **India:** Sales taxes and charges template fetching in quotation ([a1ba847 ](a1ba8475d0 ))
* locale Currency and Float setting in update_employee ([391ed9c ](391ed9c567 ))
* misaligned columns in print format of AR/AP report ([81e32e2 ](81e32e2855 ))
* Partially Ordered status for quotation ([37ba550 ](37ba550398 ))
* purchase invoice standalone return GLEs (backport [#31209 ](https://github.com/frappe/erpnext/issues/31209 )) ([#31263 ](https://github.com/frappe/erpnext/issues/31263 )) ([6d99b5a ](6d99b5a95a ))
* Reset represents company on disabling internal customer and supplier (backport [#31302 ](https://github.com/frappe/erpnext/issues/31302 )) ([#31306 ](https://github.com/frappe/erpnext/issues/31306 )) ([fb9b302 ](fb9b302ecf ))
* Safe cast `row.rate` (in case of faulty exploded items, edge case but oh well) ([6d65e2b ](6d65e2bab4 ))
* Supplied Qty not updated on Stock Entry cancel ([79b2062 ](79b20622c9 ))
* Trial Balance failing to ignore Finance Book ([00371f4 ](00371f4a22 ))
* typo in sql condition ([894f945 ](894f945be7 ))
* update fr translation (backport [#31232 ](https://github.com/frappe/erpnext/issues/31232 )) ([#31334 ](https://github.com/frappe/erpnext/issues/31334 )) ([5d0f271 ](5d0f271451 ))
* update Period Closing Voucher per Company ([5ebbe81 ](5ebbe81543 ))
* update ru translate (backport [#31200 ](https://github.com/frappe/erpnext/issues/31200 )) ([#31304 ](https://github.com/frappe/erpnext/issues/31304 )) ([77e4755 ](77e4755c1f ))
* Use `frappe.as_unicode` to decode output of redis module list (backport [#31282 ](https://github.com/frappe/erpnext/issues/31282 )) ([#31283 ](https://github.com/frappe/erpnext/issues/31283 )) ([633a452 ](633a4521e4 ))
* **ux:** hide new version btn on unsaved BOM (backport [#31297 ](https://github.com/frappe/erpnext/issues/31297 )) ([#31298 ](https://github.com/frappe/erpnext/issues/31298 )) ([9f6b32a ](9f6b32af12 ))
* **UX:** use doc.status for Job Card status ([#31320 ](https://github.com/frappe/erpnext/issues/31320 )) ([78473b8 ](78473b8d99 ))
### Features
* Add german translations ([a3f2cf3 ](a3f2cf3917 ))
* Level-wise BOM cost updation ([74d7d81 ](74d7d81d6e ))
* Only update exploded items rate and amount ([a26da58 ](a26da58718 ))
* Track progress in Log Batch/Job wise ([3b2a8bf ](3b2a8bf837 ))
### Performance Improvements
* `get_boms_in_bottom_up_order` ([87c2b3b ](87c2b3be0b ))
* `get_next_higher_level_boms` ([767a775 ](767a775709 ))
* Use cached doc instead of `get_doc` ([faa69c9 ](faa69c942b ))
2022-06-14 07:45:40 +00:00
Deepesh Garg
662a63b3f5
Merge pull request #31349 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-06-14 13:13:45 +05:30
Deepesh Garg
55e0c03ef0
Merge pull request #31347 from frappe/mergify/bp/version-13-hotfix/pr-31322
...
fix: Company address filter in quotation (backport #31322 )
2022-06-14 12:44:59 +05:30
Deepesh Garg
da1a948a28
chore: resolve conflicts
2022-06-14 11:36:43 +05:30
Deepesh Garg
823cf88c3c
chore: linting issues
...
(cherry picked from commit fb3da124e5 )
2022-06-14 05:47:58 +00:00
Deepesh Garg
37ba550398
fix: Partially Ordered status for quotation
...
(cherry picked from commit 118c786e63 )
# Conflicts:
# erpnext/selling/doctype/quotation/quotation.json
2022-06-14 05:47:57 +00:00
Deepesh Garg
a1ba8475d0
fix(India): Sales taxes and charges template fetching in quotation
...
(cherry picked from commit 243625898e )
2022-06-14 05:47:55 +00:00
Deepesh Garg
d375939475
fix: Company address filter in quotation
...
(cherry picked from commit 2fc04f661a )
2022-06-14 05:47:54 +00:00
Marica
c5bda9cb09
Merge pull request #31344 from frappe/mergify/bp/version-13-hotfix/pr-31341
...
fix: Supplied Qty not updated on Stock Entry cancel (backport #31341 )
2022-06-13 23:24:49 +05:30
Marica
6064ca6fed
test: Pass "yes" instead of 1 for is_subcontracted in create_purchase_order
2022-06-13 21:06:04 +05:30
marination
86a0ba5c9f
test: PO Supplied Qty reset on cancel/submit
...
(cherry picked from commit b8f468cb4f )
2022-06-13 15:13:54 +00:00
marination
79b20622c9
fix: Supplied Qty not updated on Stock Entry cancel
...
- Loop over PO supplied items and update them as data from SE will exclude a row if supplied qty becomes 0 on cancel
- Use DB API insteaf of raw SQL
(cherry picked from commit fa1d9d548e )
2022-06-13 15:13:53 +00:00
Saqib Ansari
fb1325d7a5
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31247
2022-06-13 17:08:23 +05:30
mergify[bot]
5d0f271451
fix: update fr translation (backport #31232 ) ( #31334 )
...
* fix: update fr translation (#31232 )
* update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* fix:update fr translation
* Update fr.csv
update typo
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* update fr translation
* fix: Use elision instead of HTML code equivalent
* fix: Use elision instead of HTML code equivalent (pt 2)
* fix: Use elision/single quote instead of HTML code equivalent (pt 3)
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit 83367bfe5e )
* fix: Accidental '=' instead of comma
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-13 12:18:46 +05:30
Marica
1e6e652988
Merge pull request #31314 from frappe/mergify/bp/version-13-hotfix/pr-31303
...
fix: locale Currency and Float setting in update_employee (backport #31303 )
2022-06-13 10:49:29 +05:30
Marica
ff770bbf04
Merge pull request #31321 from frappe/mergify/bp/version-13-hotfix/pr-31320
...
fix(UX): use doc.status for Job Card status (backport #31320 )
2022-06-13 10:30:05 +05:30
Ankush Menat
78473b8d99
fix(UX): use doc.status for Job Card status ( #31320 )
...
- Use doc.status directly for indicator - single source of truth
- Update status to cancelled when doc is cancelled
(cherry picked from commit 39ec0aca95 )
2022-06-13 10:04:53 +05:30
Deepesh Garg
977d6969d5
Merge pull request #31318 from frappe/mergify/bp/version-13-hotfix/pr-31295
...
fix: update Period Closing Voucher per Company (backport #31295 )
2022-06-11 23:44:22 +05:30
mergify[bot]
50a4c2e9dc
refactor: remove add_fetch (backport #31315 ) ( #31319 )
...
* refactor: remove add_fetch (#31315 )
- Sales Team already had fetch from set up
- Set up fetch from on sales partner in sales transaction
Reason for removal: the JS code applies arbitrarily to any field called "sales_person"
(cherry picked from commit 1646fbe478 )
# Conflicts:
# erpnext/selling/sales_common.js
* chore: conflicts
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-10 18:30:50 +05:30
hendrik
5ebbe81543
fix: update Period Closing Voucher per Company
...
Validate period closing voucher company-wise
(cherry picked from commit 74b274f555 )
2022-06-10 09:23:36 +00:00
Deepesh Garg
395f86f42b
Merge pull request #31310 from frappe/mergify/bp/version-13-hotfix/pr-31294
...
fix(India): Incorrect taxable in GSTR-3B report (backport #31294 )
2022-06-10 14:27:20 +05:30
Deepesh Garg
9e0cb2a467
Merge pull request #31262 from frappe/mergify/bp/version-13-hotfix/pr-30155
...
fix: Add cost center in loan document (backport #30155 )
2022-06-10 13:16:33 +05:30
Deepesh Garg
1aaca097b3
chore: Linting Issues
2022-06-10 12:51:16 +05:30
Deepesh Garg
309bdf257d
Merge pull request #31139 from frappe/mergify/bp/version-13-hotfix/pr-31102
...
feat: Add german translations (backport #31102 )
2022-06-10 12:42:10 +05:30
Deepesh Garg
4c9422fb1b
chore: resolve conflicts
2022-06-10 12:39:12 +05:30
RJPvT
391ed9c567
fix: locale Currency and Float setting in update_employee
...
In fieldtypes locale settings (example NL) . and , changes whereby the field is inproperly filled
(cherry picked from commit 17887cde71 )
2022-06-10 06:05:51 +00:00
Deepesh Garg
95f8784ea9
chore: Resolve conflicts
2022-06-10 10:59:46 +05:30
Deepesh Garg
176a6722e5
chore: cleanup
...
(cherry picked from commit 50aafdbe99 )
2022-06-10 05:19:55 +00:00
Deepesh Garg
e5d2c59929
fix(India): Incorrect taxable in GSTR-3B report
...
(cherry picked from commit 20f568c159 )
2022-06-10 05:19:54 +00:00
Deepesh Garg
384ce92b4b
Merge pull request #31307 from frappe/mergify/bp/version-13-hotfix/pr-31216
...
fix: Trial Balance failing to ignore Finance Book (backport #31216 )
2022-06-10 00:10:23 +05:30
Sun Howwrongbum
894f945be7
fix: typo in sql condition
...
(cherry picked from commit ee2949aa3f )
2022-06-09 15:05:15 +00:00
Deepesh Garg
44642dba39
chore: Linting Issues
...
(cherry picked from commit b9dbb36d0e )
2022-06-09 15:05:14 +00:00
Sun Howwrongbum
00371f4a22
fix: Trial Balance failing to ignore Finance Book
...
(cherry picked from commit 48bde2de2a )
2022-06-09 15:05:14 +00:00
mergify[bot]
fb9b302ecf
fix: Reset represents company on disabling internal customer and supplier (backport #31302 ) ( #31306 )
...
fix: Reset represents company on disabling internal customer and supplier (#31302 )
(cherry picked from commit c13e5ad741 )
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com >
2022-06-09 19:20:53 +05:30
mergify[bot]
77e4755c1f
fix: update ru translate (backport #31200 ) ( #31304 )
...
* fix: update ru translate (#31200 )
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
* Update ru.csv
fix logic
* Update ru.csv
* Update ru.csv
* Update ru.csv
(cherry picked from commit 2675751d6c )
# Conflicts:
# erpnext/translations/ru.csv
* fix: Merge conflicts
Co-authored-by: Vladislav <integration.into.society@gmail.com >
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-09 19:16:48 +05:30
Marica
bb431bb21f
Merge pull request #31299 from frappe/mergify/bp/version-13-hotfix/pr-31296
...
fix: misaligned columns in print format of AR/AP report (backport #31296 )
2022-06-09 18:31:20 +05:30
Marica
48de5ab62a
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31296
2022-06-09 18:09:09 +05:30
Marica
3816ae21bb
Merge pull request #31078 from marination/v13-perf-bom-update-tool
...
perf: BOM Update Tool (backport)
2022-06-09 17:51:28 +05:30
meaziz
9347cbbc9f
chore: Asset Arabic translation Fix ( #31221 )
...
Update ar.csv
Fix Translation arabic translation that caused an error when submitting an asset if user language was arabic
2022-06-09 17:43:31 +05:30
ruthra kumar
81e32e2855
fix: misaligned columns in print format of AR/AP report
...
(cherry picked from commit bbaa14af16 )
2022-06-09 12:06:11 +00:00
mergify[bot]
9f6b32af12
fix(ux): hide new version btn on unsaved BOM (backport #31297 ) ( #31298 )
...
fix(ux): hide new version btn on unsaved BOM (#31297 )
(cherry picked from commit d9a5213952 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-06-09 17:22:50 +05:30
marination
5a08850aa1
chore: Less hacky tests, versioning (replace bom) and clearing log data (update cost)
...
- Remove `auto_commit_on_many_writes` in `update_cost_in_level()` as commits happen every N BOMs
- Auto commit every 50 BOMs
- test: Remove hacky `frappe.flags.in_test` returns
- test: Enqueue `now` if in tests (for update cost and replace bom)
- Replace BOM: Copy bom object to `_doc_before_save` so that version.py finds a difference between the two
- Replace BOM: Add reference to version
- Update Cost: Unset `processed_boms` if Log is completed (useless after completion)
- test: `update_cost_in_all_boms_in_test` works close to actual prod implementation (only call Cron job manually)
- Test: use `enqueue_replace_bom` so that test works closest to production behaviour
Co-authored-by: Ankush Menat <ankushmenat@gmail.com >
2022-06-09 16:56:19 +05:30
Marica
7a868a46d5
Merge branch 'version-13-hotfix' into v13-perf-bom-update-tool
2022-06-09 13:33:52 +05:30
mergify[bot]
633a4521e4
fix: Use frappe.as_unicode to decode output of redis module list (backport #31282 ) ( #31283 )
...
fix: Use `frappe.as_unicode` to decode output of redis module list (#31282 )
- As of redis 7, a list is added to the result of fetching the module list
- This list cannot be "decoded",so use `frappe.as_unicode` that handles bytes as well as other types
(cherry picked from commit 2832731601 )
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2022-06-08 18:12:02 +05:30
Saqib Ansari
e1fe901a91
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31247
2022-06-08 14:21:31 +05:30
Saqib Ansari
8a4c9d1238
fix(asset): failing test case ( #31277 )
2022-06-08 14:12:59 +05:30
Marica
8656020c00
Merge branch 'version-13-hotfix' into v13-perf-bom-update-tool
2022-06-08 14:09:51 +05:30
marination
289d65a4ed
chore: get_valuation_rate sider fixes
...
- Use qb instead of db.sql
- Don't use `args` as argument for function
- Cleaner variable names
2022-06-08 14:08:45 +05:30
marination
b529a610fb
test: Fix test_update_bom_cost_in_all_boms
...
- Use base_rate for assertions as rate is subject to change due to conversion factor (USD)
2022-06-08 14:08:12 +05:30
marination
c7accb9c33
test: Util to update cost in all BOMs
...
- Utility to update cost in all BOMs without cron jobs or background jobs (run immediately)
- Re-use util wherever all bom costs are to be updated
- Skip explicit commits if in test
- Specify company in test records (dirty data sometimes, company wh mismatch)
- Skip background jobs queueing if in test
2022-06-08 14:07:34 +05:30
Saqib Ansari
7696ae4de1
fix(india): e-invoice eligibility if company gstin is not configured ( #31247 )
...
(cherry picked from commit fb4f8d870b )
2022-06-08 04:06:58 +00:00
Ganga Manoj
dfbfe403e9
fix: Depreciate Asset before generating GL Entries on sale ( #30759 )
2022-06-08 09:35:43 +05:30
mergify[bot]
e69bff0caa
fix: Auto Insert Item Price If Missing when discount & blank UOM (backport #31168 ) ( #31267 )
...
fix: Auto Insert Item Price If Missing when discount & blank UOM (#31168 )
* fix: Auto Insert Item Price If Missing when discount and blank UOM
fixes wrong item price insert when discount is used and adds uom=stock_uom instead of blank as price is converted to stock uom
* unit tests added for item with discount
I have added test for auto_insert_price where discount is used.
* unit test issue fixed
fixed make_sales_order as some of the test that depended on it were failing due to passing of incorrect parameters.
Co-authored-by: Ankush Menat <me@ankush.dev >
(cherry picked from commit b3ccc4bfb9 )
Co-authored-by: maharshivpatel <39730881+maharshivpatel@users.noreply.github.com >
2022-06-07 16:04:00 +05:30
Ankush Menat
0e53edfd49
test: sales register report with conditions ( #31266 )
2022-06-07 16:03:29 +05:30
mergify[bot]
6d99b5a95a
fix: purchase invoice standalone return GLEs (backport #31209 ) ( #31263 )
...
* test: create stock test mixin for assertion/utils
(cherry picked from commit 293eb8d722 )
# Conflicts:
# erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py
# erpnext/stock/tests/test_utils.py
* fix: purchase invoice return GLe
voucher_wise_stock_value contains tuples and the condition was looking
for string, so it's never triggered.
Caused by https://github.com/frappe/erpnext/pull/24200
(cherry picked from commit 7726271e2a )
* chore: conflicts
Co-authored-by: Ankush Menat <me@ankush.dev >
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-07 15:43:37 +05:30
Frappe PR Bot
3b1f9fe03b
chore(release): Bumped to Version 13.33.0
...
# [13.33.0](https://github.com/frappe/erpnext/compare/v13.32.0...v13.33.0 ) (2022-06-07)
### Bug Fixes
* Close unsecured terms loans ([d6d1d79 ](d6d1d79ba0 ))
* Consider only Approved leave applications in LWP, Employee Benefit calculations ([7f84c86 ](7f84c86d43 ))
* display currencies in validation message. ([ef22337 ](ef22337a9b ))
* incorrect billed_qty in sales order analysis report when multiple delivery notes for item (backport [#31194 ](https://github.com/frappe/erpnext/issues/31194 )) ([#31250 ](https://github.com/frappe/erpnext/issues/31250 )) ([3b1f6da ](3b1f6da741 ))
* incorrect LWP calculation for half days in employee benefit application ([10f0c93 ](10f0c935fe ))
* **India:** GSTIN filter in GSTR-1 report ([abe9fe7 ](abe9fe70ce ))
* **India:** Supplies from composite dealer not showing up ([15712c7 ](15712c742b ))
* **job card:** only hold during draft state (backport [#31243 ](https://github.com/frappe/erpnext/issues/31243 )) ([#31249 ](https://github.com/frappe/erpnext/issues/31249 )) ([a7fc278 ](a7fc278b60 ))
* **Leave Application:** 'Cancelled' status shown as 'Open' in list view ([8b48d45 ](8b48d45286 ))
* leave balance for earned leaves in backdated Leave Application dashboard (backport [#31253 ](https://github.com/frappe/erpnext/issues/31253 )) ([#31256 ](https://github.com/frappe/erpnext/issues/31256 )) ([a22d92f ](a22d92f946 ))
* only fetch membership expiry if not already set in `member.js` ([#31259 ](https://github.com/frappe/erpnext/issues/31259 )) ([d433784 ](d433784171 ))
* Parent dimension filters in orders ([b3cbcd8 ](b3cbcd871b ))
* Pluralize year text instead of optional bracket (backport [#31210 ](https://github.com/frappe/erpnext/issues/31210 )) ([#31212 ](https://github.com/frappe/erpnext/issues/31212 )) ([b31709c ](b31709c793 ))
* re-validate warehouse after 'update items' (backport [#31203 ](https://github.com/frappe/erpnext/issues/31203 )) ([#31206 ](https://github.com/frappe/erpnext/issues/31206 )) ([3a718c7 ](3a718c7d5f ))
* remove leave policy assignment creation patch (backport [#31097 ](https://github.com/frappe/erpnext/issues/31097 )) ([#31204 ](https://github.com/frappe/erpnext/issues/31204 )) ([4aeb448 ](4aeb448fea ))
* Remove redundant query ([3c4cf59 ](3c4cf5929f ))
* Reverse provisional entries on Purchase Invoice cancel ([1fba432 ](1fba432786 ))
* **Sales Register:** incorrect query with dimensions (backport [#31242 ](https://github.com/frappe/erpnext/issues/31242 )) ([#31251 ](https://github.com/frappe/erpnext/issues/31251 )) ([0badfc8 ](0badfc8748 ))
* Simply cancel reverse entries ([100b8d9 ](100b8d9b96 ))
### Features
* **india:** Improve E-way Bill Cancellation. ([#31088 ](https://github.com/frappe/erpnext/issues/31088 )) ([622d25e ](622d25e126 ))
2022-06-07 09:59:51 +00:00
Deepesh Garg
5f7f8361d9
Merge pull request #31265 from frappe/version-13-hotfix
...
chore: weekly version-13 release
2022-06-07 15:28:17 +05:30
Deepesh Garg
f087246e38
Merge pull request #31261 from frappe/mergify/bp/version-13-hotfix/pr-31258
...
fix: Close unsecured terms loans (backport #31258 )
2022-06-07 14:52:47 +05:30
Deepesh Garg
c19dfbe98a
fix: Add cost center in loan document
...
(cherry picked from commit 5d66cc4c4a )
# Conflicts:
# erpnext/loan_management/doctype/loan_interest_accrual/loan_interest_accrual.py
# erpnext/patches.txt
2022-06-07 08:40:48 +00:00
Deepesh Garg
ef8483d2ea
chore: Resolve conflicts
2022-06-07 14:10:44 +05:30
Deepesh Garg
8cb85fa90b
Merge pull request #31260 from frappe/mergify/bp/version-13-hotfix/pr-31233
...
fix: Reverse provisional entries on Purchase Invoice cancel (backport #31233 )
2022-06-07 14:03:44 +05:30
Rucha Mahabal
d433784171
fix: only fetch membership expiry if not already set in member.js ( #31259 )
2022-06-07 14:01:12 +05:30
Deepesh Garg
d6d1d79ba0
fix: Close unsecured terms loans
...
(cherry picked from commit 815141bf57 )
# Conflicts:
# erpnext/loan_management/doctype/loan/loan.py
2022-06-07 08:24:23 +00:00
Deepesh Garg
42a0b82c71
test: Add test coverage for cancellation
...
(cherry picked from commit dc8e80ea81 )
2022-06-07 08:01:46 +00:00
Deepesh Garg
100b8d9b96
fix: Simply cancel reverse entries
...
(cherry picked from commit 86a24f3d22 )
2022-06-07 08:01:45 +00:00
Deepesh Garg
1fba432786
fix: Reverse provisional entries on Purchase Invoice cancel
...
(cherry picked from commit 61fa4eb6c9 )
2022-06-07 08:01:45 +00:00
Rucha Mahabal
149c6031a1
chore: add missing import
2022-06-07 11:08:29 +05:30
Rucha Mahabal
ad1b419368
test: Employee Benefit Application
...
- make `get_no_of_days` a function for reusability
2022-06-07 11:08:29 +05:30
Rucha Mahabal
10f0c935fe
fix: incorrect LWP calculation for half days in employee benefit application
2022-06-07 11:08:29 +05:30
Rucha Mahabal
8b48d45286
fix(Leave Application): 'Cancelled' status shown as 'Open' in list view
2022-06-07 11:08:29 +05:30
Rucha Mahabal
144d71c6af
refactor: rewrite lwp queries using query builder
2022-06-07 11:08:29 +05:30
Rucha Mahabal
7f84c86d43
fix: Consider only Approved leave applications in LWP, Employee Benefit calculations
...
- do not allow submitting leave applications with 'Cancelled' status
2022-06-07 11:08:29 +05:30
mergify[bot]
a22d92f946
fix: leave balance for earned leaves in backdated Leave Application dashboard (backport #31253 ) ( #31256 )
...
fix: leave balance for earned leaves in backdated Leave Application dashboard
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-06-07 10:22:27 +05:30
Deepesh Garg
86856491b7
Merge pull request #31235 from frappe/mergify/bp/version-13-hotfix/pr-31219
...
fix: Parent dimension filters in orders (backport #31219 )
2022-06-06 20:53:33 +05:30
Deepesh Garg
60d378aed2
chore: Resolve conflicts
2022-06-06 20:36:40 +05:30
mergify[bot]
3b1f6da741
fix: incorrect billed_qty in sales order analysis report when multiple delivery notes for item (backport #31194 ) ( #31250 )
...
* fix: incorrect billed_qty when item has multiple Delivery note
sales order analysis report returns incorrect billed_qty value for
an SO item has multiple delivery notes
(cherry picked from commit 0331e37982 )
* test: multiple delivery notes and billed quantity
(cherry picked from commit 4f1bfbb93d )
Co-authored-by: ruthra kumar <ruthra@erpnext.com >
2022-06-06 19:55:18 +05:30
mergify[bot]
a7fc278b60
fix(job card): only hold during draft state (backport #31243 ) ( #31249 )
...
* fix(job card): only hold during draft state (#31243 )
(cherry picked from commit ee5bc58e9b )
# Conflicts:
# erpnext/patches.txt
* chore: conflicts
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-06-06 19:54:56 +05:30
mergify[bot]
0badfc8748
fix(Sales Register): incorrect query with dimensions (backport #31242 ) ( #31251 )
...
fix(Sales Register): incorrect query with dimensions
If accounting dimension is also part of the default filters then same
query is repeated with incorrect syntax.
e.g. `item_group = (child1, child2)` instead of `in` query.
fix: don't add default filter if they are part of dimensions to be
added.
(cherry picked from commit c3219ebad1 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-06-06 19:54:41 +05:30
marination
d3b06a682c
chore: get_valuation_rate in bom.py must always return float & goto Item master if no bins
2022-06-06 18:15:07 +05:30
marination
7bd5558c31
chore: Miscellanous fixes/enhancements
...
- `get_valuation_rate`: if no bins are found return 0, SLEs do not exist either
- `get_valuation_rate`: Compute average valuation rate via query
- `get_rm_rate_map`: set order_by as None to avoid creating sort index (modified) each time query runs (seen in process list)
- BOM Update Batch: add status field and hide `boms_updated` so that users can see progress without loading all updated boms (too much data)
- BOM Update Batch: set batch row status to completed after job runs
- BOM Update Log: remove `parent_boms` field (just pass parent boms to processing function) & remove Paused state (not used)
- Move job to long queue to avoid choking default queue
- `update_cost_in_boms`: use `get_doc` as each BOM is accessed only once. Use `for_update` to lock BOM row
- Commit after every 100 BOMs
2022-06-06 17:04:06 +05:30
Deepesh Garg
b58c7750c6
Merge pull request #31237 from frappe/mergify/bp/version-13-hotfix/pr-31223
...
fix: display currencies in validation message. (backport #31223 )
2022-06-06 14:48:21 +05:30
Deepesh Garg
aaaacf9a8f
Merge pull request #31241 from frappe/mergify/bp/version-13-hotfix/pr-31230
...
fix: Remove redundant query (backport #31230 )
2022-06-06 14:48:00 +05:30
Deepesh Garg
3c4cf5929f
fix: Remove redundant query
...
(cherry picked from commit a200e7e1fb )
2022-06-06 06:54:41 +00:00
Deepesh Garg
ed89963d65
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31223
2022-06-06 12:24:34 +05:30
Deepesh Garg
281fe34457
Merge pull request #31236 from frappe/mergify/bp/version-13-hotfix/pr-31231
...
fix(India): Supplies from composite dealer not showing up (backport #31231 )
2022-06-06 12:24:20 +05:30
Deepesh Garg
d07014340f
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31223
2022-06-06 11:50:30 +05:30
Deepesh Garg
fa0984f192
Merge pull request #31234 from frappe/mergify/bp/version-13-hotfix/pr-31218
...
fix(India): GSTIN filter in GSTR-1 report (backport #31218 )
2022-06-06 11:45:41 +05:30
Deepesh Garg
3ea2c95768
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31223
2022-06-06 10:42:48 +05:30
Deepesh Garg
23d94c135f
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31231
2022-06-06 10:42:41 +05:30
Deepesh Garg
66bc9a974e
Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31218
2022-06-06 10:42:28 +05:30
Deepesh Garg
91716e9c26
Merge pull request #31238 from frappe/mergify/bp/version-13-hotfix/pr-31217
...
ci: stale apt cache (backport #31217 )
2022-06-06 10:06:41 +05:30
Ankush Menat
2db12d7bfa
ci: stale apt cache ( #31217 )
...
(cherry picked from commit c7efa3b44d )
2022-06-06 04:03:14 +00:00
Devin Slauenwhite
f4a4dacb22
chore: linter
...
(cherry picked from commit b061ea4cd2 )
2022-06-06 03:37:41 +00:00
Devin Slauenwhite
ef22337a9b
fix: display currencies in validation message.
...
(cherry picked from commit 3a1c923e76 )
2022-06-06 03:37:40 +00:00
Deepesh Garg
15712c742b
fix(India): Supplies from composite dealer not showing up
...
(cherry picked from commit db07831db7 )
2022-06-06 03:30:59 +00:00
Deepesh Garg
b3cbcd871b
fix: Parent dimension filters in orders
...
(cherry picked from commit 3f376cc3a5 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
# erpnext/accounts/doctype/sales_invoice/sales_invoice.js
2022-06-06 03:29:07 +00:00
Deepesh Garg
abe9fe70ce
fix(India): GSTIN filter in GSTR-1 report
...
(cherry picked from commit f0ac394d6e )
2022-06-06 03:28:38 +00:00
marination
3b2a8bf837
feat: Track progress in Log Batch/Job wise
...
- This was done due to stale reads while the background jobs tried updating status of the log
- Added a table where all bom jobs within log will be tracked with what level they are processing
- Cron job will check if table jobs are all processed every 5 mins
- If yes, it will prepare parents and call `process_boms_cost_level_wise` to start next level
- If pending jobs, do nothing
- Current BOM Level is being tracked that helps adding rows to the table
- Individual bom cost jobs (that are queued) will process and update boms > will update BOM Update Batch table row with list of updated BOMs
2022-06-02 13:41:56 +05:30
mergify[bot]
b31709c793
fix: Pluralize year text instead of optional bracket (backport #31210 ) ( #31212 )
...
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
Co-authored-by: Mohammad Hussain Nagaria <34810212+NagariaHussain@users.noreply.github.com >
2022-06-01 16:47:02 +05:30
mergify[bot]
3a718c7d5f
fix: re-validate warehouse after 'update items' (backport #31203 ) ( #31206 )
...
fix: re-validate warehouse after 'update items' (#31203 )
(cherry picked from commit c84e11ac82 )
Co-authored-by: Ankush Menat <me@ankush.dev >
2022-06-01 15:24:55 +05:30
mergify[bot]
8b985d632f
test: fix attendance tests for unmarked days (backport #31205 ) ( #31208 )
...
test: fix attendance tests for unmarked days (#31205 )
* test: fix attendance tests for unmarked days
* chore: remove unused import
(cherry picked from commit 536f1dfc4b )
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-06-01 14:15:59 +05:30
mergify[bot]
4aeb448fea
fix: remove leave policy assignment creation patch (backport #31097 ) ( #31204 )
...
* fix: remove leave policy assignment creation patch (#31097 )
(cherry picked from commit d4b9cc0242 )
# Conflicts:
# erpnext/patches.txt
* chore: fix conflicts
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2022-06-01 12:46:17 +05:30
Deepesh Garg
910ab405ae
Merge pull request #31188 from frappe/mergify/bp/version-13-hotfix/pr-31088
...
feat(india): Check E-way Bill Status before Cancellation. (backport #31088 )
2022-05-31 21:41:54 +05:30
marination
e6ad56cd68
chore: Limit Update Cost jobs & db_update only if changed values
...
- If `Update Cost` job is ongoing, then block creation of new ones since all BOMs are updated
- `db_update` in `calculate_rm_cost` only if changed values to reduce redundant row updates
- Misc: Use variable for batch size
2022-05-31 16:01:22 +05:30
maharshivpatel
622d25e126
feat(india): Improve E-way Bill Cancellation. ( #31088 )
...
(cherry picked from commit a8f98f3f96 )
2022-05-31 06:45:23 +00:00
marination
bced6a07b4
fix: (auto-merge) Use frappe.log_error instead of doc.log_error
...
- The latter is only on develop
2022-05-27 22:06:12 +05:30
marination
6d65e2bab4
fix: Safe cast row.rate (in case of faulty exploded items, edge case but oh well)
2022-05-27 22:01:26 +05:30
marination
767a775709
perf: get_next_higher_level_boms
...
- Separate getting dependants and checking if they are valid (loop within loop led to redundant processing that slowed down function)
- Adding to above, the same dependant(parent) was repeatedly processed as many children shared it. Expensive.
- Use a parent-child map similar to child-parent map to check if all children are resolved
- `map.get()` reduced time: 10 mins -> 0.9s~1 second (as compared to `get_cached_doc` or query)
- Total time: 17 seconds to process 6599 leaf boms and 4.2L parent boms
- Previous Total time: >10 mins (I terminated it due to not wanting to waste time XD)
2022-05-27 21:16:07 +05:30
marination
12f0a9a183
chore: Change BOM Progress field types to Long Text
2022-05-27 17:05:29 +05:30
marination
a26da58718
feat: Only update exploded items rate and amount
...
- Generate RM-Rate map from Items table (will include subassembly items with rate)
- Function to reset exploded item rate from above map
- `db_update` exploded item rate only if rate is changed
- Via Update Cost, only update exploded items rate, do not regenerate table again
- Exploded Items are regenerated on Save and Replace BOM job
- `calculate_exploded_cost` is run only via non doc events (Update Cost button, Update BOMs Cost Job)
2022-05-27 15:10:50 +05:30
barredterra
a3f2cf3917
feat: Add german translations
...
(cherry picked from commit 2388d86623 )
# Conflicts:
# erpnext/translations/de.csv
2022-05-26 06:20:15 +00:00
marination
196a824c4f
style: Update docstrings and fix/add type hints + Collapsible progress section in Log
2022-05-25 16:48:07 +05:30
marination
74d7d81d6e
feat: Level-wise BOM cost updation
...
- Process BOMs level wise and Pause after level is complete
- Cron job will resume Paused jobs, which will again process the new level and pause at the end
- This will go on until all BOMs are updated
- Added Progress section with fields to track updated BOMs in Log
- Cleanup: Add BOM Updation utils file to contain helper functions/sub-functions
- Cleanup: BOM Update Log file will only contain functions that are in direct context of the Log
Co-authored-by: Gavin D'souza <gavin18d@gmail.com >
2022-05-25 16:47:54 +05:30
marination
b827c3b3c9
fix: test_work_order_with_non_stock_item
...
- Use the right price list and currency to avoid rate conversion (1000/62.9), since rates are reset correctly now
- Use RM rate based on Price List in BOM. Non stock item has no valuation
2022-05-20 12:34:15 +05:30
marination
9a513fda74
fix: Get fresh RM rate in calculate_rm_cost
2022-05-20 12:23:52 +05:30
marination
faa69c942b
perf: Use cached doc instead of get_doc
...
- Doc is only used to iterate over items(which wont change) and change rate/amount of rows
- These changes are inserted in db via `db_update`, so no harm
- Tested locally: refetching cached doc after db update, reflects fresh data.
2022-05-20 12:23:42 +05:30
marination
d035aa2afb
fix: Call calculate_cost for Draft BOM and typo in argument
2022-05-20 12:23:32 +05:30
marination
cbc52a2e45
fix: DB update child items, remove redundancy, fix perf
...
- Move `get_boms_in_bottom_up_order` in bom update tool’s file
- Remove repeated rm cost update from `update_cost`. `calculate_cost` handles RM cost update
- db_update children in `calculate_cost` optionally
- Don’t call `update_exploded_items` and regenerate exploded items in `update_cost`. They will stay the same (except cost)
2022-05-20 12:23:18 +05:30
marination
87c2b3be0b
perf: get_boms_in_bottom_up_order
...
- Create child-parent map once and fetch value from child key to get parents
- Get parents recursively for a leaf node (get all ancestors)
- Approx. 44 secs for 4lakh 70k boms
2022-05-20 12:20:24 +05:30