summaryrefslogtreecommitdiff
path: root/archaeological_files/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r--archaeological_files/models.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py
index 8546b8933..b91ea7941 100644
--- a/archaeological_files/models.py
+++ b/archaeological_files/models.py
@@ -1251,6 +1251,13 @@ class File(
values["job_non_permanent_cost"] = 0
for k in ["non_permanent_ground_cost_planned", "non_permanent_cost_planned"]:
values["job_non_permanent_cost"] += values.get(k, 0)
+ if self.operation_type_for_royalties:
+ values.update({
+ "operation_type_for_royalties_increase_coefficient": self.operation_type_for_royalties.increase_coefficient,
+ "operation_type_for_royalties_category": self.operation_type_for_royalties.category,
+ "operation_type_for_royalties_increased_final_value": self.operation_type_for_royalties.increased_final_value,
+ })
+
return values
def get_values(self, prefix="", no_values=False, filtr=None, **kwargs):