[IMP]Added warning message on confirmation of sales order if analytic account on analytic plan and contract is in state 'close/cancelled/pending'.
create a new act_window action for account.analytic.account and pending/closed/cancelled contract which display in tree view, when going through warrning msg.