Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: add in some indexes (backport #40590) #40604

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 22, 2024

Add in some missing indices, adding them down dropped some calls down from ~864 seconds to ~20 seconds - support ticket 11452

Sales Invoice Item.purchase_order
Delivery Note Item.purchase_order


This is an automatic backport of pull request #40590 done by [Mergify](https://mergify.com).

`Sales Invoice Item.purchase_order`
`Delivery Note Item.purchase_order`

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 1cd38c8)

# Conflicts:
#	erpnext/selling/doctype/sales_order_item/sales_order_item.json
#	erpnext/stock/doctype/delivery_note_item/delivery_note_item.json
Copy link
Contributor Author

mergify bot commented Mar 22, 2024

Cherry-pick of 1cd38c8 has failed:

On branch mergify/bp/version-14-hotfix/pr-40590
Your branch is up to date with 'origin/version-14-hotfix'.

You are currently cherry-picking commit 1cd38c860a.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   erpnext/selling/doctype/sales_order_item/sales_order_item.json
	both modified:   erpnext/stock/doctype/delivery_note_item/delivery_note_item.json

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@s-aga-r s-aga-r removed the conflicts label Mar 22, 2024
@s-aga-r s-aga-r merged commit 390d3a6 into version-14-hotfix Mar 22, 2024
10 checks passed
@s-aga-r s-aga-r deleted the mergify/bp/version-14-hotfix/pr-40590 branch March 22, 2024 03:21
frappe-pr-bot pushed a commit that referenced this pull request Mar 27, 2024
# [14.66.0](v14.65.8...v14.66.0) (2024-03-27)

### Bug Fixes

* achieved targets for sales partners ([f9ab763](f9ab763))
* Add default finance book check in P&L statement ([4485121](4485121))
* incorrect total qty in job card ([fb252ec](fb252ec))
* pass empty string email content of pos invoice ([ee7bd98](ee7bd98))
* permissions during bulk transaction logs ([99faafb](99faafb))
* rate not fetching from the item price ([9b3c4ac](9b3c4ac))
* rate reset to zero ([2f839fb](2f839fb))
* remove microsecond from posting datetime ([#40017](#40017)) ([c3f9338](c3f9338))
* show correct variance for durations with no vouchers ([fe3bee4](fe3bee4))
* style for tax breakup ([e922ac7](e922ac7))
* use Text Editor for rendering tax breakup table ([bba1ac5](bba1ac5))
* validate gl for previous fiscal year ([82b6133](82b6133))
* wrong buying amount if delivered and billed qty varies ([2b31113](2b31113))

### Features

* bisect doctype ([5ad3918](5ad3918))
* nodes doctype ([6afb6ff](6afb6ff))

### Performance Improvements

* add in some indexes (backport [#40590](#40590)) ([#40604](#40604)) ([390d3a6](390d3a6))
* new column posting datetime in SLE to optimize stock ledger related queries ([5e68ebd](5e68ebd))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.66.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants