oca-ocb-accounting/odoo-bringout-oca-ocb-account_tax_python
Ernad Husremovic ddf6c0d801 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:18 +02:00
..
account_tax_python Initial commit: Accounting packages 2025-08-29 15:20:47 +02:00
doc Optimize refresh_package_links.py with local hash comparison 2025-08-30 19:28:18 +02:00
pyproject.toml Initial commit: Accounting packages 2025-08-29 15:20:47 +02:00
README.md Initial commit: Accounting packages 2025-08-29 15:20:47 +02:00

Define Taxes as Python Code

A tax defined as python code consists of two snippets of python code which are executed in a local environment containing data such as the unit price, product or partner.

"Applicable Code" defines if the tax is to be applied.

"Python Code" defines the amount of the tax.

Installation

pip install odoo-bringout-oca-ocb-account_tax_python

Dependencies

This addon depends on:

  • account

Manifest Information

  • Name: Define Taxes as Python Code
  • Version: 1.0
  • Category: Accounting/Accounting
  • License: LGPL-3
  • Installable: False

Source

Based on OCA/OCB branch 16.0, addon account_tax_python.

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