[IMP] Check the action context in postprocess_and_fields
[IMP] Add a stat button on contract form view to see all the related invoices