Commit Graph
100 Commits
Author SHA1 Message Date
Ankush MenatandGitHub a50251401f perf: move all hourly/daily jobs to maintenance queue (#47504)
None of them need to strictly happen at 00:00 or *:00, so moving them all to maintenance queue which executes with same frequency but spaced out.
2025-05-12 17:58:56 +05:30
Ankush MenatandGitHub 8b602c4608 chore: translations link (#47168) 2025-04-21 05:54:34 +00:00
e47a87839b perf: faster count estimation (#46550)
These count queries themselves take quite a long time. `estimate_count`
uses info_schema stats to guess the time.

Co-authored-by: Nabin Hait <[email protected]>
2025-03-17 07:09:21 +00:00
Ankush MenatandGitHub 41fe30ea6e chore: erpnext.com -> frappe.io/erpnext (#46288) 2025-03-05 05:32:21 +00:00
Ankush MenatandGitHub 999f1cf96d fix: don't allow renaming account while system is actively in use (#46176) 2025-02-28 19:39:50 +05:30
Ankush MenatandGitHub ded0aab680 perf: don't track seen for POS Invoice (#46187)
This is a moving doctype. Do people even browse the list view? 

It doesn't make much sense, either. POS INvoices are rarely "reviewed" by multiple users.
2025-02-28 04:57:57 +00:00
Ankush MenatandGitHub f62aa8fc57 fix(patch): Ensure SLE indexes (#46131)
Because of the way this change was pushed in parts, some sites don't see
this as "update" and don't have the new indexes.
2025-02-25 09:43:53 +00:00
Ankush MenatandGitHub 827afbfa2e fix: track employee changes (#45674)
closes https://github.com/frappe/erpnext/issues/45571
2025-02-03 08:51:50 +00:00
Ankush MenatandGitHub 4f690affc9 perf: Skip link checking on repost's remove_attached_file (#45061)
This is internal detail, doesn't need to do horrible link checks in
framework.
2025-01-02 16:59:31 +00:00
Ankush MenatandAkhil Narang 85b1a8001b ci: ruff only fix imports 2024-05-21 16:05:16 +05:30
Ankush MenatandAkhil Narang 3b4913ec81 ci: dont auto apply fixes
I've personally encountered ~5 instances of bad auto fixes, let
developers apply the fixes.
2024-05-21 16:03:31 +05:30
Ankush MenatandGitHub 7a47b2157b ci: remove mergify from release notes (#41475)
Mergify isn't author, just backporter.

All our stable branch PRs don't have authors so eh.
2024-05-15 05:37:30 +00:00
Ankush MenatandGitHub 6142d07f1a fix: update project URLs (#41331) 2024-05-06 06:02:57 +00:00
Ankush MenatandGitHub 341fb6d8f3 fix: handle stock balance unbuffered_cursor error (#41186) 2024-04-25 11:43:58 +00:00
Ankush MenatandGitHub c2470ccc70 refactor: usage of modified ordering (#40705)
Audited some important code:
- general_ledger.py
- stock_ledger.py
2024-03-27 08:48:01 +00:00
Ankush MenatandGitHub dfde490c02 refactor!: switch to creation sort (#40699) 2024-03-27 13:45:34 +05:30
Ankush MenatandGitHub e055147849 fix: address_display, text -> text editor (#40621)
* fix: address_display, text -> text editor

* fix: text -> text editor for shipping and dispatch_address
2024-03-25 05:46:16 +00:00
Ankush Menat 967540da18 fix: style for tax breakup 2024-03-20 16:56:30 +05:30
Ankush MenatandGitHub b171784d85 Merge pull request #40491 from frappe/make_bom_tests_work
test: fix bom test
2024-03-16 19:12:29 +05:30
Ankush Menat c80356c7c9 test: remove broken bom test
These variables never existed, the test was passing because of a bug in
timeout decorator https://github.com/frappe/frappe/pull/25491
2024-03-16 18:58:19 +05:30
Ankush MenatandGitHub f4d69f16c0 Merge pull request #40206 from barredterra/bulk-format-js
ci: add prettier to pre-commit
2024-03-10 20:01:49 +05:30
Ankush Menat 0b100782e2 chore: update blame ignore 2024-03-10 19:46:53 +05:30
Ankush Menat ec74a5e566 style: format js files 2024-03-10 19:45:40 +05:30
Ankush MenatandGitHub 38e88db2c9 fix: timesheet per billed state edge case (#40010)
If value is 100.0000x then it won't set status correctly but will set it the next time it's loaded from db.
2024-02-21 15:27:26 +00:00
Ankush MenatandGitHub 294f562fb9 build: Pin frappe requirements to ^16.0.0 (#39782) 2024-02-07 18:30:35 +05:30
Ankush MenatandGitHub 9636458ae1 ci: codecov changes (#39760)
- don't report coverage on individual PRs, instead do it daily
- update tokens for reporting
2024-02-06 10:21:46 +00:00
Ankush MenatandGitHub 798a0510e6 refactor: change server_action args (#39756)
args are now flat, no need to accept them as dict

ref: https://github.com/frappe/frappe/pull/24782
2024-02-06 08:04:28 +00:00
Ankush MenatandGitHub 56e5611337 chore: update CI badges (#39753) 2024-02-06 06:01:11 +00:00
Ankush MenatandGitHub dfda5ad673 ci: Add fake passing tests when CI is skipped (#39555) 2024-01-25 14:18:27 +05:30
Ankush MenatandGitHub ef7aefeb45 ci: split pre-commit and semgrep jobs (#39445) 2024-01-18 11:29:53 +05:30
Ankush MenatandGitHub ed927f102e perf: use unbuffered_cursor for stock_ageing report (#39399)
perf: use unbuffered_cursor for stock stock_ageing report

Unbuffered cursor lets us load one row at a time in memory from mysql instead of lowing all at once.

This makes it possible to run the report for large number of SLEs.
2024-01-16 11:43:35 +05:30
Ankush MenatandGitHub 2e03af7ac4 perf: use iterator for stock ageing report (#39346) 2024-01-15 14:35:28 +05:30
Ankush Menat ea1624fba5 chore: regen po files 2024-01-11 19:03:02 +05:30
Ankush MenatandGitHub d9e2427aa8 chore: migrate translations to gettext (#39313) 2024-01-11 15:46:55 +05:30
Ankush MenatandGitHub 432a14c84c refactor: remove usage of raise_exception (#39309) 2024-01-11 14:02:28 +05:30
Ankush MenatandGitHub 38c5ecf007 fix: set parent doctype on chart (#39286) 2024-01-10 12:26:03 +05:30
Ankush Menat 2178fdc65a fix: get_single_value doesn't support multiple fields 2024-01-10 10:39:45 +05:30
Ankush Menat b897225136 fix: Remove reference to non-existing doctype 2024-01-09 22:04:24 +05:30
Ankush Menat bb18ae82cf refactor: use db.get_single_value 2024-01-09 21:57:50 +05:30
Ankush MenatandGitHub e84c9f7c51 fix(UX): dont override framework's permission check messages (#39118) 2024-01-03 20:10:19 +05:30
Ankush MenatandGitHub 4415212a2d chore: use diff secret 2024-01-03 12:50:25 +05:30
Ankush MenatandGitHub 6401908f41 fix: Ignore UP on "allowed to transact with" (#39103)
If a customer is allowed to transact with some company it usually
doesn't imply that customer is somehow "linked with" that company.
2024-01-03 11:15:34 +05:30
Ankush MenatandGitHub 739434b727 perf: index item_code in bom explosion item (#39085) 2024-01-02 14:31:41 +05:30
Ankush MenatandGitHub 34d8bc4701 chore: disable v13 auto releases 2024-01-01 13:13:25 +05:30
Ankush MenatandGitHub 510fdf7bf6 fix(DX): capture tracebacks with context (#39060) 2024-01-01 13:10:03 +05:30
Ankush MenatandGitHub b71b0d5997 fix: remove bad defaults (#38986)
Child tables can't have a default.
2023-12-28 08:45:40 +00:00
Ankush MenatandGitHub 4feecb69d8 ci: lock old resolved issue/PRs 2023-12-27 19:31:45 +05:30
Ankush MenatandGitHub 2dc49c834a chore: fixup broken JSON files (#38915) 2023-12-22 07:36:27 +05:30
Ankush MenatandGitHub 787333896c perf: Drop unused/duplicate/sub-optimal indexes (#38884)
* ci: enable more checks

* perf: Drop unused/duplicate indexes
2023-12-21 20:09:10 +05:30
Ankush MenatandGitHub 9983283f95 perf: use estimated rows instead of actual rows (#38830) 2023-12-20 13:16:09 +05:30
Ankush MenatandGitHub 8d79365e0d perf: index return_against on delivery note (#38827)
There's a multi-column index but that's useful IFF all parts of column
are part of query.

return against on it's own is VERY unique because it's a primary key, we
don't need a multi-column index here.
2023-12-18 18:06:44 +05:30
Ankush MenatandGitHub fa1c7b663c fix: Reset SLA on issue doesn't work (#38789)
This was broken since last refactor where it was spun off to work with
all types of doctypes but client side code was never adapted.
2023-12-15 22:00:01 +05:30
Ankush MenatandGitHub eaf86a6461 fix: timezone aware SLA banner (#38745) 2023-12-14 15:53:57 +05:30
Ankush MenatandGitHub 6851c5042f Revert "fix(ux): don't update qty blindly" (#38728) 2023-12-13 23:14:20 +05:30
Ankush MenatandGitHub db9829e83f Merge pull request #38672 from barredterra/fix-leaderboard
fix: get data for leaderboard
2023-12-12 09:53:23 +05:30
Ankush MenatandGitHub 9611e9bd7f fix: ignore non-existing regional customizations (#38621) 2023-12-07 14:12:40 +00:00
Ankush Menat 6a47a2ceaf chore: remove unused cache=True 2023-12-06 20:53:55 +05:30
Ankush Menat 54f7cf59fd chore: version bump 2023-12-01 10:37:35 +05:30
Ankush MenatandGitHub 63313eef6f feat: enable automatic type annotations (#38452) 2023-11-30 08:23:48 +00:00
Ankush MenatandGitHub 1da9087cc4 refactor: Simpler log settings setup (#38449)
Depends on https://github.com/frappe/frappe/pull/23507
2023-11-30 07:58:55 +00:00
Ankush MenatandGitHub b11ae4b54c chore: remove dead link 2023-11-22 10:26:50 +05:30
Ankush MenatandGitHub 469ae2c7f1 perf: index return against for purchase invoice (#37881) 2023-11-03 15:57:52 +05:30
Ankush MenatandGitHub 7be578485e fix: force delete removed report (#37668) 2023-10-25 07:12:35 +00:00
Ankush MenatandGitHub d92eb0c603 Update initiate_release.yml 2023-10-24 15:25:03 +05:30
Ankush MenatandGitHub 08bc77fb95 Merge pull request #37614 from maharshivpatel/fix-new-logo
chore: new erpnext logo as per espresso
2023-10-20 17:53:41 +05:30
Ankush MenatandGitHub ce7ac29d06 fix: Correctly extract last message (#37602)
frappe.message_log now contains plain dictionary and not JSON strings,
so no need to load them.
2023-10-20 10:20:40 +00:00
Ankush Menat 40cdde8820 ci: seutp v15 config
https://github.com/frappe/frappe/issues/22817
2023-10-19 15:55:02 +05:30
Ankush MenatandGitHub 1d186efaab Merge pull request #37554 from frappe/e_com_perms
fix: e-commerce permissions for address
2023-10-18 11:08:16 +05:30
Ankush Menat c197d37404 Merge branch 'develop' into e_com_perms 2023-10-17 22:29:44 +05:30
Ankush Menat f4d74990fe fix: E-commerce permissions 2023-10-17 22:28:04 +05:30
Ankush MenatandGitHub 0931e93b4c Merge pull request #37552 from frappe/addr_fetch
fix: Ignore addr permission in internal code
2023-10-17 20:00:44 +05:30
Ankush Menat 7b9cedebf6 fix: Ignore addr permission in internal code 2023-10-17 19:00:52 +05:30
Ankush MenatandGitHub 6e3e4c8ade Merge pull request #37532 from frappe/cust_role
fix: keep customer/supplier website role by default
2023-10-16 17:29:54 +05:30
Ankush Menat d2096cfdb7 fix: keep customer/supplier website role by default 2023-10-16 16:55:09 +05:30
Ankush Menat 2790ae0744 fix: Update frappe.link_search usage
refer https://github.com/frappe/frappe/pull/22745
2023-10-16 15:43:14 +05:30
Ankush MenatandGitHub 5167fb2bae Merge pull request #37475 from iamrishiksahu/fix/#37231-doc-is-not-defined
fix: fixed the doc not defined issue.
2023-10-13 15:30:39 +05:30
Ankush Menat cea0d65fbd chore: disable beta release 2023-10-11 12:22:06 +05:30
Ankush MenatandGitHub 99d3d317fe Merge pull request #37453 from akhilnarang/fix-ci
fix: use mariadb instead of mysql
2023-10-11 11:53:47 +05:30
Ankush MenatandGitHub 2dc95e5d59 fix: trial balance report freezes when adding filters (#37264)
fix: Only add onclick if correct data is returned

workaround for https://github.com/frappe/datatable/issues/177
2023-09-27 12:34:40 +05:30
Ankush MenatandGitHub 4555543920 Merge pull request #37249 from akhilnarang/drop-redundant-check
Drop redundant check
2023-09-26 21:54:36 +05:30
Ankush Menat bf01f3227f chore: remove import script
Unused
2023-09-20 16:22:49 +05:30
Ankush MenatandGitHub dd24a1b36e chore: remove obsolete welcome page (#37143) 2023-09-18 16:43:13 +00:00
Ankush Menat d0eac47483 fix: stock summary page 2023-09-18 21:49:52 +05:30
Ankush Menat 7045810bae refactor: move clear data button to user action 2023-09-15 20:47:28 +05:30
Ankush MenatandGitHub 61778d5058 ci: restart bench before final migrate (#37104)
Also remove few patches which are now handled automatically
2023-09-15 16:51:56 +05:30
Ankush MenatandGitHub 2f7b3bbfad ci: fix patch test (#37079)
* ci: fix patch test

* ci: use v13 DB as starting point for patch

* ci: remove payments from patch test

* ci: print bench logs after tests

* ci: restart bench on each update

* ci: patch test v13db > v14 > develop

and when v15 is out v13db > v14 > v15 > develop
2023-09-14 14:46:45 +05:30
Ankush MenatandGitHub 4940edc386 Merge pull request #37087 from frappe/remove_social_media_post_module
refactor!: remove social media post module
2023-09-14 12:16:57 +05:30
Ankush Menat 2dbdc402bb refactor!: remove social media post module 2023-09-14 12:11:23 +05:30
Ankush MenatandGitHub 0fadde037a Merge pull request #37086 from frappe/remove_twitter
refactor!: remove twitter integration
2023-09-14 11:49:03 +05:30
Ankush Menat 2135b0132d refactor!: remove twitter integration 2023-09-14 11:25:49 +05:30
Ankush MenatandGitHub f39a9145e9 Merge pull request #37008 from barredterra/migrate-translations
chore(translations): prisoner exchange with frappe
2023-09-10 10:27:49 +05:30
Ankush MenatandGitHub 0f065fe280 Merge pull request #36984 from resilient-tech/remove-unused-var
chore: remove unused variable `job`
2023-09-06 14:49:17 +05:30
Ankush MenatandGitHub e75b72ae2d Merge pull request #36856 from frappe/desk_user
refactor!: Lower all perm to `Desk User`
2023-08-29 20:55:55 +05:30
Ankush Menat 4856e11549 chore: update integrations workspace 2023-08-29 15:51:40 +05:30
Ankush Menat 0d22fe02be refactor!: Lower all perm to Desk User 2023-08-28 22:42:14 +05:30
Ankush MenatandGitHub ab6e600b9e fix: demo data setup w/o territory (#36798)
This can fail because it's translated.
2023-08-24 12:23:33 +05:30
Ankush MenatandGitHub 86cac1e1d2 fix: add missing items labels back (#36737)
[skip ci]
2023-08-21 15:59:52 +05:30
Ankush Menat 6bf79f18c8 chore: skip demo banner if another one present 2023-08-17 12:37:29 +05:30
Ankush MenatandGitHub 8b57979e9c fix: clear demo data with unknown columns (#36637) 2023-08-14 08:46:48 +00:00
Ankush MenatandGitHub e023e33a15 fix(demo): drop parent item group (#36636)
This is translated according to user language, so "All Item Groups" might not
exist on site.

The code already finds root item group without doing anything.

towards https://github.com/frappe/erpnext/issues/36635
2023-08-14 13:46:16 +05:30