Skip to content

update tasks#1

Open
anasazamov wants to merge 147 commits intook7uz:mainfrom
anasazamov:main
Open

update tasks#1
anasazamov wants to merge 147 commits intook7uz:mainfrom
anasazamov:main

Conversation

@anasazamov
Copy link
Copy Markdown

@anasazamov anasazamov commented Aug 26, 2024

Summary by Sourcery

Refactor and enhance the task system for updating sales and orders from various marketplaces. Introduce a new Warehouse model and update serializers and views to support marketplace-specific data handling. Improve the admin interface and update Celery configuration for periodic task execution.

New Features:

  • Introduce a new Warehouse model to manage warehouse-related data, including name, country, region, and shelf information.
  • Add new tasks for updating sales and orders from Ozon, Wildberries, and Yandex Market using Celery.
  • Implement new serializers and views to handle sales, orders, and stock data for different marketplaces.

Enhancements:

  • Refactor existing tasks to use the new Warehouse model and improve data handling for marketplace updates.
  • Update the admin interface to include new models and provide better search and display capabilities for product sales, orders, and stocks.
  • Modify serializers to support filtering and counting products based on marketplace type and date range.

Build:

  • Update Celery configuration to include a beat schedule for periodic task execution.

Chores:

  • Remove unused migration files and update existing migrations to reflect changes in the database schema.

Summary by CodeRabbit

  • New Features

    • Introduced new Celery tasks for managing product recommendations and shipment priorities, enhancing inventory management efficiency.
    • Added new API views for handling recommendations, in-production items, and warehouse data, improving user experience and data accessibility.
    • Enhanced API endpoints with new parameters for better filtering and sorting of company-related data.
    • Implemented a new task scheduling mechanism for better management of marketplace data updates.
    • Expanded the Django admin interface with new classes for various product-related models, improving data management capabilities.
    • Introduced new data models to support enhanced inventory and product management features.
    • Added new serializers for better data handling and validation in company operations.
    • Introduced a new function for reverse geocoding to retrieve location information based on coordinates.
    • Added structured JSON files for clusters and warehouses, providing comprehensive data sources for managing geographical information.
  • Bug Fixes

    • Improved error handling in various tasks to ensure smoother execution and data processing.
  • Chores

    • Updated configuration settings for Celery task scheduling and application management to optimize performance.
    • Revised time zone settings and contact information in application configurations.
    • Reordered dependencies in the requirements file and added new dependencies for enhanced functionality.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant