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

[16.0] [ADD] compute_field_after_install #3157

Open
wants to merge 4 commits into
base: 16.0
Choose a base branch
from

Conversation

paradoxxxzero
Copy link
Contributor

@paradoxxxzero paradoxxxzero commented Jan 6, 2025

Following #2774 this is compute_field_after_install migrated to 16.0 with added fixes:

  • Computation grouping for multiple field with same compute function (i.e. sale.order._compute_amounts)
  • Compute last ids first to minimize data inconsistency
  • Global computed_fields_batch_size config
  • Per model computed_fields_batch_size__<model_name> config
  • Per field computed_fields_batch_size__<model_name>__<field_name> config
  • Skip of precompute fields
  • Improved readmes and unit tests

@paradoxxxzero paradoxxxzero force-pushed the 16.0-add-compute_field_after_install branch from b3f5bf3 to 93d0f48 Compare January 6, 2025 16:24
@paradoxxxzero paradoxxxzero marked this pull request as ready for review January 6, 2025 16:50
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.

2 participants