Frappe PR Bot
74af3be968
fix: set production plan to completed even on over production ( #27027 ) ( #27032 )
...
(cherry picked from commit 09f34e558e )
Co-authored-by: Alan <2.alan.tom@gmail.com >
[skip ci]
2021-08-19 10:50:06 +00:00
Subin Tom
02a23bae58
Fix: Payment Entry party validation issue ( #27022 )
...
Co-authored-by: Subin Tom <subin-home@Subins-MacBook-Air.local >
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-19 15:49:16 +05:30
Frappe PR Bot
df32fe3d49
Merge pull request #27026 from ankush/eq_assign ( #27030 )
...
fix: equality check instead of assignment
[skip ci]
(cherry picked from commit 993b0532f8 )
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-08-19 15:45:39 +05:30
Ankush Menat
92b3743c54
Merge pull request #27024 from ankush/whitespace_fix
...
chore: whitespace cleanup from codebase
2021-08-19 14:57:57 +05:30
Ankush Menat
b42c23cad6
chore: ignore whitespace changes in git blame
2021-08-19 14:36:17 +05:30
Ankush Menat
9bb69e711a
chore: whitespace cleanup from codebase
2021-08-19 14:33:03 +05:30
Frappe PR Bot
e536f6d13f
fix: assigning values to rows in sales register reports ( #26546 ) ( #27020 )
...
* fix: assigning values to rows in sales register reports
* fix: check for is_internal_customer for unrealized_profit_loss_account
(cherry picked from commit ecd6584c50 )
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-19 13:30:50 +05:30
Frappe PR Bot
f37747da25
fix: Add ignore user perms to set_target_warehouse field in sales invoice ( #27013 )
...
* fix: Add ignore user perms to set_target_warehouse field in sales invoice (#26987 )
* reverting ot v12.7.1
* fix: Ignore user permissions for set_target_warehouse in SI
Co-authored-by: Subin Tom <subin-home@Subins-MacBook-Air.local >
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
(cherry picked from commit ef792971f3 )
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/sales_invoice.json
* fix: conflicts
* fix: conflicts
Co-authored-by: Subin Tom <36098155+nemesis189@users.noreply.github.com >
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-19 12:16:15 +05:30
Frappe PR Bot
25b705e2ad
fix: sales pipeline graph issue ( #26626 ) ( #27018 )
...
(cherry picked from commit 34353df48c )
Co-authored-by: Anupam Kumar <anupamvns0099@gmail.com >
2021-08-19 11:46:55 +05:30
rohitwaghchaure
87326dd489
Merge pull request #27007 from anupamvs/email-digest-fix
...
fix: [patch]Email digest fix
2021-08-19 11:09:21 +05:30
Frappe PR Bot
8ea5782c69
fix: filtering of items in Sales and Purchase Orders ( #26936 ) ( #27012 )
...
* fix: filtering of items in Sales and Purchase Orders
* fix: slider
* fix: slider
(cherry picked from commit dc7280eef0 )
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-18 20:44:45 +05:30
Frappe PR Bot
6a35d580e4
fix: Dimension filter query fix to avoid including disabled dimensions ( #26988 ) ( #27006 )
...
* reverting ot v12.7.1
* fix: Dimension filter query fix to not display disabled dimensions
Co-authored-by: Subin Tom <subin-home@Subins-MacBook-Air.local >
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
(cherry picked from commit 333e44eb47 )
Co-authored-by: Subin Tom <36098155+nemesis189@users.noreply.github.com >
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-18 18:46:25 +05:30
Frappe PR Bot
77ad668a6f
fix: date_unchanged calculation in "Update Items" ( #26992 ) ( #27010 )
...
Branch corrected https://github.com/frappe/erpnext/pull/26058
ERPNext generates "Cannot set quantity less than delivered quantity" error even the delivered qty is zero when user clicks "Update Items".
"date_unchanged" variable gets false value because of new_date is string.
"getdate(new_date)" corrects the date comparison.

(cherry picked from commit d8a7abcd02 )
Co-authored-by: Türker Tunalı <turkert@hotmail.com >
2021-08-18 12:32:59 +00:00
Anupam
36f18935d3
fix: email digest recipient patch
2021-08-18 16:30:45 +05:30
Anupam
01a538123b
Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into version-13-hotfix
2021-08-18 16:15:38 +05:30
Frappe PR Bot
e555e8cf05
fix: Return Qty in PR/DN for legacy data ( #27001 ) ( #27003 )
...
(cherry picked from commit 112fc888f1 )
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2021-08-18 10:30:51 +00:00
Frappe PR Bot
5e17b82779
fix: set account for change amount even if pos profile not found ( #26986 ) ( #26989 )
...
(cherry picked from commit 5fec44446e )
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-17 20:34:35 +05:30
Deepesh Garg
9c401e75bb
Merge pull request #26980 from deepeshgarg007/payment_entry_unallocated_fix_v13
...
fix: Incorrect unallocated amount calculation in payment entry
2021-08-17 19:14:07 +05:30
Frappe PR Bot
90818d57f1
fix: change print_format_type from Server to Jinja ( #26374 ) ( #26985 )
...
(cherry picked from commit a2966db1e5 )
Co-authored-by: Mohammed Redah <mhbu50@gmail.com >
2021-08-17 13:36:08 +00:00
Ankush Menat
333d962ac2
test: fix tests failing due to doc amend feature (bp #26656 ) ( #26907 )
...
* test: fix test due to rename change
* test: fix attendance request tests
- Use `frappe.db.get_value` instead of `get_doc` for asserting values
- Get values after cancellation as reloading attendance doc breaks due to stale doc (primary key changed after cancel of attendance request)
- rollback everything on tearDown
* test: fix Shift Request test
- Use `get_value` instead of `get_doc`
- Remove unnecessary loop, only one shift assignment is made against a shift request
- Get value after cancel again. Get doc is not reliable since primary key changed after cancel
* test: fix POS Closing Entry Test
- Separated into two tests, one checks if SI cancelling is blocked, the other checks PCE cancel impact
- This is done because after cancel via assertRaises, damage done by cancel still exists or is partially comitted
- Dont use this partially cancelled doc for any assertions further, end test at exception assertion
- Use `get_value` to check SI docstatus, as its primary key changes after cancel
* test: fixed asset movement tests
- set cwip account in company to avoid value missing
- removed unused statement
- removed trailing spaces
* Revert "test: fix POS Closing Entry Test"
This reverts commit 8f1a3aef2e .
Co-authored-by: marination <maricadsouza221197@gmail.com >
2021-08-17 18:01:39 +05:30
Deepesh Garg
2730f51ca9
test: Add test case for payment entry
2021-08-17 17:44:30 +05:30
Raffael Meyer
ace8cf965d
fix: typo ( #26967 )
2021-08-17 16:13:28 +05:30
Deepesh Garg
94f2c41475
fix: Incorrect unallocated amount calculation in payment entry
2021-08-17 13:31:17 +05:30
Sagar Vora
48a11591cc
Merge pull request #26976 from resilient-tech/fix-incorrect-modified ( #26979 )
...
fix: Incorrect `modified` time in documents that inherit from `StatusUpdater`
(cherry picked from commit d932cba38a )
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2021-08-17 13:21:00 +05:30
Sagar Vora
6e921b1ccc
Merge pull request #26976 from resilient-tech/fix-incorrect-modified
...
fix: Incorrect `modified` time in documents that inherit from `StatusUpdater`
(cherry picked from commit d932cba38a )
2021-08-17 07:48:29 +00:00
Frappe PR Bot
133486a5c7
Merge pull request #26906 from ChillarAnand/label ( #26972 )
...
fix: Changed label to "Inpatient Visit Charge" in appointment type
(cherry picked from commit 8c851b7019 )
Co-authored-by: Chillar Anand <anand21nanda@gmail.com >
2021-08-17 11:12:33 +05:30
Deepesh Garg
94030e08f1
Merge pull request #26963 from deepeshgarg007/distributed_budget_variance_report_v13
...
fix: Budget variance missing values
2021-08-16 18:28:09 +05:30
Frappe PR Bot
663e550824
ci: ignore backports while checking docs ( #26962 ) ( #26965 )
...
[skip ci]
(cherry picked from commit 2a43fe1a22 )
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-08-16 18:20:07 +05:30
Deepesh Garg
d076ba5c94
fix: Budget variance missing values
2021-08-16 18:02:15 +05:30
Frappe PR Bot
3c9b8dce21
feat: Training Event Status Update and Validations ( #26698 ) ( #26961 )
...
* fix: training event employee status not updated on feedback submission
* feat: update attendees status on training event status update
* test: Training Event and Feedback
* chore: remove unused import
(cherry picked from commit bf75ea70fb )
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2021-08-16 17:57:14 +05:30
Frappe PR Bot
64dfbfaecb
feat: enable track changes for leave type ( #26917 ) ( #26959 )
...
Co-authored-by: Jannat Patel <31363128+pateljannat@users.noreply.github.com >
(cherry picked from commit a9a24051c9 )
Co-authored-by: Anupam Kumar <anupamvns0099@gmail.com >
2021-08-16 15:17:28 +05:30
Deepesh Garg
1351d6e3be
Merge pull request #26957 from deepeshgarg007/export_type_mandatory_v13
...
fix: Add mandatory depends on condition for export type field
2021-08-16 15:15:43 +05:30
Deepesh Garg
2aa0daf47b
Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into export_type_mandatory_v13
2021-08-16 14:40:13 +05:30
Deepesh Garg
5fddd27cab
fix: Add mandatory depends on condition for export type field
2021-08-16 14:34:40 +05:30
Frappe PR Bot
321dd33015
fix: Org Chart fixes ( #26952 ) ( #26953 )
...
* fix: add z-index to filter to avoid svg wrapper overlapping
* fix: expand all nodes not working when there are only 2 levels
- added dom freeze while expanding all nodes and exporting
(cherry picked from commit 67e3971c3b )
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2021-08-16 10:44:35 +05:30
Deepesh Garg
560483eb98
Merge pull request #26946 from GangaManoj/property-enable-discount-accounting
...
fix: Make enable_discount _accounting a class property
2021-08-14 18:06:17 +05:30
Ankush Menat
6aed9e26ac
fix: unknown attribute "string_type" ( #26947 )
2021-08-14 10:45:43 +05:30
GangaManoj
20a5795d67
fix: Make enable_discount_accounting a class property
2021-08-13 19:23:57 +05:30
Frappe PR Bot
434692ad34
fix: Copy previous balance dict object instead of assigning ( #26942 ) ( #26944 )
...
- Due to plain assignment, dict mutation gave wrong monthly values
(cherry picked from commit fe2a34f171 )
Co-authored-by: Marica <maricadsouza221197@gmail.com >
2021-08-13 10:26:26 +00:00
Frappe PR Bot
7881536e09
ci: ignore js files in unittests ( #26937 )
...
* ci: ignore js files in unittests (#26934 )
* ci: ignore js files in unittests
- Avoid running python unittests on PRs that ONLY change JS files.
* ci: ignore md files in test workflows
(cherry picked from commit 8a6b82b196 )
# Conflicts:
# .github/workflows/server-tests.yml
* fix: resolve conflicts
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-08-13 07:59:48 +00:00
Frappe PR Bot
cb583a349f
fix: show proper currency symbol in taxes and charges table ( #26827 ) ( #26935 )
...
Co-authored-by: Saqib <nextchamp.saqib@gmail.com >
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com >
(cherry picked from commit 587d2db6a9 )
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-13 12:43:02 +05:30
Frappe PR Bot
a2a5800b23
fix: Deferred Revenue Section should be collapsible only if its not enabled ( #26930 )
...
* fix: Deferred Revenue Section should be collapsible only if its not enabled (#26928 )
(cherry picked from commit 1de4c01942 )
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json
# erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.json
* fix: conflicts
* fix: conflicts
* fix: conflicts
* fix: conflicts
* fix: conflicts
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
2021-08-13 10:58:43 +05:30
Suraj Shetty
adfa11d449
fix: Nest .level class style under .hierarchy class ( #26905 )
...
fix: Nest `.level` class style under `.hierarchy` class
2021-08-12 21:12:52 +05:30
Frappe PR Bot
9209c1f91a
fix: from_warehouse getting set to None ( #26920 ) ( #26927 )
...
(cherry picked from commit b8658d003f )
Co-authored-by: Noah Jacob <noahjacobkurian@gmail.com >
2021-08-12 14:54:08 +00:00
Frappe PR Bot
262c1823a5
fix: ZeroDivisionError on creating e-invoice for credit note ( #26919 )
2021-08-12 17:11:55 +05:30
Marica
703b081172
fix: Stock Analytics Report must consider warehouse during calculation ( #26908 )
...
* fix: Stock Analytics Report must consider warehouse during calculation
* fix: Brand filter in Stock Analytics
2021-08-12 10:31:01 +05:30
Frappe PR Bot
f3ae956eae
perf: various minor perf fixes for ledger postings ( #26775 ) ( #26896 )
...
* perf: only validate if voucher is journal entry
* perf: optimize merge GLE
- Order fields such that comparison will fail faster
- Break out of loops if not matched
* perf: don't try to match SLE if count mismatch
* refactor: simplify initialize_previous_data
* perf: use cache for fetching valuation_method
These are set only once fields
* refactor: simplify get_future_stock_vouchers
* refactor: simplify get_voucherwise_gl_entries
* perf: fetch only required fields for GL comparison
`select *` fetches all fields, output of this function is only used for
comparing.
* perf: reorder conditions in PL cost center check
* perf: reduce query while validating new gle
* perf: use cache for validating warehouse props
These properties don't change often, no need to query everytime.
* perf: use cached stock settings to validate SLE
* docs: update misleading docstring
Co-authored-by: Marica <maricadsouza221197@gmail.com >
(cherry picked from commit 9152715f90 )
Co-authored-by: Ankush <ankush@iwebnotes.com >
2021-08-11 12:18:58 +05:30
Rucha Mahabal
fd325a123c
fix(style): apply svg container margin only in desktop view ( #26894 )
2021-08-10 23:49:56 +05:30
Frappe PR Bot
1167a9bf94
fix: unsetting of payment if no pos profile found ( #26891 )
...
* fix: unseting of payment if no pos profile found (#26884 )
(cherry picked from commit b614834efe )
# Conflicts:
# erpnext/public/js/controllers/taxes_and_totals.js
* fix: conflicts
* fix: conflicts
* fix: conflicts
* fix: conflicts
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com >
Co-authored-by: Afshan <afshan13k@gmail.com >
2021-08-10 23:18:23 +05:30
Anupam Kumar
a6aa6cd7d6
fix: timesheet amount issue ( #25993 )
...
* fix: timesheet amount issue
* fix: timesheet detail rate conversion
* fix: condition to check timesheet currency
* fix: removing console statement
2021-08-10 20:32:15 +05:30