Feature/variable hourly dist table
Compare changes
Files
3- emanuel buzey authored
- Implemented CUPS validation using the stdnum library to ensure that each CUPS adheres to the correct format and standards. - Added validation for the sum of coefficients per row to equal 1, incorporating a tolerance margin to account for floating-point arithmetic imprecision. This ensures accurate distribution table data import. - Introduced a new boolean field in the DistributionTable model to track error occurrences during batch processing of import jobs. This change addresses the asynchronous nature of the import process, allowing for the effective halting of the operation upon detecting errors in any batch.
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -9,6 +9,10 @@ import werkzeug
@@ -9,6 +9,10 @@ import werkzeug
@@ -36,7 +40,7 @@ class DistributionTableImportWizard(models.TransientModel):
@@ -36,7 +40,7 @@ class DistributionTableImportWizard(models.TransientModel):
@@ -45,19 +49,48 @@ class DistributionTableImportWizard(models.TransientModel):
@@ -45,19 +49,48 @@ class DistributionTableImportWizard(models.TransientModel):
@@ -97,9 +130,110 @@ class DistributionTableImportWizard(models.TransientModel):
@@ -97,9 +130,110 @@ class DistributionTableImportWizard(models.TransientModel):