3 Commits

Author SHA1 Message Date
mandreshope
9dad7f9d9f feat: Integrates ObjectBox for stock picking persistence
Enables offline capabilities and improved data access for stock picking records.
API calls now prioritize local ObjectBox storage when offline and persist fetched data upon successful remote retrieval.
Introduces comprehensive model-to-entity conversion logic for stock picking data and its related models.
Updates UI components and state management to directly consume ObjectBox entities, optimizing data display and interaction.
Adjusts ObjectBox entity schema for improved flexibility and adds utility getters.
2025-07-30 15:38:26 +03:00
mandreshope
e22a49f9bc feat: Adds ObjectBox entities for stock picking
Introduces a comprehensive set of ObjectBox entities to support local storage and management of stock picking data.

This includes:
*   `StockPickingRecordEntity`: The primary entity for stock picking records, encompassing various attributes and relations.
*   Related entities: `StockPickingCompanyEntity`, `StockPickingPartnerEntity`, `StockPickingLocationEntity`, and `StockPickingTypeEntity` for associated data.
*   Move entities: `MoveLineWithoutPackageEntity` and `MoveWithoutPackageEntity` for detailed product movements within a picking record, including relations to product data.

These entities enable efficient local data persistence and querying for stock picking operations.
2025-07-30 14:26:39 +03:00
mandreshope
3f9f840a1c refactor: Refactors StockPicking models; adds scanner navigation
Moves `StockPickingCompanyModel`, `StockPickingPartnerModel`,
`StockPickingLocationModel`, and `StockPickingTypeModel` to
`stock_picking_record_model.dart`. This consolidates related schema
definitions for improved organization and clarity.

Enables the floating action button on the reception details page
to navigate to the scanner route, streamlining the workflow.
2025-07-30 14:22:03 +03:00