oca-ocb-core/odoo-bringout-oca-ocb-base_import
Ernad Husremovic 5d1ce43101 Optimize refresh_package_links.py with local hash comparison
- Added local hash comparison to prevent unnecessary GitHub URL generation
- Only build GitHub mappings for packages that actually changed commit hashes
- Reduced file updates from 1758/2075 to 1/2075 files (99.94% improvement)
- Implemented get_current_hash_from_content() to extract hashes from existing URLs
- Added build_local_hash_mapping() for fast local git hash lookup
- Performance improvement: only fetch git hashes when changes are detected

🤖 assisted by claude
2025-08-30 19:28:20 +02:00
..
base_import Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
doc Optimize refresh_package_links.py with local hash comparison 2025-08-30 19:28:20 +02:00
pyproject.toml Initial commit: Core packages 2025-08-29 15:20:45 +02:00
README.md Initial commit: Core packages 2025-08-29 15:20:45 +02:00

Base import

New extensible file import for Odoo

Re-implement Odoo's file import system:

  • Server side, the previous system forces most of the logic into the client which duplicates the effort (between clients), makes the import system much harder to use without a client (direct RPC or other forms of automation) and makes knowledge about the import/export system much harder to gather as it is spread over 3+ different projects.

  • In a more extensible manner, so users and partners can build their own front-end to import from other file formats (e.g. OpenDocument files) which may be simpler to handle in their work flow or from their data production sources.

  • In a module, so that administrators and users of Odoo who do not need or want an online import can avoid it being available to users.

Installation

pip install odoo-bringout-oca-ocb-base_import

Dependencies

This addon depends on:

  • web

Manifest Information

  • Name: Base import
  • Version: 2.0
  • Category: Hidden/Tools
  • License: LGPL-3
  • Installable: True

Source

Based on OCA/OCB branch 16.0, addon base_import.

License

This package maintains the original LGPL-3 license from the upstream Odoo project.

Documentation

  • Overview: doc/OVERVIEW.md
  • Architecture: doc/ARCHITECTURE.md
  • Models: doc/MODELS.md
  • Controllers: doc/CONTROLLERS.md
  • Wizards: doc/WIZARDS.md
  • Install: doc/INSTALL.md
  • Usage: doc/USAGE.md
  • Configuration: doc/CONFIGURATION.md
  • Dependencies: doc/DEPENDENCIES.md
  • Troubleshooting: doc/TROUBLESHOOTING.md
  • FAQ: doc/FAQ.md