Skip to content
Snippets Groups Projects
Commit 1d2da73b authored by daniquilez's avatar daniquilez
Browse files

[WIP] :construction: For now all modifications stay paused. Must manually activate.

parent 70afb81d
No related branches found
No related tags found
2 merge requests!504Release 2025-03-11,!502Refactor module energy communities service invoicing
...@@ -95,9 +95,10 @@ class ContractUtils(Component): ...@@ -95,9 +95,10 @@ class ContractUtils(Component):
new_service_invoicing_id = sale_order_utils.create_service_invoicing_initial( new_service_invoicing_id = sale_order_utils.create_service_invoicing_initial(
**service_invoicing_params **service_invoicing_params
) )
# TODO:
# Do we really want new contract to be in_progress on a modification?? # Do we really want new contract to be in_progress on a modification??
if initial_status == "in_progress" and not self.work.record.is_free_pack: # if initial_status == "in_progress" and not self.work.record.is_free_pack:
self.set_contract_status_active() # self.set_contract_status_active()
self._setup_successors_and_predecessors(new_service_invoicing_id) self._setup_successors_and_predecessors(new_service_invoicing_id)
return new_service_invoicing_id return new_service_invoicing_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment