Fire event when a record is removed from subpanel

maybe its a particulat question…i need to sum some quantities and i need to update it when a record is added or removed from subpanel…

Any way to do this?


you can take a look at two hooks after_relationship_add and after_relationship_delete

best regards