Skip to content

Commit

Permalink
"Updated module and added new API description"
Browse files Browse the repository at this point in the history
This commit includes the update of the 'terrabit_sync' module method from 'invalidate_cache()' to 'invalidate_recordset()'. Additionally, a new API description file ('extended_api.yaml') has been added for the 'deltatech_marketplace_extended' addon. The new file contains detailed endpoint structures for the server.
  • Loading branch information
dhongu committed Dec 23, 2023
1 parent 1842802 commit 21642f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltatech_service_equipment_base/models/service_meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _compute_previous_counter_value(self):
if previous:
reading.previous_counter_value = previous.counter_value
reading.difference = reading.counter_value - reading.previous_counter_value
# self.invalidate_cache() # asta e solutia ?
# self.invalidate_recordset() # asta e solutia ?

@api.depends("counter_value", "previous_counter_value")
def _compute_difference(self):
Expand Down

0 comments on commit 21642f5

Please sign in to comment.