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

fix: Fetch thumbnail from Item master instead of regenerating #28005

Merged
merged 5 commits into from
Oct 20, 2021

Conversation

marination
Copy link
Collaborator

@marination marination commented Oct 19, 2021

Issue:

  • Due to thumbnail generation in patch, patch slowed down a lot. File is created , etc. which slows things down

Fix:

  • Separate patch to update thumbnail field of website item from item master
  • In create_website_items, only make web items, nothing else. If web item exists, skip the item.
  • Added a progress bar to create_website_items

@marination marination added the e-commerce-fix E-commerce PRs that need to be front ported to develop label Oct 19, 2021
- Patch will just fetch thumbnails if website items are created, else it will create new website items
- Thumbnail updation handled via different patch
- create_website_items will only have one purpose
- added progress bar to `create_website_items`
- code cleanup
@marination
Copy link
Collaborator Author

@Mergifyio backport version-13-pre-release

@mergify
Copy link
Contributor

mergify bot commented Oct 20, 2021

backport version-13-pre-release

🟠 Waiting for conditions

  • merged [:pushpin: backport requirement]

@mergify
Copy link
Contributor

mergify bot commented Oct 20, 2021

backport version-13-pre-release

✅ Backports have been created

marination added a commit that referenced this pull request Oct 20, 2021
…se/pr-28005

fix: Fetch thumbnail from Item master instead of regenerating (backport #28005)
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
fix: Fetch thumbnail from Item master instead of regenerating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e-commerce-fix E-commerce PRs that need to be front ported to develop
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant