[IMP]Contract: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.
[IMP] Removed the xml actions and added action in py to filter the data according to the used contracts and same added feature to use 'action' as well as 'action_id'